I can successfully access one of our local samba shares, which is on a windows pc (called marina) as follows:
$ sudo /usr/bin/smbclient \\\\marina\\resource_library <my password>
Domain=[MARINA] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
smb: \>
So, that works. I'm now trying to mount the above location (the resource_library folder on marina) to /mnt/resource_library (as a read only folder), but it keeps failing - i've tried a few variations of specifying the location:
$ sudo smbmount \\\\marina\\resource_library /mnt/resource_library -o username=max,password=<my password>,r
mount error: could not resolve address for marina: No address associated with hostname
No ip address specified and hostname not found
and
$ sudo smbmount //marina/resource_library /mnt/resource_library -o username=max,password=<my password>,r
mount error: could not resolve address for marina: No address associated with hostname
No ip address specified and hostname not found
and both of the above with MARINA instead of marina. It's bound to be some dumb mistake i'm making, can anyone see it?
cheers, max
sudos are un-required forsmbclient. You don't need to have root privileges in order to runsmbclient. (It may be different withsmbmount...) – pipitas Aug 11 '10 at 12:16smbclientyou can use//servername/sharename(single forward- instead of double backslashes) to address the resources... – pipitas Aug 11 '10 at 12:18