You are not logged in.
Trying to mount a share on a Windows Server I have in my home.
When I use:
smbclient -L SERVERNAME -U administratorand I enter the password after the prompt
It returns a list of all the shares in the server like so:
Domain=[SERVERNAME] OS=[Windows Server 2003 3790 Service Pack 2] Server=[Windows Server 2003 5.2]
Sharename Type Comment
--------- ---- -------
SHARE1 Disk Shared folder
SHARE2 Disk Shared folder
SHARE3 Disk Shared folder
Domain=[SERVERNAME] OS=[Windows Server 2003 3790 Service Pack 2] Server=[Windows Server 2003 5.2]
Server Comment
--------- -------
Workgroup Master
--------- -------but when I try to mount of the shares with
# mount -t cifs //SERVERNAME/SHARE1 /mnt/mountpoint -o user=administrator,password=passwordit returns an error
mount error: could not resolve address for SERVERNAME: Unknown errorAm I doing something wrong?
Thanks,
Offline
the SERVERNAME in these commands is a netbiosname and can differ from the hostname.
Smbclient seems to use it's own method to resolve netbiosnames, possibly the mount command uses a different method.
Try the mount command with the ip-address of the server instead of SERVERNAME to verify mounting the share works.
If the share can be mounted by //ip-address/SHARE1 , you may need additional options for the mount command to make netbios name resolution work correctly.
check man mount.cifs .
edit : typo's
Last edited by Lone_Wolf (2013-08-10 12:40:47)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline