Pretty much everything you do as a samba client is done through the program
smbclient (funnyily enough :-)
The smbprint script included with samba is just a little wrapper around the
smbclient program, and if you look at the last line you see the typical
form of a smbclient invocation (at least for a printer):
smbclient "\\\\$server\\$service" $password -U $guser -N -P >> $logfile
To see the list of available shares on a server, try:
smbclient -L \\\\$server -U $user
then to connect to a service (e.g. a shared directory)
smbclient \\\\$server\\$sharename -U $user
And you end up in an ftp-like environment where you can move, copy files
and so forth.
A nice-ish front end is tksmb (at least it works), run it with TkSmb if you
have it installed (note case)
Also interesting is smb2www (it is in Debian, or get it from net) which
allows you to navigate your smb shares via a web-front end. I found it
awkward, and the author's documentation is full of caveats that security is
your responsibility, but i liked the idea.
m
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!