[linux-cifs-client] mounting samba exported FS over ssh-redirected
port
Ulrich Gemkow
gemkow at ikr.uni-stuttgart.de
Sat Jul 23 20:05:42 GMT 2005
Hello,
I am trying to mount a samba exported filesystem with the Linux
CIFS client fs over a ssh-forwarded port without success.
I tried with Port 139 and with port 445 redirected, both give the
same result, mount-cifs says
mount error 5 = Input/output error
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
Linux kernel is 2.6.10, Samba version 3.0.13, latest mount.cifs
from samba svn.
Is somebody using such a configuration with more success? Any hint
would be greatly appreciated.
Thanks in advance and greetings
Ulrich
===========
kernel log of client tell ms (with /proc/fs/cifs/cifsFYI = 1)
fs/cifs/connect.c: Wait for exit from demultiplex thread
fs/cifs/cifsfs.c: Devname: //<Server>/<UserName> flags: 64
fs/cifs/connect.c: CIFS VFS: in cifs_mount as Xid: 2 with uid: 0
fs/cifs/connect.c: Username: <UserName>
fs/cifs/connect.c: UNC: \\<Server>\<UserName> ip: 127.0.0.1
fs/cifs/connect.c: Socket created
fs/cifs/connect.c: Existing smb sess not found
fs/cifs/transport.c: For smb_command 114
fs/cifs/transport.c: Sending smb of length 47
fs/cifs/connect.c: Demultiplex PID: 2918
fs/cifs/connect.c: Peek length rcvd: 0x24 beginning 0x51)
fs/cifs/connect.c: Mid 0x3 matched - waking up
fs/cifs/connect.c: No session or bad tcon
fs/cifs/connect.c: CIFS VFS: leaving cifs_mount (xid = 2) rc = -5
CIFS VFS: cifs_mount failed w/return code = -5
fs/cifs/connect.c: Wait for exit from demultiplex thread
(Servername replaced with <Server>, Service name replaced with <UserName>
==========
the relevant output of the samba log (debug level = 4)
[2005/07/23 21:50:56, 3] smbd/process.c:timeout_processing(1334)
timeout_processing: End of file from client (client has disconnected).
[2005/07/23 21:50:56, 3] smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2005/07/23 21:50:56, 2] smbd/server.c:exit_server(609)
Closing connections
[2005/07/23 21:50:56, 3] smbd/connection.c:yield_connection(69)
Yielding connection to
[2005/07/23 21:50:56, 3] smbd/server.c:exit_server(652)
So it seems, that the connections is established but fails immediately.
--
|-----------------------------------------------------------------------
| Ulrich Gemkow
| University of Stuttgart
| Institute of Communication Networks and Computer Engineering (IKR)
|-----------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/linux-cifs-client/attachments/20050723/7e529829/attachment.bin
More information about the linux-cifs-client
mailing list