[Samba] mounting as cifs not working in Debian, works in Windows though

H.S. hs.samix at gmail.com
Wed Jul 28 12:39:53 MDT 2010

I have a Debian machine running Unstable acting as a samba server. The 
server was installed a few days ago after a reinstall of the OS. The 
older installation's samba configs were backed up and restored after 

The Samba shares are accessible if I access them from a Windows 7 
client. The shares, however, cannot be accessed from a Debian client 
(newly installed amd64 Testing). The error I get from the Debian client 
is the following:
~$ sudo mount -v -t cifs -o user=<username> //sambaserver/Share ~/mnt/Share
Password: .... <username's password here> ....
mount.cifs kernel mount options: 
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

I looked at the man page for mount.cifs and I have also tried the 
following with the same results:
$ sudo mount -v -t cifs -o user=SMBWG/<username> //sambaserver/Share 
(SMBWG is the workgroup)
$ sudo mount -v -t cifs -o user=home.pvt/<username> //sambaserver/Share 

What am I missing here?


Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.

More information about the samba mailing list