in the following examples replace 127.0.0.1 with the ip address of the samba server or use the server name instead of the ip address.
- Code: Select all
smbclient -L 127.0.0.1
to connect to a share
- Code: Select all
/usr/bin/smbclient \\\\127.0.0.1\\public mypasswd
or
- Code: Select all
/usr/bin/smbclient \\\\mysambaserver\\public mypasswd
for a good description see
http://tldp.org/HOWTO/SMB-HOWTO-8.html
This is the smbclient Linux man page
http://www.die.net/doc/linux/man/man1/smbclient.1.html