View Full Version : [ubuntu] Issue with mount.cifs

November 25th, 2011, 11:55 AM
Dear all,
I am having a hard time figuring out an issue while trying to mount a windows share in Ubuntu 10.04.

The problem is I am not able to mount a windows share using a serverLocalUser present in the windows-server. But I am able to use smbclient to access that same share using that same serverLocalUser. I am also able to mount the same share using a domain user who also has permission for that folder.

sudo mount.cifs // /mnt/share/ -o username=serverLocalUser,password=passcode
mount error(13): Permission denied
Refer to the mount.cifs(8 ) manual page (e.g. man mount.cifs)

Troubleshooting done:
The following works:

smbclient // -U localServerUser
sudo mount.cifs // /mnt/share/ -o username=domainUser,password=passcode
Mounting using the localServerUser using nautilus (which uses smbclient internally)

The following does not works:

sudo mount.cifs // /mnt/share/ -o username=serverLocalUser,password=passcode,domain= WORKGROUP
sudo mount.cifs // /mnt/share/ -o username=\serverLocalUser,password=pas scode

Thanks in advance for your help.