Bug 4530 - mount error 20 not a directory - share on Windows Server 2003
mount error 20 not a directory - share on Windows Server 2003
Status: RESOLVED INVALID
Product: CifsVFS
Classification: Unclassified
Component: kernel fs
2.6
x86 Linux
: P3 normal
: ---
Assigned To: Steve French
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-04-21 02:55 UTC by Mauro Folcarelli
Modified: 2009-05-13 16:01 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mauro Folcarelli 2007-04-21 02:55:24 UTC
# rpm -qa | grep samba
samba-common-3.0.24-1.fc6
samba-client-3.0.24-1.fc6
samba-3.0.24-1.fc6

# uname -s -r
Linux 2.6.20-1.2925.fc6

# cat /etc/fstab | grep cifs
//ServerSAP.aeclan.it/BKSAP  /mnt/DirSap  cifs  noauto,ro,credentials=/etc/scripts/credentials  0 0

# smbclient -L \\192.168.2.10 -U aecshare
Domain=[SERVERSAP] OS=[Windows Server 2003 3790 Service Pack 1] Server=[Windows
Server 2003 5.2]

        Sharename       Type      Comment
        ---------       ----      -------
        BKSAP           Disk
        C$              Disk      Condivisione predefinita
        F$              Disk      Condivisione predefinita
        IPC$            IPC       IPC remoto
        ADMIN$          Disk      Amministrazione remota
        Archivi         Disk
        B1_SHR          Disk      Sap Business One Share Folder
        sap             Disk
session request to 192.168.2.10 failed (Called name not present)
session request to 192 failed (Called name not present)
Domain=[SERVERSAP] OS=[Windows Server 2003 3790 Service Pack 1] Server=[Windows
Server 2003 5.2]

        Server               Comment
        ---------            -------

        Workgroup            Master
        ---------            -------
******************************************************************************

# echo "1" >/proc/fs/cifs/cifsFYI
# dmesg -c; mount /mnt/DirSap ; dmesg >/tmp/Errore_mount


 fs/cifs/cifsfs.c: Devname: //ServerSAP.aeclan.it/BKSAP flags: 65 
 fs/cifs/connect.c: CIFS VFS: in cifs_mount as Xid: 55 with uid: 0
 fs/cifs/connect.c: Username: aecshare 
 fs/cifs/connect.c: UNC: \\ServerSAP.aeclan.it\BKSAP ip: 192.168.2.10
 fs/cifs/connect.c: Socket created
 fs/cifs/connect.c: sndbuf 16384 rcvbuf 87380 rcvtimeo 0x7fffffff
 fs/cifs/connect.c: Demultiplex PID: 15945
 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
| 0x00 0x00 0x00 0x4e 0xff 0x53 0x4d 0x42  |  _ _ _ N ÿ S M B
| 0x72 0x00 0x00 0x00 0x00 0x00 0x01 0x80  |  r _ _ _ _ _ _ _
| 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  |  _ _ _ _ _ _ _ _
| 0x00 0x00 0x00 0x00 0x00 0x00 0x48 0x3e  |  _ _ _ _ _ _ H >
| 0x00 0x00 0x01 0x00 0x00 0x2b 0x00 0x02  |  _ _ _ _ _ + _ _
| 0x4c 0x4d 0x31 0x2e 0x32 0x58 0x30 0x30  |  L M 1 . 2 X 0 0
| 0x32 0x00 0x02 0x4c 0x41 0x4e 0x4d 0x41  |  2 _ _ L A N M A
| 0x4e 0x32 0x2e 0x31 0x00 0x02 0x4e 0x54  |  N 2 . 1 _ _ N T
| 0x20 0x4c 0x4d 0x20 0x30 0x2e 0x31 0x32  |    L M   0 . 1 2
| 0x00 0x02 0x50 0x4f 0x53 0x49 0x58 0x20  |  _ _ P O S I X  
| 0x32 0x00                                |  2 _            
 fs/cifs/connect.c: rfc1002 length 0x79)
| 0x75 0x00 0x00 0x00 0xff 0x53 0x4d 0x42  |  u _ _ _ ÿ S M B
| 0x72 0x00 0x00 0x00 0x00 0x80 0x01 0x80  |  r _ _ _ _ _ _ _
| 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  |  _ _ _ _ _ _ _ _
| 0x00 0x00 0x00 0x00 0x00 0x00 0x48 0x3e  |  _ _ _ _ _ _ H >
| 0x00 0x00 0x01 0x00 0x11 0x02 0x00 0x03  |  _ _ _ _ _ _ _ _
| 0x32 0x00 0x01 0x00 0x04 0x41 0x00 0x00  |  2 _ _ _ _ A _ _
| 0x00 0x00 0x01 0x00 0x00 0x00 0x00 0x00  |  _ _ _ _ _ _ _ _
| 0xfd 0xf3 0x01 0x00 0x42 0x97 0xa3 0x09  |  ý ó _ _ B _ £ _
| 0xe6 0x83 0xc7 0x01 0x88 0xff 0x08 0x30  |  æ _ Ç _ _ ÿ _ 0
| 0x00 0xb1 0x55 0x9c 0x0f 0x5c 0xb4 0x6b  |  _ ± U _ _ \ ´ k
| 0x18 0x41 0x00 0x45 0x00 0x43 0x00 0x4c  |  _ A _ E _ C _ L
| 0x00 0x41 0x00 0x4e 0x00 0x2e 0x00 0x49  |  _ A _ N _ . _ I
| 0x00 0x54 0x00 0x00 0x00 0x53 0x00 0x45  |  _ T _ _ _ S _ E
| 0x00 0x52 0x00 0x56 0x00 0x45 0x00 0x52  |  _ R _ V _ E _ R
| 0x00 0x53 0x00 0x41 0x00 0x50 0x00 0x00  |  _ S _ A _ P _ _
| 0x00                                     |  _              
| 0x75 0x00 0x00 0x00 0xff 0x53 0x4d 0x42  |  u _ _ _ ÿ S M B
| 0x72 0x00 0x00 0x00 0x00 0x80 0x01 0x80  |  r _ _ _ _ _ _ _
| 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  |  _ _ _ _ _ _ _ _
| 0x00 0x00 0x00 0x00 0x00 0x00 0x48 0x3e  |  _ _ _ _ _ _ H >
| 0x00 0x00 0x01 0x00 0x11 0x02 0x00 0x03  |  _ _ _ _ _ _ _ _
| 0x32 0x00 0x01 0x00 0x04 0x41 0x00 0x00  |  2 _ _ _ _ A _ _
| 0x00 0x00 0x01 0x00 0x00 0x00 0x00 0x00  |  _ _ _ _ _ _ _ _
| 0xfd 0xf3 0x01 0x00 0x42 0x97 0xa3 0x09  |  ý ó _ _ B _ £ _
| 0xe6 0x83 0xc7 0x01 0x88 0xff 0x08 0x30  |  æ _ Ç _ _ ÿ _ 0
| 0x00 0xb1 0x55 0x9c 0x0f 0x5c 0xb4 0x6b  |  _ ± U _ _ \ ´ k
| 0x18 0x41 0x00 0x45 0x00 0x43 0x00 0x4c  |  _ A _ E _ C _ L
| 0x00 0x41 0x00 0x4e                      |  _ A _ N        
 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 250
| 0x00 0x00 0x00 0xf6 0xff 0x53 0x4d 0x42  |  _ _ _ ö ÿ S M B
| 0x73 0x00 0x00 0x00 0x00 0x00 0x01 0xd0  |  s _ _ _ _ _ _ Ð
| 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  |  _ _ _ _ _ _ _ _
| 0x00 0x00 0x00 0x00 0x00 0x00 0x48 0x3e  |  _ _ _ _ _ _ H >
| 0x00 0x00 0x02 0x00 0x0d 0xff 0x00 0x00  |  _ _ _ _ _ ÿ _ _
| 0x00 0x58 0x40 0x32 0x00 0x00 0x00 0x00  |  _ X @ 2 _ _ _ _
| 0x00 0x00 0x00 0x18 0x00 0x18 0x00 0x00  |  _ _ _ _ _ _ _ _
| 0x00 0x00 0x00 0xdc 0xd0 0x00 0x00 0xb9  |  _ _ _ Ü Ð _ _ ¹
| 0x00                                     |  _              
 fs/cifs/connect.c: rfc1002 length 0xc1)
| 0xbd 0x00 0x00 0x00 0xff 0x53 0x4d 0x42  |  ½ _ _ _ ÿ S M B
| 0x73 0x00 0x00 0x00 0x00 0x80 0x01 0xd0  |  s _ _ _ _ _ _ Ð
| 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  |  _ _ _ _ _ _ _ _
| 0x00 0x00 0x00 0x00 0x00 0x00 0x48 0x3e  |  _ _ _ _ _ _ H >
| 0x00 0x38 0x02 0x00 0x03 0xff 0x00 0xbd  |  _ 8 _ _ _ ÿ _ ½
| 0x00 0x00 0x00 0x94 0x00 0x89 0x57 0x00  |  _ _ _ _ _ _ W _
| 0x69 0x00 0x6e 0x00 0x64 0x00 0x6f 0x00  |  i _ n _ d _ o _
| 0x77 0x00 0x73 0x00 0x20 0x00 0x53 0x00  |  w _ s _   _ S _
| 0x65 0x00 0x72 0x00 0x76 0x00 0x65 0x00  |  e _ r _ v _ e _
| 0x72 0x00 0x20 0x00 0x32 0x00 0x30 0x00  |  r _   _ 2 _ 0 _
| 0x30 0x00 0x33 0x00 0x20 0x00 0x33 0x00  |  0 _ 3 _   _ 3 _
| 0x37 0x00 0x39 0x00 0x30 0x00 0x20 0x00  |  7 _ 9 _ 0 _   _
| 0x53 0x00 0x65 0x00 0x72 0x00 0x76 0x00  |  S _ e _ r _ v _
| 0x69 0x00 0x63 0x00 0x65 0x00 0x20 0x00  |  i _ c _ e _   _
| 0x50 0x00 0x61 0x00 0x63 0x00 0x6b 0x00  |  P _ a _ c _ k _
| 0x20 0x00 0x31 0x00 0x00 0x00 0x57 0x00  |    _ 1 _ _ _ W _
| 0x69 0x00 0x6e 0x00 0x64 0x00 0x6f 0x00  |  i _ n _ d _ o _
| 0x77 0x00 0x73 0x00 0x20 0x00 0x53 0x00  |  w _ s _   _ S _
| 0x65 0x00 0x72 0x00 0x76 0x00 0x65 0x00  |  e _ r _ v _ e _
| 0x72 0x00 0x20 0x00 0x32 0x00 0x30 0x00  |  r _   _ 2 _ 0 _
| 0x30 0x00 0x33 0x00 0x20 0x00 0x35 0x00  |  0 _ 3 _   _ 5 _
| 0x2e 0x00 0x32 0x00 0x00 0x00 0x41 0x00  |  . _ 2 _ _ _ A _
| 0x45 0x00 0x43 0x00 0x4c 0x00 0x41 0x00  |  E _ C _ L _ A _
| 0x4e 0x00 0x2e 0x00 0x49 0x00 0x54 0x00  |  N _ . _ I _ T _
| 0x00                                     |  _              
| 0xbd 0x00 0x00 0x00 0xff 0x53 0x4d 0x42  |  ½ _ _ _ ÿ S M B
| 0x73 0x00 0x00 0x00 0x00 0x80 0x01 0xd0  |  s _ _ _ _ _ _ Ð
| 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  |  _ _ _ _ _ _ _ _
| 0x00 0x00 0x00 0x00 0x00 0x00 0x48 0x3e  |  _ _ _ _ _ _ H >
| 0x00 0x38 0x02 0x00 0x03 0xff 0x00 0xbd  |  _ 8 _ _ _ ÿ _ ½
| 0x00 0x00 0x00 0x94 0x00 0x89 0x57 0x00  |  _ _ _ _ _ _ W _
| 0x69 0x00 0x6e 0x00 0x64 0x00 0x6f 0x00  |  i _ n _ d _ o _
| 0x77 0x00 0x73 0x00 0x20 0x00 0x53 0x00  |  w _ s _   _ S _
| 0x65 0x00 0x72 0x00 0x76 0x00 0x65 0x00  |  e _ r _ v _ e _
| 0x72 0x00 0x20 0x00 0x32 0x00 0x30 0x00  |  r _   _ 2 _ 0 _
 |  r _   _ 2 _ 0 _
 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 = 14336 
 fs/cifs/sess.c: bleft 148
 fs/cifs/sess.c: words left: -1
 fs/cifs/sess.c: ssetup freeing small buf dd720700
 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 106
| 0x00 0x00 0x00 0x6a 0xff 0x53 0x4d 0x42  |  _ _ _ j ÿ S M B
| 0x75 0x00 0x00 0x00 0x00 0x00 0x01 0xd0  |  u _ _ _ _ _ _ Ð
| 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  |  _ _ _ _ _ _ _ _
| 0x00 0x00 0x00 0x00 0x00 0x00 0x48 0x3e  |  _ _ _ _ _ _ H >
| 0x00 0x38 0x03 0x00 0x04 0xff 0x00 0x00  |  _ 8 _ _ _ ÿ _ _
| 0x00 0x08 0x00 0x01 0x00 0x3f 0x00 0x00  |  _ _ _ _ _ ? _ _
| 0x5c 0x00 0x5c 0x00 0x53 0x00 0x65 0x00  |  \ _ \ _ S _ e _
| 0x72 0x00 0x76 0x00 0x65 0x00 0x72 0x00  |  r _ v _ e _ r _
| 0x53 0x00 0x41 0x00 0x50 0x00 0x2e 0x00  |  S _ A _ P _ . _
| 0x61 0x00 0x65 0x00 0x63 0x00 0x6c 0x00  |  a _ e _ c _ l _
| 0x61 0x00 0x6e 0x00 0x2e 0x00 0x69 0x00  |  a _ n _ . _ i _
| 0x74 0x00 0x5c 0x00 0x42 0x00 0x4b 0x00  |  t _ \ _ B _ K _
| 0x53 0x00 0x41 0x00 0x50 0x00 0x00 0x00  |  S _ A _ P _ _ _
| 0x3f 0x3f 0x3f 0x3f 0x3f 0x00            |  ? ? ? ? ? _    
 fs/cifs/connect.c: rfc1002 length 0x42)
| 0x3e 0x00 0x00 0x00 0xff 0x53 0x4d 0x42  |  > _ _ _ ÿ S M B
| 0x75 0x00 0x00 0x00 0x00 0x80 0x01 0xd0  |  u _ _ _ _ _ _ Ð
| 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  |  _ _ _ _ _ _ _ _
| 0x00 0x00 0x00 0x00 0x05 0x20 0x48 0x3e  |  _ _ _ _ _   H >
| 0x00 0x38 0x03 0x00 0x07 0xff 0x00 0x3e  |  _ 8 _ _ _ ÿ _ >
| 0x00 0x01 0x00 0xff 0x01 0x1f 0x00 0x00  |  _ _ _ ÿ _ _ _ _
| 0x00 0x00 0x00 0x0d 0x00 0x41 0x3a 0x00  |  _ _ _ _ _ A : _
| 0x4e 0x00 0x54 0x00 0x46 0x00 0x53 0x00  |  N _ T _ F _ S _
| 0x00 0x00                                |  _ _            
| 0x3e 0x00 0x00 0x00 0xff 0x53 0x4d 0x42  |  > _ _ _ ÿ S M B
| 0x75 0x00 0x00 0x00 0x00 0x80 0x01 0xd0  |  u _ _ _ _ _ _ Ð
| 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  |  _ _ _ _ _ _ _ _
| 0x00 0x00 0x00 0x00 0x05 0x20 0x48 0x3e  |  _ _ _ _ _   H >
| 0x00 0x38 0x03 0x00 0x07 0xff 0x00 0x3e  |  _ 8 _ _ _ ÿ _ >
| 0x00 0x01 0x00 0xff 0x01 0x1f 0x00 0x00  |  _ _ _ ÿ _ _ _ _
| 0x00 0x00 0x00 0x0d 0x00 0x41 0x3a 0x00  |  _ _ _ _ _ A : _
| 0x4e 0x00 0x54 0x00 0x46 0x00 0x53 0x00  |  N _ T _ F _ S _
| 0x00 0x00 0x41 0x00 0x50 0x00 0x2e 0x00  |  _ _ A _ P _ . _
| 0x61 0x00 0x65 0x00 0x63 0x00 0x6c 0x00  |  a _ e _ c _ l _
| 0x61 0x00 0x6e 0x00 0x2e 0x00 0x69 0x00  |  a _ n _ . _ i _
| 0x74 0x00 0x5c 0x00                      |  t _ \ _        
 fs/cifs/connect.c: Tcon flags: 0x1 
 fs/cifs/connect.c: CIFS Tcon rc = 0
 fs/cifs/cifssmb.c: In QFSDeviceInfo
 fs/cifs/transport.c: For smb_command 50
 fs/cifs/transport.c: Sending smb of length 68
| 0x00 0x00 0x00 0x44 0xff 0x53 0x4d 0x42  |  _ _ _ D ÿ S M B
| 0x32 0x00 0x00 0x00 0x00 0x00 0x01 0xc0  |  2 _ _ _ _ _ _ À
| 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  |  _ _ _ _ _ _ _ _
| 0x00 0x00 0x00 0x00 0x05 0x20 0x48 0x3e  |  _ _ _ _ _   H >
| 0x00 0x38 0x04 0x00 0x0f 0x02 0x00 0x00  |  _ 8 _ _ _ _ _ _
| 0x00 0x02 0x00 0xe8 0x03 0x00 0x00 0x00  |  _ _ _ è _ _ _ _
| 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x02  |  _ _ _ _ _ _ _ _
| 0x00 0x42 0x00 0x00 0x00 0x00 0x00 0x01  |  _ B _ _ _ _ _ _
| 0x00 0x03 0x00 0x03 0x00 0x00 0x04 0x01  |  _ _ _ _ _ _ _ _
 |  _ _ _ _ _ _ _ _
 fs/cifs/connect.c: rfc1002 length 0x44)
| 0x40 0x00 0x00 0x00 0xff 0x53 0x4d 0x42  |  @ _ _ _ ÿ S M B
| 0x32 0x00 0x00 0x00 0x00 0x80 0x01 0xc0  |  2 _ _ _ _ _ _ À
| 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  |  _ _ _ _ _ _ _ _
| 0x00 0x00 0x00 0x00 0x05 0x20 0x48 0x3e  |  _ _ _ _ _   H >
| 0x00 0x38 0x04 0x00 0x0a 0x00 0x00 0x08  |  _ 8 _ _ _ _ _ _
| 0x00 0x00 0x00 0x00 0x00 0x38 0x00 0x00  |  _ _ _ _ _ 8 _ _
| 0x00 0x08 0x00 0x38 0x00 0x00 0x00 0x00  |  _ _ _ 8 _ _ _ _
| 0x00 0x09 0x00 0x00 0x07 0x00 0x00 0x00  |  _ _ _ _ _ _ _ _
| 0x20 0x00 0x00 0x00                      |    _ _ _        
| 0x40 0x00 0x00 0x00 0xff 0x53 0x4d 0x42  |  @ _ _ _ ÿ S M B
| 0x32 0x00 0x00 0x00 0x00 0x80 0x01 0xc0  |  2 _ _ _ _ _ _ À
| 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  |  _ _ _ _ _ _ _ _
| 0x00 0x00 0x00 0x00 0x05 0x20 0x48 0x3e  |  _ _ _ _ _   H >
| 0x00 0x38 0x04 0x00 0x0a 0x00 0x00 0x08  |  _ 8 _ _ _ _ _ _
| 0x00 0x00 0x00 0x00 0x00 0x38 0x00 0x00  |  _ _ _ _ _ 8 _ _
| 0x00 0x08 0x00 0x38 0x00 0x00 0x00 0x00  |  _ _ _ 8 _ _ _ _
| 0x00 0x09 0x00 0x00 0x07 0x00 0x00 0x00  |  _ _ _ _ _ _ _ _
| 0x20 0x00 0x00 0x00 0x00 0x00 0x04 0x01  |    _ _ _ _ _ _ _
| 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  |  _ _ _ _ _ _ _ _
| 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  |  _ _ _ _ _ _ _ _
| 0x00 0x00 0x00 0x00                      |  _ _ _ _        
 fs/cifs/cifssmb.c: In QFSAttributeInfo
 fs/cifs/transport.c: For smb_command 50
 fs/cifs/transport.c: Sending smb of length 68
| 0x00 0x00 0x00 0x44 0xff 0x53 0x4d 0x42  |  _ _ _ D ÿ S M B
| 0x32 0x00 0x00 0x00 0x00 0x00 0x01 0xc0  |  2 _ _ _ _ _ _ À
| 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  |  _ _ _ _ _ _ _ _
| 0x00 0x00 0x00 0x00 0x05 0x20 0x48 0x3e  |  _ _ _ _ _   H >
| 0x00 0x38 0x05 0x00 0x0f 0x02 0x00 0x00  |  _ 8 _ _ _ _ _ _
| 0x00 0x02 0x00 0xe8 0x03 0x00 0x00 0x00  |  _ _ _ è _ _ _ _
| 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x02  |  _ _ _ _ _ _ _ _
| 0x00 0x42 0x00 0x00 0x00 0x00 0x00 0x01  |  _ B _ _ _ _ _ _
| 0x00 0x03 0x00 0x03 0x00 0x00 0x05 0x01  |  _ _ _ _ _ _ _ _
 |  _ _ _ _ _ _ _ _
 fs/cifs/connect.c: rfc1002 length 0x50)
| 0x4c 0x00 0x00 0x00 0xff 0x53 0x4d 0x42  |  L _ _ _ ÿ S M B
| 0x32 0x00 0x00 0x00 0x00 0x80 0x01 0xc0  |  2 _ _ _ _ _ _ À
| 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  |  _ _ _ _ _ _ _ _
| 0x00 0x00 0x00 0x00 0x05 0x20 0x48 0x3e  |  _ _ _ _ _   H >
| 0x00 0x38 0x05 0x00 0x0a 0x00 0x00 0x14  |  _ 8 _ _ _ _ _ _
| 0x00 0x00 0x00 0x00 0x00 0x38 0x00 0x00  |  _ _ _ _ _ 8 _ _
| 0x00 0x14 0x00 0x38 0x00 0x00 0x00 0x00  |  _ _ _ 8 _ _ _ _
| 0x00 0x15 0x00 0x00 0xff 0x00 0x07 0x00  |  _ _ _ _ ÿ _ _ _
| 0xff 0x00 0x00 0x00 0x08 0x00 0x00 0x00  |  ÿ _ _ _ _ _ _ _
| 0x4e 0x00 0x54 0x00 0x46 0x00 0x53 0x00  |  N _ T _ F _ S _
 |  N _ T _ F _ S _
| 0x4c 0x00 0x00 0x00 0xff 0x53 0x4d 0x42  |  L _ _ _ ÿ S M B
| 0x32 0x00 0x00 0x00 0x00 0x80 0x01 0xc0  |  2 _ _ _ _ _ _ À
| 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  |  _ _ _ _ _ _ _ _
| 0x00 0x00 0x00 0x00 0x05 0x20 0x48 0x3e  |  _ _ _ _ _   H >
| 0x00 0x38 0x05 0x00 0x0a 0x00 0x00 0x14  |  _ 8 _ _ _ _ _ _
| 0x00 0x00 0x00 0x00 0x00 0x38 0x00 0x00  |  _ _ _ _ _ 8 _ _
| 0x00 0x14 0x00 0x38 0x00 0x00 0x00 0x00  |  _ _ _ 8 _ _ _ _
| 0x00 0x15 0x00 0x00 0xff 0x00 0x07 0x00  |  _ _ _ _ ÿ _ _ _
| 0xff 0x00 0x00 0x00 0x08 0x00 0x00 0x00  |  ÿ _ _ _ _ _ _ _
| 0x4e 0x00 0x54 0x00 0x46 0x00 0x53 0x00  |  N _ T _ F _ S _
| 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  |  _ _ _ _ _ _ _ _
| 0x00 0x00 0x00 0x00                      |  _ _ _ _        
 fs/cifs/connect.c: CIFS VFS: leaving cifs_mount (xid = 55) rc = 0
 fs/cifs/inode.c: CIFS VFS: in cifs_read_inode as Xid: 56 with uid: 0
 fs/cifs/inode.c: Getting info on 
 fs/cifs/transport.c: For smb_command 50
 fs/cifs/transport.c: Sending smb of length 74
| 0x00 0x00 0x00 0x4a 0xff 0x53 0x4d 0x42  |  _ _ _ J ÿ S M B
| 0x32 0x00 0x00 0x00 0x00 0x00 0x01 0xc0  |  2 _ _ _ _ _ _ À
| 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  |  _ _ _ _ _ _ _ _
| 0x00 0x00 0x00 0x00 0x05 0x20 0x48 0x3e  |  _ _ _ _ _   H >
| 0x00 0x38 0x06 0x00 0x0f 0x08 0x00 0x00  |  _ 8 _ _ _ _ _ _
| 0x00 0x02 0x00 0xa0 0x0f 0x00 0x00 0x00  |  _ _ _   _ _ _ _
| 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x08  |  _ _ _ _ _ _ _ _
| 0x00 0x42 0x00 0x00 0x00 0x00 0x00 0x01  |  _ B _ _ _ _ _ _
| 0x00 0x05 0x00 0x09 0x00 0x00 0x07 0x01  |  _ _ _ _ _ _ _ _
| 0x00 0x00 0x00 0x00 0x00 0x00            |  _ _ _ _ _ _    
 fs/cifs/connect.c: rfc1002 length 0x27)
| 0x23 0x00 0x00 0x00 0xff 0x53 0x4d 0x42  |  # _ _ _ ÿ S M B
| 0x32 0x22 0x00 0x00 0xc0 0x80 0x01 0xc0  |  2 " _ _ À _ _ À
| 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  |  _ _ _ _ _ _ _ _
| 0x00 0x00 0x00 0x00 0x05 0x20 0x48 0x3e  |  _ _ _ _ _   H >
| 0x00 0x38 0x06 0x00 0x00 0x00 0x00       |  _ 8 _ _ _ _ _  
 fs/cifs/connect.c: invalid transact2 word count
| 0x23 0x00 0x00 0x00 0xff 0x53 0x4d 0x42  |  # _ _ _ ÿ S M B
| 0x32 0x22 0x00 0x00 0xc0 0x80 0x01 0xc0  |  2 " _ _ À _ _ À
| 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  |  _ _ _ _ _ _ _ _
| 0x00 0x00 0x00 0x00 0x05 0x20 0x48 0x3e  |  _ _ _ _ _   H >
| 0x00 0x38 0x06 0x00 0x00 0x00 0x00 0x00  |  _ 8 _ _ _ _ _ _
| 0x00 0x02 0x00 0xa0 0x0f 0x00 0x00 0x00  |  _ _ _   _ _ _ _
| 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x08  |  _ _ _ _ _ _ _ _
| 0x00 0x42 0x00 0x00 0x00 0x00 0x00 0x01  |  _ B _ _ _ _ _ _
| 0x00 0x05 0x00 0x09 0x00 0x00 0x07 0x01  |  _ _ _ _ _ _ _ _
| 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  |  _ _ _ _ _ _ _ _
| 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  |  _ _ _ _ _ _ _ _
| 0x00 0x00 0x00 0x00                      |  _ _ _ _        
 fs/cifs/netmisc.c:  !!Mapping smb error code 5 to POSIX err -13 !!
 fs/cifs/cifssmb.c: Send error in QPathInfo = -13
 fs/cifs/cifsfs.c: In cifs_put_super
 fs/cifs/connect.c: CIFS VFS: in cifs_umount as Xid: 57 with uid: 0
 fs/cifs/cifssmb.c: In tree disconnect
 fs/cifs/transport.c: For smb_command 113
 fs/cifs/transport.c: Sending smb of length 35
| 0x00 0x00 0x00 0x23 0xff 0x53 0x4d 0x42  |  _ _ _ # ÿ S M B
| 0x71 0x00 0x00 0x00 0x00 0x00 0x01 0xc0  |  q _ _ _ _ _ _ À
| 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  |  _ _ _ _ _ _ _ _
| 0x00 0x00 0x00 0x00 0x05 0x20 0x48 0x3e  |  _ _ _ _ _   H >
| 0x00 0x38 0x07 0x00 0x00 0x00 0x00       |  _ 8 _ _ _ _ _  
 fs/cifs/connect.c: rfc1002 length 0x27)
| 0x23 0x00 0x00 0x00 0xff 0x53 0x4d 0x42  |  # _ _ _ ÿ S M B
| 0x71 0x00 0x00 0x00 0x00 0x80 0x01 0xc0  |  q _ _ _ _ _ _ À
| 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  |  _ _ _ _ _ _ _ _
| 0x00 0x00 0x00 0x00 0x05 0x20 0x48 0x3e  |  _ _ _ _ _   H >
| 0x00 0x38 0x07 0x00 0x00 0x00 0x00       |  _ 8 _ _ _ _ _  
| 0x23 0x00 0x00 0x00 0xff 0x53 0x4d 0x42  |  # _ _ _ ÿ S M B
| 0x71 0x00 0x00 0x00 0x00 0x80 0x01 0xc0  |  q _ _ _ _ _ _ À
| 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  |  _ _ _ _ _ _ _ _
| 0x00 0x00 0x00 0x00 0x05 0x20 0x48 0x3e  |  _ _ _ _ _   H >
| 0x00 0x38 0x07 0x00 0x00 0x00 0x00 0x00  |  _ 8 _ _ _ _ _ _
| 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  |  _ _ _ _ _ _ _ _
| 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  |  _ _ _ _ _ _ _ _
| 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  |  _ _ _ _ _ _ _ _
| 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  |  _ _ _ _ _ _ _ _
| 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  |  _ _ _ _ _ _ _ _
| 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  |  _ _ _ _ _ _ _ _
| 0x00 0x00 0x00 0x00                      |  _ _ _ _        
 fs/cifs/connect.c: About to do SMBLogoff 
 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
| 0x00 0x00 0x00 0x27 0xff 0x53 0x4d 0x42  |  _ _ _ ' ÿ S M B
| 0x74 0x00 0x00 0x00 0x00 0x00 0x01 0x00  |  t _ _ _ _ _ _ _
| 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  |  _ _ _ _ _ _ _ _
| 0x00 0x00 0x00 0x00 0x00 0x00 0x48 0x3e  |  _ _ _ _ _ _ H >
| 0x00 0x38 0x08 0x00 0x02 0xff 0x00 0x00  |  _ 8 _ _ _ ÿ _ _
| 0x00 0x00 0x00                           |  _ _ _          
 fs/cifs/connect.c: rfc1002 length 0x2b)
| 0x27 0x00 0x00 0x00 0xff 0x53 0x4d 0x42  |  ' _ _ _ ÿ S M B
| 0x74 0x00 0x00 0x00 0x00 0x80 0x01 0x00  |  t _ _ _ _ _ _ _
| 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  |  _ _ _ _ _ _ _ _
| 0x00 0x00 0x00 0x00 0x00 0x00 0x48 0x3e  |  _ _ _ _ _ _ H >
| 0x00 0x38 0x08 0x00 0x02 0xff 0x00 0x27  |  _ 8 _ _ _ ÿ _ '
| 0x00 0x00 0x00                           |  _ _ _          
| 0x27 0x00 0x00 0x00 0xff 0x53 0x4d 0x42  |  ' _ _ _ ÿ S M B
| 0x74 0x00 0x00 0x00 0x00 0x80 0x01 0x00  |  t _ _ _ _ _ _ _
| 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  |  _ _ _ _ _ _ _ _
| 0x00 0x00 0x00 0x00 0x00 0x00 0x48 0x3e  |  _ _ _ _ _ _ H >
| 0x00 0x38 0x08 0x00 0x02 0xff 0x00 0x27  |  _ 8 _ _ _ ÿ _ '
| 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  |  _ _ _ _ _ _ _ _
| 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  |  _ _ _ _ _ _ _ _
| 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  |  _ _ _ _ _ _ _ _
| 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  |  _ _ _ _ _ _ _ _
| 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  |  _ _ _ _ _ _ _ _
| 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00  |  _ _ _ _ _ _ _ _
| 0x00 0x00 0x00 0x00                      |  _ _ _ _        
 fs/cifs/connect.c: Waking up socket by sending it signal
 fs/cifs/connect.c: CIFS VFS: leaving cifs_umount (xid = 57) rc = 0

mount error 20 = Not a directory
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
Comment 1 SPAMMER 2007-04-27 05:44:28 UTC
Created attachment 2452
Comment 2 Paul Hampson 2008-03-06 01:09:33 UTC
When I saw this bug, I believed it was the same as mine, #4471. The problem there turned out to be the filesystem permissions on the shared folder, but whether or not that is the case here, the pasted trace shows the same issue, a successful connect, followed by a failure to read the root node of the shared folder, and then a successful unmount.

So I'd suggest checking the filesystem permissions on the shared folder's root node firstly, taking particular care of machine VS domain accounts if the server is on a domain.
Comment 3 Shirish S. Pargaonkar 2009-03-20 00:56:55 UTC
Is this still an issue?  If so, can you send a tcpdump obtained during
the recreatation?
Comment 4 Steve French 2009-05-13 16:01:08 UTC
Looks like a straightforward case of no permission for the root of the share that you are mounting.