domain master browser

John E Hein jhein at
Wed Dec 17 16:09:15 GMT 1997

If my samba server is NOT the domain or local master browser even though
 I am trying to set it up that way, then which machine on the net is?
 How do I find out?

I'd like my Samba server (currently running 1.9.17p4) to be a Domain
 Master Browser for a workgroup (let's call it 'ENGINEER').

I set it up according to BROWSING.txt, but yet Windows NT/95 PCs on other
 subnets are unable to browse and see computers on this subnet
 (even if those PCs are also in the same workgroup).
 Hmmm... why not?  What could cause this?

It appears that the Samba is not acting as the Domain Master Browser
 ... at least as far as I can tell... and this is where I need
 help in verification of my setup.  Maybe it's just that there
 is already a domain or local master browser selected when
 I start Samba.  If I give Samba a high 'os level', should it
 immediately take over as a master browser or does it wait
 until a current master browser gives that up? (aka lorax) is the IP address of my samba server.

Below is the output of nmblookup with debug level of 5.
Notice the [slightly misspelled] warning:
Warning: inconsistant interface
After looking at this code in nmblookup.c/interface.c, I am convinced this
 is because of a minor bug in the code where the network mask is passed
 in as
So, I don't think that has anything to do with my problem...
 which again is that PCs in the same workgroup on other subnets
 don't see PCs on this subnet.
There is no NT domain named the same as the workgroup.  There is an
 NT server acting as a WINS server ( as specified
 as the 'wins server').

I've tried raising the os level to 33 also... that did not give different

Anyone have any ideas?  Do I need to have the WINS server be the
 domain master browser instead of Samba (BROWSING.txt seems to
 clearly indicate that Samba can be the Domain Master Browser).

notice that nbtstat on a Win NT machine does not mention my samba machine as
 a master browser...

H:\tmp\tmp>nbtstat -A

       NetBIOS Remote Machine Name Table

          Name               Type         Status
          LORAX          <00>  UNIQUE      Registered
          LORAX          <03>  UNIQUE      Registered
          LORAX          <20>  UNIQUE      Registered
          ENGINEER       <00>  GROUP       Registered
          ENGINEER       <1B>  UNIQUE      Registered
          ENGINEER       <1C>  GROUP       Registered
          ENGINEER       <1E>  GROUP       Registered

          MAC Address = 00-00-00-00-00-00

% nmblookup -d 5 -B lorax __SAMBA__
Initialising global parameters
Processing configuration file "/usr/local/samba/lib/smb.conf"
Processing section "[global]"
doing parameter browseable = yes
doing parameter domain logons = yes
doing parameter guest account = nobody
doing parameter load printers = yes
doing parameter logon script = hi.bat "S: %S" "P: %P" "u: %u" "g: %g" "U: %U" "G: %G" "H: %H" "v: %v" "h: %h" "m: %m" "L: %L" "M: %M" "d: %d" "a: %a" "I: %I" "T: %T"
doing parameter lpq command = /usr/ucb/lpq -P%p
doing parameter print command = /usr/ucb/lpr -P%p %s;/bin/rm -f %s
doing parameter printcap name = /usr/local/smb/printcap
doing parameter printing = sysv
doing parameter security = user
doing parameter smbrun = /usr/local/samba/bin/smbrun
doing parameter username map = /usr/local/smb/
doing parameter workgroup = ENGINEER
doing parameter wins support = no
doing parameter wins server =
doing parameter domain master = yes
doing parameter local master = yes
doing parameter preferred master = yes
doing parameter os level = 2
doing parameter log file = /var/adm/log/log.mMuUhLv.%m,%M,%u,%U,%h,%L,%v,
doing parameter lock directory = /var/spool/samba/locks
doing parameter share modes = yes
pm_process() returned Yes
adding IPC service
Warning: inconsistant interface
Added interface ip= bcast= nmask=
bind succeeded on port 0
Socket opened.
Sending queries to
11/24/97 18:30:01 sending a packet of len 50 to ( on port 137
11/24/97 18:30:01 received a packet of len 62 from ( port 137
nmb packet from header: id=30452 opcode=Query(0) response=Yes
    header: flags: bcast=No rec_avail=No rec_des=Yes trunc=No auth=Yes
    header: rcode=0 qdcount=0 ancount=1 nscount=0 arcount=0
    answers: nmb_name=__SAMBA__(0) rr_type=32 rr_class=1 ttl=14400
    answers   0 char D.....   hex 4400C0CFA6A1
Got a positive name query response from ( __SAMBA__

More information about the samba mailing list