I'm currently struggeling with a cifs mount from a windows 2003 server. The
share can be mounted with mount.cifs, but despite using the rw mount option, the
mountpoint can only be accessed read-only. Trying to write on the share results
in a permission denied error. This happens on a 2.4.21 kernel with the shipped
CIFS kernel module.
The mount command used is:
mount.cifs //<w2k3server>/<share>$ /mnt \
-o
username=<user>,workgroup=<workgroup>,password=<pwd>,file_mode=0664,dir_mode=0775,uid=<localuid>,gid=<localgid>,rw
The kernel output after enabling extended debugging:
dir.c: CIFS VFS: in cifs_lookup as Xid: 108299 with uid: 0
dir.c: parent inode = 0xe754c200 name is: bla and dentry = 0xef5317a0
dir.c: len 4
dir.c: NULL inode in lookup
dir.c: Full path: \bla inode = 0x00000000
inode.c: CIFS VFS: in cifs_get_inode_info as Xid: 108300 with uid: 0
inode.c: Getting info on \bla
cifssmb.c: In QPathInfo path \bla
transport.c: For smb_command 50
transport.c: Sending smb of length 82
connect.c: Peek length rcvd: 36 with smb length: 39
connect.c: Mid 0xc7a8 matched - waking up
transport.c: Unexpected signature received from server
Status code returned 0xc0000034 NT_STATUS_OBJECT_NAME_NOT_FOUND
netmisc.c: !!Mapping smb error code 2 to POSIX err -2 !!
cifssmb.c: Send error in QPathInfo = -2
inode.c: CIFS VFS: leaving cifs_get_inode_info (xid = 108300) rc = -2
dir.c: CIFS VFS: leaving cifs_lookup (xid = 108299) rc = 0
dir.c: CIFS VFS: in cifs_create as Xid: 108301 with uid: 0
dir.c: len 4
transport.c: For smb_command 162
transport.c: Sending smb of length 94
connect.c: Peek length rcvd: 36 with smb length: 39
connect.c: Mid 0xc7a9 matched - waking up
transport.c: Unexpected signature received from server
Status code returned 0xc0000022 NT_STATUS_ACCESS_DENIED
netmisc.c: !!Mapping smb error code 5 to POSIX err -13 !!
cifssmb.c: Error in Open = -13
dir.c: cifs_create returned 0xfffffff3
dir.c: CIFS VFS: leaving cifs_create (xid = 108301) rc = -13
dir.c: CIFS VFS: in cifs_lookup as Xid: 108302 with uid: 0
dir.c: parent inode = 0xe754c200 name is: bla and dentry = 0xef5317a0
dir.c: len 4
dir.c: NULL inode in lookup
dir.c: Full path: \bla inode = 0x00000000
inode.c: CIFS VFS: in cifs_get_inode_info as Xid: 108303 with uid: 0
inode.c: Getting info on \bla
cifssmb.c: In QPathInfo path \bla
transport.c: For smb_command 50
transport.c: Sending smb of length 82
connect.c: Peek length rcvd: 36 with smb length: 39
connect.c: Mid 0xc7aa matched - waking up
transport.c: Unexpected signature received from server
Status code returned 0xc0000034 NT_STATUS_OBJECT_NAME_NOT_FOUND
netmisc.c: !!Mapping smb error code 2 to POSIX err -2 !!
cifssmb.c: Send error in QPathInfo = -2
inode.c: CIFS VFS: leaving cifs_get_inode_info (xid = 108303) rc = -2
dir.c: CIFS VFS: leaving cifs_lookup (xid = 108302) rc = 0
Any help is appreciated.
Regards,
Sven Riedel
Freudenberg Hosting KG
- Operating Systems and Hosting Infrastructure -
H?hnerweg 2 - 4
69469 Weinheim, Germany
Fon +49 (0) 62 01 80-8284
mailto:sven.riedel@freudenberg.de
http://www.freudenberg-it.de