[linux-cifs-client] Can only mount using server IP !?

Steven Scholz steven.scholz at imc-berlin.de
Fri May 5 14:47:45 GMT 2006


Steven French wrote:
> Is mount.cifs installed on your embedded system?

Just downloaded, compiled and installed it on my ARM9 target and get

~ # mount.cifs //scholz/test /tmp/cifs -o user=guest,guest
 fs/cifs/cifsfs.c: Devname: //scholz/test flags: 64
 fs/cifs/connect.c: CIFS VFS: in cifs_mount as Xid: 12867 with uid: 0
 fs/cifs/connect.c: Username: guest
 fs/cifs/connect.c: UNC: \\scholz\test ip: 10.0.2.10
 fs/cifs/connect.c: Socket created
 fs/cifs/connect.c: sndbuf 16384 rcvbuf 43689 rcvtimeo 0x7fffffff
 fs/cifs/connect.c: Demultiplex PID: 333
 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: rfc1002 length 0x65)
 fs/cifs/connect.c: Security Mode: 0x3 Capabilities: 0xe3fd Time Zone: 65416
 fs/cifs/connect.c: In sesssetup
 fs/cifs/transport.c: For smb_command 115
 fs/cifs/transport.c: Sending smb of length 218
 fs/cifs/connect.c: rfc1002 length 0x7d)
 fs/cifs/connect.c:  Guest login
 fs/cifs/connect.c: UID = 2048
 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 78
 fs/cifs/connect.c: rfc1002 length 0x27)
Status code returned 0xc00000bd NT_STATUS_DUPLICATE_NAME
 fs/cifs/netmisc.c:  !!Mapping smb error code 52 to POSIX err -5 !!
 fs/cifs/connect.c: CIFS Tcon rc = -5
 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 = 12867) rc = -5
 CIFS VFS: cifs_mount failed w/return code = -5
mount error 5 = Input/output error
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)

So name resolution works. But what's that NT_STATUS_DUPLICATE_NAME about?

--
Steven



More information about the linux-cifs-client mailing list