[linux-cifs-client] Problem mouting Win2k shares with cifsmount

Roberto Salomon salomon at techisa.srv.br
Fri Apr 2 11:56:54 GMT 2004


I have been experiencing a problem when accessing Win2k shares using
cifsmount that has already been reported but no solution has,
apparently, been posted.

When mounting a Win2K share from a Linux workstation using the command:

mount -t cifs //192.168.200.54/test /mnt/smb -o user=TestUser

I get the error:

mount error 22 = Invalid argument

dmesg reports the following errors:

CIFS VFS: Send error in SessSetup = -13
CIFS VFS: cifs_mount failed w/return code = -13

Using "mount -t smbfs //192.168.200.54/test /mnt/smb -o
username=TestUser" correctly mounts the share confirming that TestUser
has access to the share.

Using Ethereal to sniff the network shows that when using cifs, the
Linux Win2k box replies with a "Session Setup AndX Response, Error:
STATUS_LOGON_FAILURE"

One noticeable difference between the cifs and the smbfs "Session Setup
AndX Request"  frames is that smbfs sends the encrypted password both as
ANSI and as Unicode whereas cifs only sends the password in Unicode.
Could this be the cause of the problem?

I need to use cifs due to unicode character translations required in
Brazilian Portuguese that are not supported under smbfs.

Any ideas?

-- 
Roberto F. Salomon
Gerente de Projetos
Techisa do Brasil Ltda. http://www.techisa.srv.br
55 61 340-6266



More information about the linux-cifs-client mailing list