RE: Samba Shares via Command Line? (Oh, and viewing pictures…

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Craig White
Date:  
To: Main PLUG discussion list
Subject: RE: Samba Shares via Command Line? (Oh, and viewing pictures)
On Wed, 2009-01-14 at 15:40 +0000, Lisa Kachold wrote:
> Hey Tuna! [Award winning HackFester!]
>
> There are two options for command line shares access:
>
> 1) smbclient:
>
> smbclient //ip-address//e$ -U ntusername
>
> 2) cifs mount
>
> mkdir -p /mnt/test
> mount -t cifs //server-ip/share username=monk,password=secreat /mnt/test
> cd /mnt/test
> mount.cifs //192.168.1.6/ssh-vnc /mnt/test/ -o user=asil.kit,dom=obnosis.com

----
for those that don't like putting usernames/passwords into bash history
or readable /etc/fstab files, you can use credentials="~/.some_file" and
put the username/password into that file instead.

As for Matt's response, smbfs is ancient, unmaintained code and may not
be possible on most current distributions in favor of the cifs module.

For reasons discussed recently on Samba list, smbclient connections are
actually way faster than a cifs mount but the interface may not be to
everyone's liking.

Craig

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss