[linux-cifs-client] Problem mounting Win2k shares with mount.cifs

Roberto Salomon salomon at techisa.srv.br
Thu Apr 15 12:27:57 GMT 2004


I have been doing some tests regarding the problem I have been facing
with mount.cifs and I was able to solve the problem:

The original problem is that when attempting to mount a share on a Win2K
box from a Linux workstation with the command:

mount -t cifs //server/share /media/smb -o
user=TestUser,password=password,domain=TESTDOMAIN

I was getting the following error:

mount error 13 = Permission denied.

There was no problem in performing the mount using smbfs so the user and
password were valid.

I just tried a hunch and it worked. The working syntax is:

mount -t cifs //server/share/media/smb -o
user=TestUser/TESTDOMAIN,password=password

Apparently, mount.cifs does not compound the domain name with the
username when attempting to logon even when the domain is specified by
the appropriate parameter. This results in an invalid logon from the
server's perspective resulting in the "Permission denied" response.

Would this behavior be considered a bug or a restriction?

Thanks,

Salomon



More information about the linux-cifs-client mailing list