Bug 613 - smbmount fails to mount within deep tree
smbmount fails to mount within deep tree
Status: RESOLVED WONTFIX
Product: Samba 3.0
Classification: Unclassified
Component: smbmount (unmaintained)
3.0.0
All Linux
: P3 normal
: none
Assigned To: Samba Bugzilla Account
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2003-10-13 12:05 UTC by Anthony Clark
Modified: 2005-11-14 09:31 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anthony Clark 2003-10-13 12:05:20 UTC
Attempting to use smbmount to mount my windows home directory fails:

(as root)
mount -t smbfs -o username=aclrk //homedir-server/A/aclrk /home/aclrk/windows-home
Password:
23129: tree connect failed: ERRDOS - ERRnosuchshare (You specified an invalid
share name)
SMB connection failed

This sharename exists;  it's the exact same share I mount on my windows xp box.
 It also appears if I use smbclient (although I cannot get smbclient to go
directly, it will only go to the top level share)

Here verbose output:

mount -t smbfs -o username=aclrk,debug=10 //bus-user1/A/aclrk /home/aclrk/smb
mount.smbfs started (version 3.0.0)
added interface ip=141.211.237.181 bcast=141.211.239.255 nmask=255.255.252.0
internal_resolve_name: looking up bus-user1#20
Opening cache file at /var/cache/samba/gencache.tdb
Returning valid cache entry: key = NBT/BUS-USER1#20, value = 141.211.28.132:0,
timeout = Mon Oct 13 15:07:13 2003
 
name bus-user1#20 found.
Connecting to 141.211.28.132 at port 445
socket option SO_KEEPALIVE = 0
socket option SO_REUSEADDR = 0
socket option SO_BROADCAST = 0
socket option TCP_NODELAY = 1
socket option IPTOS_LOWDELAY = 0
socket option IPTOS_THROUGHPUT = 0
socket option SO_SNDBUF = 16384
socket option SO_RCVBUF = 16384
socket option SO_SNDLOWAT = 1
socket option SO_RCVLOWAT = 1
socket option SO_SNDTIMEO = 0
socket option SO_RCVTIMEO = 0
23151: session request ok
write_socket(4,183)
write_socket(4,183) wrote 183
got smb length of 105
size=105
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=49153
smb_tid=0
smb_pid=23151
smb_uid=0
smb_mid=1
smt_wct=17
smb_vwv[ 0]=    8 (0x8)
smb_vwv[ 1]=12803 (0x3203)
smb_vwv[ 2]=  256 (0x100)
smb_vwv[ 3]= 1024 (0x400)
smb_vwv[ 4]=   65 (0x41)
smb_vwv[ 5]=    0 (0x0)
smb_vwv[ 6]=  256 (0x100)
smb_vwv[ 7]=    0 (0x0)
smb_vwv[ 8]=    0 (0x0)
smb_vwv[ 9]=64768 (0xFD00)
smb_vwv[10]=  243 (0xF3)
smb_vwv[11]=38400 (0x9600)
smb_vwv[12]=54952 (0xD6A8)
smb_vwv[13]=48192 (0xBC40)
smb_vwv[14]=50065 (0xC391)
smb_vwv[15]=61441 (0xF001)
smb_vwv[16]= 2048 (0x800)
smb_bcc=36
[000] D4 57 FD 3C 47 7B 16 21  42 00 55 00 53 00 00 00  .W.<G{.! B.U.S...
[010] 42 00 55 00 53 00 2D 00  55 00 53 00 45 00 52 00  B.U.S.-. U.S.E.R.
[020] 31 00 00 00                                       1...
size=105
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=49153
smb_tid=0
smb_pid=23151
smb_uid=0
smb_mid=1
smt_wct=17
smb_vwv[ 0]=    8 (0x8)
smb_vwv[ 1]=12803 (0x3203)
smb_vwv[ 2]=  256 (0x100)
smb_vwv[ 3]= 1024 (0x400)
smb_vwv[ 4]=   65 (0x41)
smb_vwv[ 5]=    0 (0x0)
smb_vwv[ 6]=  256 (0x100)
smb_vwv[ 7]=    0 (0x0)
smb_vwv[ 8]=    0 (0x0)
smb_vwv[ 9]=64768 (0xFD00)
smb_vwv[10]=  243 (0xF3)
smb_vwv[11]=38400 (0x9600)
smb_vwv[12]=54952 (0xD6A8)
smb_vwv[13]=48192 (0xBC40)
smb_vwv[14]=50065 (0xC391)
smb_vwv[15]=61441 (0xF001)
smb_vwv[16]= 2048 (0x800)
smb_bcc=36
[000] D4 57 FD 3C 47 7B 16 21  42 00 55 00 53 00 00 00  .W.<G{.! B.U.S...
[010] 42 00 55 00 53 00 2D 00  55 00 53 00 45 00 52 00  B.U.S.-. U.S.E.R.
[020] 31 00 00 00                                       1...
Serverzone is 14400
Password:
write_socket(4,134)
write_socket(4,134) wrote 134
got smb length of 82
size=82
smb_com=0x73
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=0
smb_pid=23151
smb_uid=14338
smb_mid=2
smt_wct=3
smb_vwv[ 0]=  255 (0xFF)
smb_vwv[ 1]=   82 (0x52)
smb_vwv[ 2]=    0 (0x0)
smb_bcc=41
[000] 57 69 6E 64 6F 77 73 20  35 2E 30 00 57 69 6E 64  Windows  5.0.Wind
[010] 6F 77 73 20 32 30 30 30  20 4C 41 4E 20 4D 61 6E  ows 2000  LAN Man
[020] 61 67 65 72 00 42 55 53  00                       ager.BUS .
23151: session setup ok
write_socket(4,74)
write_socket(4,74) wrote 74
got smb length of 35
size=35
smb_com=0x75
smb_rcls=1
smb_reh=0
smb_err=67
smb_flg=136
smb_flg2=1
smb_tid=0
smb_pid=23151
smb_uid=14338
smb_mid=3
smt_wct=0
smb_bcc=0
23151: tree connect failed: ERRDOS - ERRnosuchshare (You specified an invalid
share name)
SMB connection failed
Comment 1 Gerald (Jerry) Carter 2004-03-06 12:24:23 UTC
sorry but this is actually a limitation of smbmount.
You might want to try cifsvfs instead.  
Comment 2 Gerald (Jerry) Carter 2005-11-14 09:31:29 UTC
database cleanup