[linux-cifs-client] CIFS VFS can't mount Samba share
Timothee Besset
ttimo at idsoftware.com
Thu Feb 24 01:49:03 GMT 2005
Hello,
I am trying to mount a cifs vfs from a samba server ( server is 3.0.10, but I also tried 3.0.11 built from source ). I am able to browse the share with smbclient, and I can also mount with mount.smbfs .. but I can't with mount.cifs
Here are all the details:
client is GNU/Linux x86, 2.6.10 kernel from source with all CIFS options enabled, smbfs package from Debian ( 3.0.10 ) ( despite the name, that package provides mount.cifs )
Server is 3.0.11 rebuilt from source - same with 3.0.10 Debian package
smbclient works fine, mount.smbfs works as well, mount.cifs fails with the following after password prompt:
mount error 5 = Input/output error
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
server config is basically as follows:
min protocol = NT1
unix extensions = yes
case sensitive = yes
delete readonly = yes
ea support = yes
log level = 3
on the server I can't see anything going wrong:
[2005/02/23 19:04:57, 3] smbd/process.c:switch_message(886)
switch message SMBnegprot (pid 8089) conn 0x0
[2005/02/23 19:04:57, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/02/23 19:04:57, 3] smbd/negprot.c:reply_negprot(461)
Requested protocol [NT LM 0.12]
[2005/02/23 19:04:57, 3] smbd/negprot.c:reply_nt1(327)
not using SPNEGO
[2005/02/23 19:04:57, 3] smbd/negprot.c:reply_negprot(555)
Selected protocol NT LM 0.12
[2005/02/23 19:04:57, 3] smbd/process.c:timeout_processing(1334)
timeout_processing: End of file from client (client has disconnected).
on the client I end up with 'No session or bad tcon' which I don't know what it actually relates to:
Feb 23 19:04:57 dhcp-133 kernel: fs/cifs/cifsfs.c: Devname: //bleh/blah flags: 64
Feb 23 19:04:57 dhcp-133 kernel: fs/cifs/connect.c: CIFS VFS: in cifs_mount as Xid: 87 with uid: 0
Feb 23 19:04:57 dhcp-133 kernel: fs/cifs/connect.c: Username: timo
Feb 23 19:04:57 dhcp-133 kernel: fs/cifs/connect.c: UNC: \\bleh\blah ip: oink.oink.oink.oink
Feb 23 19:04:57 dhcp-133 kernel: fs/cifs/connect.c: Socket created
Feb 23 19:04:57 dhcp-133 kernel: fs/cifs/connect.c: Existing smb sess not found
Feb 23 19:04:57 dhcp-133 kernel: fs/cifs/transport.c: For smb_command 114
Feb 23 19:04:57 dhcp-133 kernel: fs/cifs/transport.c: Sending smb of length 47
Feb 23 19:04:57 dhcp-133 kernel: fs/cifs/connect.c: Demultiplex PID: 20758
Feb 23 19:04:57 dhcp-133 kernel: fs/cifs/connect.c: Peek length rcvd: 0x24 beginning 0x55)
Feb 23 19:04:57 dhcp-133 kernel: fs/cifs/connect.c: Mid 0x73 matched - waking up
Feb 23 19:04:57 dhcp-133 kernel: fs/cifs/connect.c: No session or bad tcon
Feb 23 19:04:57 dhcp-133 kernel: fs/cifs/connect.c: CIFS VFS: leaving cifs_mount (xid = 87) rc = -5
Feb 23 19:04:57 dhcp-133 kernel: CIFS VFS: cifs_mount failed w/return code = -5
Feb 23 19:04:57 dhcp-133 kernel: fs/cifs/connect.c: Wait for exit from demultiplex thread
Any help would be greatly appreciated..
TTimo
More information about the linux-cifs-client
mailing list