Hi,

i cannot mount cifs shares on a NAS,trying from two sles 10 sp4 boxes (kernel 2.6.16.60-0.93.1-smp, 64bit, cifs-mount-3.0.36-0.13.20.1). I know that i could one or two months ago. The command i issue is:

======================================
pc52974:~ # mount -t cifs //nas/idg-2 /mnt/idg-2/ -o username=bernd.lentes,workgroup=scidom,rw
Password:
mount error(22): Invalid argument
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)

In my syslog appears (after echo 1 > /proc/fs/cifs/cifsFYI to make the output more verbose):
fs/cifs/cifsfs.c: Devname: //nas/idg-2 flags: 64
fs/cifs/connect.c: CIFS VFS: in cifs_mount as Xid: 7 with uid: 0
fs/cifs/connect.c: Domain name set
fs/cifs/connect.c: Username: bernd.lentes
fs/cifs/connect.c: UNC: \\nas\idg-2 ip: 146.107.8.8
fs/cifs/connect.c: Existing tcp session with server found
fs/cifs/connect.c: Existing smb sess found (status=1)
fs/cifs/connect.c: file mode: 0x7f7 dir mode: 0x1ff
fs/cifs/transport.c: For smb_command 117
fs/cifs/transport.c: Sending smb of length 74
fs/cifs/connect.c: rfc1002 length 0x42
fs/cifs/connect.c: disk share connection
fs/cifs/connect.c: Tcon flags: 0x1
fs/cifs/connect.c: CIFS Tcon rc = 0
fs/cifs/cifssmb.c: In QFSDeviceInfo
fs/cifs/transport.c: For smb_command 50
fs/cifs/transport.c: Sending smb of length 68
fs/cifs/connect.c: rfc1002 length 0x44
fs/cifs/cifssmb.c: In QFSAttributeInfo
fs/cifs/transport.c: For smb_command 50
fs/cifs/transport.c: Sending smb of length 68
fs/cifs/connect.c: rfc1002 length 0x50
fs/cifs/cifssmb.c: In GetSrvInodeNum for
fs/cifs/transport.c: For smb_command 50
fs/cifs/transport.c: Sending smb of length 74
fs/cifs/connect.c: rfc1002 length 0x27
fs/cifs/connect.c: invalid transact2 word count
fs/cifs/netmisc.c: !!Mapping smb error code 87 to POSIX err -22 !!
fs/cifs/cifssmb.c: error -22 in QueryInternalInfo
fs/cifs/connect.c: CIFS VFS: leaving cifs_mount (xid = 7) rc = -22
CIFS VFS: cifs_mount failed w/return code = -22
===============================

Trying the same from a SLES 10 SP2 box works fine.

Any ideas ?


Bernd