Browser woe's

Jamie Harris jamie at jharris.homeip.net
Mon Oct 8 04:57:15 GMT 2001


Hi all,

Firstly - appologies for the cross post to those who are on both the ntdom & samba lists...

I've got a Samba 2.2 PDC running a Linux box.  Its the master browser and its running as a WINS server.  Yet when I look in Network Neighbourhood I can't see any of the machines, yet when I run a 'Find' it can find the boxes (I assume this it resolving the machine using WINS).  I've read through all the documentation that I can find and have checked that I have a guest account setup, and have looked in the file logs and file used by nmbd to store the WINS/browser info and these seem to show that its getting info about machines.  The only thing I am a little curious about is that it says its becomming the master browser of the 164.11.222.200 subnet, yet this isn't a subnet - its the IP address of the Samba server.  Below are the relevant bits nmbd's log.  Any help would be appreciated as I'm stumped!!!

Here are the logs:
[2001/10/08 06:17:54, 2] lib/interface.c:add_interface(85)
  added interface ip=164.11.222.200 bcast=164.11.222.255 nmask=255.255.255.0
[2001/10/08 06:17:54, 3] lib/util_sock.c:open_socket_in(832)
  bind succeeded on port 137
[2001/10/08 06:17:54, 3] lib/util_sock.c:open_socket_in(832)
  bind succeeded on port 138
[2001/10/08 06:17:54, 2] nmbd/nmbd_subnetdb.c:make_subnet(195)
  making subnet name:164.11.222.200 Broadcast address:164.11.222.255 Subnet mask:255.255.255.0
[2001/10/08 06:17:54, 2] nmbd/nmbd_subnetdb.c:make_subnet(195)
  making subnet name:UNICAST_SUBNET Broadcast address:164.11.222.200 Subnet mask:164.11.222.200
[2001/10/08 06:17:54, 2] nmbd/nmbd_subnetdb.c:make_subnet(195)
  making subnet name:REMOTE_BROADCAST_SUBNET Broadcast address:0.0.0.0 Subnet mask:0.0.0.0
[2001/10/08 06:17:54, 2] nmbd/nmbd_subnetdb.c:make_subnet(195)
  making subnet name:WINS_SERVER_SUBNET Broadcast address:0.0.0.0 Subnet mask:0.0.0.0

.......

[2001/10/08 06:18:08, 2] nmbd/nmbd_elections.c:send_election_dgram(45)
  send_election_dgram: Sending election packet for workgroup NETLAB on subnet 164.11.222.200
[2001/10/08 06:18:08, 2] nmbd/nmbd_elections.c:run_elections(209)
  run_elections: >>> Won election for workgroup NETLAB on subnet 164.11.222.200 <<<
[2001/10/08 06:18:08, 2] nmbd/nmbd_become_lmb.c:become_local_master_browser(550)
  become_local_master_browser: Starting to become a master browser for workgroup NETLAB on subnet 164.11.222.200
[2001/10/08 06:18:08, 3] nmbd/nmbd_become_lmb.c:become_local_master_browser(552)
  become_local_master_browser: first stage - attempt to register ^1^2__MSBROWSE__^2^1
[2001/10/08 06:18:10, 3] nmbd/nmbd_serverlistdb.c:write_browse_list(458)
  write_browse_list: Wrote browse list into file /usr/local/samba/var/locks/browse.dat
[2001/10/08 06:18:12, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(249)
  add_name_to_subnet: Added netbios name __MSBROWSE__<01> with first IP 164.11.222.200 ttl=0 nb_flags=c0 to subnet 164.11.222.200
[2001/10/08 06:18:12, 3] nmbd/nmbd_become_lmb.c:become_local_master_stage1(460)
  become_local_master_stage1: go to stage 2: register the NETLAB<1d> name.
[2001/10/08 06:18:12, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(249)
  add_name_to_subnet: Added netbios name __MSBROWSE__<01> with first IP 164.11.222.200 ttl=0 nb_flags=c0 to subnet UNICAST_SUBNET
[2001/10/08 06:18:16, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(249)
  add_name_to_subnet: Added netbios name NETLAB<1d> with first IP 164.11.222.200 ttl=0 nb_flags=40 to subnet 164.11.222.200
[2001/10/08 06:18:16, 3] nmbd/nmbd_become_lmb.c:become_local_master_stage2(361)
  become_local_master_stage2: registered as master browser for workgroup NETLAB on subnet 164.11.222.200
[2001/10/08 06:18:16, 3] nmbd/nmbd_sendannounce.c:broadcast_announce_request(74)
  broadcast_announce_request: sending announce request for workgroup NETLAB to subnet 164.11.222.200
[2001/10/08 06:18:16, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(249)
  add_name_to_subnet: Added netbios name NETLAB<1d> with first IP 164.11.222.200 ttl=0 nb_flags=40 to subnet UNICAST_SUBNET
[2001/10/08 06:18:16, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(405)
  *****
  
  Samba name server KENNY is now a local master browser for workgroup NETLAB on subnet 164.11.222.200
  
  *****

..........


Cheers all

Jamie...

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 ***      This message was transmitted on 100% recycled electrons     ***
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=






More information about the samba mailing list