Bug 1712 - Browselist empty (simple share)
Summary: Browselist empty (simple share)
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Domain Control (show other bugs)
Version: 3.0.6
Hardware: x86 Linux
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
Depends on:
Reported: 2004-09-02 12:52 UTC by Jan Willem Huijbers
Modified: 2006-04-10 07:43 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Jan Willem Huijbers 2004-09-02 12:52:31 UTC

I using Samba on a Linux system (Fedora) to provide a simple share (using SHARE
security). I use te share for storing files and swapping files between different
systems (WinXP and Win98). I have no trouble connecting to the system (using
search computers and than providing the NetBIOS name or mapping drives), but the
system refuses to show in the Network Neighborhood or under My Network Places.

Now I have been experimenting with some settings. Deploying a Laptop (Fedora
Core 2/Samba 3.06) within the simple network (single Ethernet segment) and
configure the Laptop to become the WINS server and to win the browse election.
Makes both systems visable in the Network neighborhood.

When my original system is Wins server and domain-master then no other system is
visable in the Network Neighborhood. 

Having traced both situations with Ethereal, i have found this:

In a good situation is see

No.     Time        Source                Destination           Protocol Info
    667 180.748866            TCP      4771 >
netbios-ssn [SYN] Seq=0 Ack=0 Win=16384 Len=0 MSS=1460
    668 180.748896            TCP     
netbios-ssn > 4771 [SYN, ACK] Seq=0 Ack=1 Win=5840 Len=0 MSS=1460
    669 180.749877            NBSS     Session
request, to DELL-5151-JWH<20> from DELL-8100<00>
    670 180.749907            TCP     
netbios-ssn > 4771 [ACK] Seq=1 Ack=73 Win=5840 Len=0
    671 180.790282            NBSS    
Positive session response
    672 180.795916            SMB     
Negotiate Protocol Request
    673 180.795944            TCP     
netbios-ssn > 4771 [ACK] Seq=5 Ack=210 Win=5840 Len=0
    674 180.796374            SMB     
Negotiate Protocol Response
    675 180.798490            SMB      Session
Setup AndX Request, User: anonymous; Tree Connect AndX, Path: \\DELL-5151-JWH\IPC$
    676 180.803660            SMB      Session
Setup AndX Response; Tree Connect AndX
    677 180.804952            LANMAN  
NetServerEnum2 Request, Domain Enum
    678 180.805289            LANMAN  
NetServerEnum2 Response
    679 180.810136            SMB      Tree
Disconnect Request

In the fault situation i see:

No.     Time        Source                Destination           Protocol Info
     56 39.053859           NBNS     Name
query response NB
     57 39.335998           TCP      32926 >
microsoft-ds [SYN] Seq=0 Ack=0 Win=5840 Len=0 MSS=1460 TSV=11941427 TSER=0 WS=7
     58 39.337389           TCP     
microsoft-ds > 32926 [SYN, ACK] Seq=0 Ack=1 Win=5792 Len=0 MSS=1460 TSV=3867926
TSER=11941427 WS=0
     59 39.337413           TCP      32926 >
microsoft-ds [ACK] Seq=1 Ack=1 Win=5888 Len=0 TSV=11941429 TSER=3867926
     60 39.346493           SMB     
Negotiate Protocol Request
     61 39.347927           TCP     
microsoft-ds > 32926 [ACK] Seq=1 Ack=184 Win=5792 Len=0 TSV=3867927 TSER=11941438
     62 39.351637           SMB     
Negotiate Protocol Response
     63 39.351648           TCP      32926 >
microsoft-ds [ACK] Seq=184 Ack=100 Win=5888 Len=0 TSV=11941443 TSER=3867928
     64 39.352088           SMB      Session
Setup AndX Request, User: HOME-NET\root
     65 39.370081           SMB      Session
Setup AndX Response
     66 39.370183           SMB      Tree
Connect AndX Request, Path: \\\IPC$
     67 39.381954           SMB      Tree
Connect AndX Response
     68 39.382098           NBNS     Name
query NB <01><02>__MSBROWSE__<02><01>

Now I am not an expert on this, but i find it strange that instead of using the
NetBIOS name, now the Path is using an IP address (the correct one). Everytime
is see an IP addres instead of a NetBIOS name, i get back an empty browslist.

Maybe the use of IP-addresses is correct (for example using a multi-homed
system), but I think that the system then also should provide the browselist.

If i can be of any assistance just ask, Kind regards

Jan Willem Huijbers
Comment 1 Gerald (Jerry) Carter (dead mail address) 2006-04-10 07:43:13 UTC
Please retest against a current Samba release  and reopen if the 
issue is still present.