mweichert
June 4th, 2009, 02:54 PM
Hello,
I've been working three days now trying to get CIFS mounts working in Jaunty. I've been using the same config in hardy, feisty, and intrepid which don't get me any grief.
Some details about my setup:
- Joined to AD domain using likewise-open5
- Trying to mount a share called 'sw' on a SAMBA server (netgear nas storage box). This box passes auth to AD on Windows Server 2003.
- The domain is called 'liquor.local'
- smbfs is installed
Here is how I attempt to mount the share:
sudo mount.cifs //whiskey/sw /mnt/sw -o username=mweichert,domain=liquor.local,nosuid,node v,nounix,rw
This is what I get in return:
[ 7287.832583] /build/buildd/linux-2.6.28/fs/cifs/cifsfs.c: Devname: //sw/sw flags: 64
[ 7287.832591] /build/buildd/linux-2.6.28/fs/cifs/connect.c: CIFS VFS: in cifs_mount as Xid: 20 with uid: 0
[ 7287.832601] /build/buildd/linux-2.6.28/fs/cifs/connect.c: Domain name set
[ 7287.832605] /build/buildd/linux-2.6.28/fs/cifs/connect.c: Username: mweichert
[ 7287.832610] /build/buildd/linux-2.6.28/fs/cifs/connect.c: UNC: \\whiskey\sw ip: 192.168.1.10
[ 7287.832622] /build/buildd/linux-2.6.28/fs/cifs/connect.c: Socket created
[ 7287.833069] /build/buildd/linux-2.6.28/fs/cifs/connect.c: sndbuf 16384 rcvbuf 87380 rcvtimeo 0x7fffffffffffffff
[ 7287.833135] /build/buildd/linux-2.6.28/fs/cifs/connect.c: Existing smb sess not found
[ 7287.833143] /build/buildd/linux-2.6.28/fs/cifs/cifssmb.c: secFlags 0x7
[ 7287.833148] /build/buildd/linux-2.6.28/fs/cifs/transport.c: For smb_command 114
[ 7287.833152] /build/buildd/linux-2.6.28/fs/cifs/transport.c: Sending smb of length 78
[ 7287.833386] /build/buildd/linux-2.6.28/fs/cifs/connect.c: Demultiplex PID: 19446
[ 7288.113392] /build/buildd/linux-2.6.28/fs/cifs/connect.c: rfc1002 length 0x5f
[ 7288.113436] /build/buildd/linux-2.6.28/fs/cifs/cifssmb.c: Dialect: 2
[ 7288.113444] /build/buildd/linux-2.6.28/fs/cifs/cifssmb.c: negprot rc 0
[ 7288.113449] /build/buildd/linux-2.6.28/fs/cifs/connect.c: Security Mode: 0x3 Capabilities: 0xf3fd TimeAdjust: 14400
[ 7288.113453] /build/buildd/linux-2.6.28/fs/cifs/sess.c: sess setup type 2
[ 7288.113535] /build/buildd/linux-2.6.28/fs/cifs/transport.c: For smb_command 115
[ 7288.113539] /build/buildd/linux-2.6.28/fs/cifs/transport.c: Sending smb: total_len 276
[ 7288.119908] /build/buildd/linux-2.6.28/fs/cifs/connect.c: rfc1002 length 0x27
[ 7288.119941] Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
[ 7288.119948] /build/buildd/linux-2.6.28/fs/cifs/netmisc.c: Mapping smb error code 5 to POSIX err -13
[ 7288.119952] /build/buildd/linux-2.6.28/fs/cifs/misc.c: Null buffer passed to cifs_small_buf_release
[ 7288.119958] /build/buildd/linux-2.6.28/fs/cifs/sess.c: ssetup rc from sendrecv2 is -13
[ 7288.119962] /build/buildd/linux-2.6.28/fs/cifs/sess.c: ssetup freeing small buf ffff88003519b700
[ 7288.119967] CIFS VFS: Send error in SessSetup = -13
[ 7288.119976] /build/buildd/linux-2.6.28/fs/cifs/connect.c: CIFS VFS: leaving cifs_mount (xid = 20) rc = -13
[ 7288.119981] CIFS VFS: cifs_mount failed w/return code = -13
Using Nautilus and GVFS works fine. Doing a trace in Wireshark, the difference appears to be that GVFS uses Kerberos, while mount.cifs does not. If I add another option to my comamnd, "sec=krb5", then I get -2 instead of -13.
If I uninstall smbfs, I cannot use the netbios/dns name, 'whiskey', but have to use the ip instead. However, even then I cannot mount the drive as I get this error instead:
mount: block device //192.168.1.10/sw is write-protected, mounting read-only
mount: cannot mount block device //192.168.1.10/sw read-only
I've created the mountpoint and it is owned by me and has 755 permissions.
Any anyone else experienced such troubles with Jaunty?
Thanks,
Mike
I've been working three days now trying to get CIFS mounts working in Jaunty. I've been using the same config in hardy, feisty, and intrepid which don't get me any grief.
Some details about my setup:
- Joined to AD domain using likewise-open5
- Trying to mount a share called 'sw' on a SAMBA server (netgear nas storage box). This box passes auth to AD on Windows Server 2003.
- The domain is called 'liquor.local'
- smbfs is installed
Here is how I attempt to mount the share:
sudo mount.cifs //whiskey/sw /mnt/sw -o username=mweichert,domain=liquor.local,nosuid,node v,nounix,rw
This is what I get in return:
[ 7287.832583] /build/buildd/linux-2.6.28/fs/cifs/cifsfs.c: Devname: //sw/sw flags: 64
[ 7287.832591] /build/buildd/linux-2.6.28/fs/cifs/connect.c: CIFS VFS: in cifs_mount as Xid: 20 with uid: 0
[ 7287.832601] /build/buildd/linux-2.6.28/fs/cifs/connect.c: Domain name set
[ 7287.832605] /build/buildd/linux-2.6.28/fs/cifs/connect.c: Username: mweichert
[ 7287.832610] /build/buildd/linux-2.6.28/fs/cifs/connect.c: UNC: \\whiskey\sw ip: 192.168.1.10
[ 7287.832622] /build/buildd/linux-2.6.28/fs/cifs/connect.c: Socket created
[ 7287.833069] /build/buildd/linux-2.6.28/fs/cifs/connect.c: sndbuf 16384 rcvbuf 87380 rcvtimeo 0x7fffffffffffffff
[ 7287.833135] /build/buildd/linux-2.6.28/fs/cifs/connect.c: Existing smb sess not found
[ 7287.833143] /build/buildd/linux-2.6.28/fs/cifs/cifssmb.c: secFlags 0x7
[ 7287.833148] /build/buildd/linux-2.6.28/fs/cifs/transport.c: For smb_command 114
[ 7287.833152] /build/buildd/linux-2.6.28/fs/cifs/transport.c: Sending smb of length 78
[ 7287.833386] /build/buildd/linux-2.6.28/fs/cifs/connect.c: Demultiplex PID: 19446
[ 7288.113392] /build/buildd/linux-2.6.28/fs/cifs/connect.c: rfc1002 length 0x5f
[ 7288.113436] /build/buildd/linux-2.6.28/fs/cifs/cifssmb.c: Dialect: 2
[ 7288.113444] /build/buildd/linux-2.6.28/fs/cifs/cifssmb.c: negprot rc 0
[ 7288.113449] /build/buildd/linux-2.6.28/fs/cifs/connect.c: Security Mode: 0x3 Capabilities: 0xf3fd TimeAdjust: 14400
[ 7288.113453] /build/buildd/linux-2.6.28/fs/cifs/sess.c: sess setup type 2
[ 7288.113535] /build/buildd/linux-2.6.28/fs/cifs/transport.c: For smb_command 115
[ 7288.113539] /build/buildd/linux-2.6.28/fs/cifs/transport.c: Sending smb: total_len 276
[ 7288.119908] /build/buildd/linux-2.6.28/fs/cifs/connect.c: rfc1002 length 0x27
[ 7288.119941] Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
[ 7288.119948] /build/buildd/linux-2.6.28/fs/cifs/netmisc.c: Mapping smb error code 5 to POSIX err -13
[ 7288.119952] /build/buildd/linux-2.6.28/fs/cifs/misc.c: Null buffer passed to cifs_small_buf_release
[ 7288.119958] /build/buildd/linux-2.6.28/fs/cifs/sess.c: ssetup rc from sendrecv2 is -13
[ 7288.119962] /build/buildd/linux-2.6.28/fs/cifs/sess.c: ssetup freeing small buf ffff88003519b700
[ 7288.119967] CIFS VFS: Send error in SessSetup = -13
[ 7288.119976] /build/buildd/linux-2.6.28/fs/cifs/connect.c: CIFS VFS: leaving cifs_mount (xid = 20) rc = -13
[ 7288.119981] CIFS VFS: cifs_mount failed w/return code = -13
Using Nautilus and GVFS works fine. Doing a trace in Wireshark, the difference appears to be that GVFS uses Kerberos, while mount.cifs does not. If I add another option to my comamnd, "sec=krb5", then I get -2 instead of -13.
If I uninstall smbfs, I cannot use the netbios/dns name, 'whiskey', but have to use the ip instead. However, even then I cannot mount the drive as I get this error instead:
mount: block device //192.168.1.10/sw is write-protected, mounting read-only
mount: cannot mount block device //192.168.1.10/sw read-only
I've created the mountpoint and it is owned by me and has 755 permissions.
Any anyone else experienced such troubles with Jaunty?
Thanks,
Mike