Comment 2 for bug 903888

Revision history for this message
ScottPurcell (scott-texastwister) wrote :

I'm seeing what may be the same bug (although my error message is different) in Ubuntu 12.04.

smbclient connects immediately:

sudo smbclient //pc1n7i01d03.us.dell.com/dttuatnas2 -A /etc/.smb_creds.txt

But mount.cifs fails (with "mount error(13): Permission denied"):

sudo mount.cifs //pc1n7i01d03.us.dell.com/dttuatnas2 /mnt/ -o credentials=/etc/.smb_creds.txt

my credentials file is formatted as follows (with the proper values, of course) and both smbclient and mount.cifs were instructed to use this file:

username=mynamehere
password=password
domain=MyDomain

I remember on a previous occasion (http://ubuntuforums.org/showthread.php?t=1420895) having resolved a similar problem by including a mount option "noserverino". I've tried that to no effect. I've also tried "sec=ntlmv2"

The syslog contains this message in response to each failed attempt:

CIFS VFS: cifs_mount failed w/return code = -13