Why isn't this smbmount attempt working?
Posted
by
Max Williams
on Super User
See other posts from Super User
or by Max Williams
Published on 2010-08-10T10:56:09Z
Indexed on
2011/01/05
23:56 UTC
Read the original article
Hit count: 261
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
© Super User or respective owner