Tom Zerucha
2000-Feb-21 18:43 UTC
Help with windwos 2000 and Samba 2.0.3 / can't see shares
I reported this (or tried, I emailed the bug list with the results with debug set high). Both 2.0.7 pre1 and the CVS today won't show shares. I note that tcpdump apparently shows that it is trying to negotiate an old protocol - I can see the decode of the Win98 traffic, but not W2K. It fails on the routine that does the get next share name. Basically with W2K, smbclient -L won't show any shares (but will show everything else). However it will connect, i.e. smbclient //server/c\$ will work if the rest of the params are right (username, WG, etc.), but smbclient -L server won't show c$ anywhere in the list of shares. Here is an excerpt of the -d 10 output: [000] 49 50 43 00 00 IPC.. tconx ok Sharename Type Comment --------- ---- ------- size=95 smb_com=0x25 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=8 smb_flg2=1 smb_tid=32771 smb_pid=32640 smb_uid=40963 smb_mid=1 smt_wct=14 smb_vwv[0]=19 (0x13) smb_vwv[1]=0 (0x0) smb_vwv[2]=1024 (0x400) smb_vwv[3]=65535 (0xFFFF) smb_vwv[4]=0 (0x0) smb_vwv[5]=0 (0x0) smb_vwv[6]=0 (0x0) smb_vwv[7]=0 (0x0) smb_vwv[8]=0 (0x0) smb_vwv[9]=19 (0x13) smb_vwv[10]=76 (0x4C) smb_vwv[11]=0 (0x0) smb_vwv[12]=95 (0x5F) smb_vwv[13]=0 (0x0) smb_bcc=32 [000] 5C 50 49 50 45 5C 4C 41 4E 4D 41 4E 00 00 00 57 \PIPE\LA NMAN...W [010] 72 4C 65 68 00 42 31 33 42 57 7A 00 01 00 FF FF rLeh.B13 BWz..... write_socket(3,99) write_socket(3,99) wrote 99 got smb length of 35 size=35 smb_com=0x25 smb_rcls=1 smb_reh=0 smb_err=8 smb_flg=136 smb_flg2=1 smb_tid=32771 smb_pid=32640 smb_uid=40963 smb_mid=1 smt_wct=0 smb_bcc=0 size=35 smb_com=0x25 smb_rcls=1 smb_reh=0 smb_err=8 smb_flg=136 smb_flg2=1 smb_tid=32771 smb_pid=32640 smb_uid=40963 smb_mid=1 smt_wct=0 smb_bcc=0 NetShareEnum failed