[linux-cifs-client] cifs_mount failed w/return code = -6

Wilhelm Meier wilhelm.meier at fh-kl.de
Fri Aug 24 13:53:23 GMT 2007


Am Freitag, 24. August 2007 schrieb Jeff Layton:
> On Fri, 24 Aug 2007 08:41:33 +0200
>
> Wilhelm Meier <wilhelm.meier at fh-kl.de> wrote:
> > Hi everybody,
> >
> > I have two win2003-server where I mount from. Mounting from one is
> > perfect, mountting from the other gives this error -6.
> >
> > Can anyone tell me something more about error -6. What does it mean?
> >
> > fs/cifs/cifsfs.c: Devname: //zadar/home/1ata0001 flags: 64
> >  fs/cifs/connect.c: CIFS VFS: in cifs_mount as Xid: 155 with uid: 0
> >  fs/cifs/connect.c: Domain name set
> >  fs/cifs/connect.c: Username: 1ata0001
> >  fs/cifs/netmisc.c: address conversion returned 1 for 10.100.1.59
> >  fs/cifs/connect.c: UNC: \\zadar/home\1ata0001 ip: 10.100.1.59
> >  fs/cifs/connect.c: Socket created
> >  fs/cifs/connect.c: sndbuf 16384 rcvbuf 87380 rcvtimeo 0x7fffffff
> >  fs/cifs/connect.c: Demultiplex PID: 25577
> >  fs/cifs/connect.c: Existing smb sess not found
> >  fs/cifs/cifssmb.c: secFlags 0x7
> >  fs/cifs/transport.c: For smb_command 114
> >  fs/cifs/transport.c: Sending smb of length 78
> >  fs/cifs/connect.c: rfc1002 length 0x63
> >  fs/cifs/cifssmb.c: Dialect: 2
> >  fs/cifs/cifssmb.c: negprot rc 0
> >  fs/cifs/connect.c: Security Mode: 0x3 Capabilities: 0x1f3fd TimeAdjust:
> > -7200 fs/cifs/sess.c: sess setup type 1
> >  fs/cifs/transport.c: For smb_command 115
> >  fs/cifs/transport.c: Sending smb:  total_len 268
> >  fs/cifs/connect.c: rfc1002 length 0xb3
> >  fs/cifs/misc.c: Null buffer passed to cifs_small_buf_release
> >  fs/cifs/sess.c: ssetup rc from sendrecv2 is 0
> >  fs/cifs/sess.c: UID = 2050
> >  fs/cifs/sess.c: bleft 134
> >  fs/cifs/sess.c: words left: -1
> >  fs/cifs/sess.c: ssetup freeing small buf e741bac0
> >  fs/cifs/connect.c: CIFS Session Established successfully
> >  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 94
> >  fs/cifs/connect.c: rfc1002 length 0x27
> >  fs/cifs/netmisc.c:  !!Mapping smb error code 67 to POSIX err -6 !!
>
> #define ERRnosuchshare          67
>
> Looks like the server thinks that \home\lata0001 isn't a valid
> share?

Yes, thats right: I noticed a shortly after I sent the mail. Thank you anyway!

>
> >  fs/cifs/connect.c: CIFS Tcon rc = -6
> >  fs/cifs/cifssmb.c: In SMBLogoff for session disconnect
> >  fs/cifs/transport.c: For smb_command 116
> >  fs/cifs/transport.c: Sending smb of length 39
> >  fs/cifs/connect.c: rfc1002 length 0x2b
> >  fs/cifs/connect.c: CIFS VFS: leaving cifs_mount (xid = 155) rc = -6
> >  CIFS VFS: cifs_mount failed w/return code = -6



-- 
Wilhelm


More information about the linux-cifs-client mailing list