Originally posted by haschka
I actually don't know, because i don't have 10.1, but since it includes Samba "smbclient" should work, if it doesn't you could compile the source from www.samba.org.
I once did this on OSX and it worked, but I would be careful doing it on 10.1 because it already should have Samba.