Using nmbd without smb for browsing

LIBAULT David david.libault at inventel.fr
Thu Apr 18 08:48:32 GMT 2002


Hi all,

I would like 2 "Windows" PCs connected with PPP to a linux box to share their 
files and printers using netbios.

The linux box doesn't have to appear in the "network neighbourhood".
So I run nmbd (and NOT smbd) in the linux box with the appropriate options in 
smb.conf to be a wins server and to be the domain browse master and local 
browse master (as I saw in the file "browse.txt" in the docs).

One of the "Windows PC" is an XP computer. On this machine in the 
neighbourhood I see the workgroup name a entered in smb.conf (MY_WORKGROUP), 
but I can't browse it. The name resolution looks good though (I can ping the 
windows name of the linux box).

In the tcpdump on this connection, it looks like the client sees the linux 
box (BLUEDSL), and the try to connect to a TCP port (that would probably be 
handled by smbd if it were here).

Is there any chance I could make this configuration work ? Is anyone 
interested in having more logs/config files ?

Regards,

David.


ps :

I use samba  2.2.3a and  the linux box is based on an ARM processor, linux 
2.4.17.
tcpdump on the linux box :

linux box : name BLUEDSL, IP : 10.0.0.1
XP machine : name CMO_LAP, IP : 10.7.58.2

...
10  20.140000     10.0.0.1 -> 10.7.58.2    NBNS Registration response NB 
10.7.58.2
 11  20.180000    10.7.58.2 -> 10.0.0.1     NBNS Registration NB MY_WORKGROUP 
  <00>
 12  20.180000     10.0.0.1 -> 10.7.58.2    NBNS Registration response NB 
10.7.58.2
 13  20.210000    10.7.58.2 -> 10.0.0.1     NBNS Registration NB CMO_LAP      
<20>
 14  20.210000     10.0.0.1 -> 10.7.58.2    NBNS Wait for acknowledgment 
response
 15  20.220000    10.7.58.2 -> 10.0.0.1     NBNS Registration NB MY_WORKGROUP 
  <1e>
 16  20.220000     10.0.0.1 -> 10.7.58.2    NBNS Registration response NB 
10.7.58.2
 17  26.800000    10.7.58.2 -> 255.255.255.255 BROWSER Get Backup List Request
 18  26.800000     10.0.0.1 -> 10.7.58.2    BROWSER Get Backup List Response
 19  26.810000    10.7.58.2 -> 10.0.0.1     NBNS Name query NB MY_WORKGROUP   
<1b>
 20  26.810000     10.0.0.1 -> 10.7.58.2    NBNS Name query response NB 
10.0.0.1
 21  26.830000    10.7.58.2 -> 10.0.0.1     BROWSER Get Backup List Request
 22  26.830000    10.7.58.2 -> 10.0.0.1     NBNS Name query NB BLUEDSL        
<20>
 23  26.830000     10.0.0.1 -> 10.7.58.2    BROWSER Get Backup List Response
 24  26.840000     10.0.0.1 -> 10.7.58.2    NBNS Name query response NB 
10.0.0.1
 25  26.850000    10.7.58.2 -> 10.0.0.1     TCP 3111 > netbios-ssn [SYN] 
Seq=1608383483 Ack=0 Win=16384 Len=0
 26  26.850000     10.0.0.1 -> 10.7.58.2    TCP netbios-ssn > 3111 [RST, ACK] 
Seq=0 Ack=1608383484 Win=0 Len=0
 27  27.340000    10.7.58.2 -> 10.0.0.1     TCP 3111 > netbios-ssn [SYN] 
Seq=1608383483 Ack=0 Win=16384 Len=0
 28  27.340000     10.0.0.1 -> 10.7.58.2    TCP netbios-ssn > 3111 [RST, ACK] 
Seq=0 Ack=1608383484 Win=0 Len=0
 29  27.860000    10.7.58.2 -> 10.0.0.1     TCP 3111 > netbios-ssn [SYN] 
Seq=1608383483 Ack=0 Win=16384 Len=0
 30  27.860000     10.0.0.1 -> 10.7.58.2    TCP netbios-ssn > 3111 [RST, ACK] 
Seq=0 Ack=1608383484 Win=0 Len=0
 31  27.880000    10.7.58.2 -> 10.0.0.1     NBNS Name query NB BLUEDSL        
<20>
 32  27.890000     10.0.0.1 -> 10.7.58.2    NBNS Name query response NB 
10.0.0.1
 33  27.900000    10.7.58.2 -> 10.0.0.1     TCP 3112 > netbios-ssn [SYN] 
Seq=1608672262 Ack=0 Win=16384 Len=0
 34  27.900000     10.0.0.1 -> 10.7.58.2    TCP netbios-ssn > 3112 [RST, ACK] 
Seq=0 Ack=1608672263 Win=0 Len=0
 35  28.350000    10.7.58.2 -> 10.0.0.1     TCP 3112 > netbios-ssn [SYN] 
Seq=1608672262 Ack=0 Win=16384 Len=0
 36  28.350000     10.0.0.1 -> 10.7.58.2    TCP netbios-ssn > 3112 [RST, ACK] 
Seq=0 Ack=1608672263 Win=0 Len=0
 37  28.860000    10.7.58.2 -> 10.0.0.1     TCP 3112 > netbios-ssn [SYN] 
Seq=1608672262 Ack=0 Win=16384 Len=0
 38  28.860000     10.0.0.1 -> 10.7.58.2    TCP netbios-ssn > 3112 [RST, ACK] 
Seq=0 Ack=1608672263 Win=0 Len=0
 39  28.880000    10.7.58.2 -> 255.255.255.255 BROWSER Get Backup List Request
 40  28.890000     10.0.0.1 -> 10.7.58.2    BROWSER Get Backup List Response
 41  28.890000    10.7.58.2 -> 10.0.0.1     BROWSER Get Backup List Request
 42  28.890000     10.0.0.1 -> 10.7.58.2    BROWSER Get Backup List Response
 43  28.910000    10.7.58.2 -> 255.255.255.255 BROWSER Get Backup List Request
 44  28.910000     10.0.0.1 -> 10.7.58.2    BROWSER Get Backup List Response
 45  28.920000    10.7.58.2 -> 10.0.0.1     BROWSER Get Backup List Request
 46  28.930000     10.0.0.1 -> 10.7.58.2    BROWSER Get Backup List Response
 47  31.210000    10.7.58.2 -> 255.255.255.255 BROWSER Get Backup List Request
...




More information about the samba-technical mailing list