Bug 7611 - Unable to wrest master browser from Windows 7 machine
Unable to wrest master browser from Windows 7 machine
Status: NEW
Product: Samba 3.5
Classification: Unclassified
Component: Nmbd
3.5.5
Other Linux
: P3 normal
: ---
Assigned To: Jeremy Allison
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-08-09 12:50 UTC by Orion Poplawski
Modified: 2010-10-05 10:10 UTC (History)
0 users

See Also:


Attachments
gzipped log.nmbd with log level 9 (23.94 KB, application/x-gzip)
2010-08-09 12:51 UTC, Orion Poplawski
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Orion Poplawski 2010-08-09 12:50:38 UTC
One of our Windows 7 workstations has become the master browser for our domain, and our Samba server is unable to become it.  Log level 2 shows:

2010/08/09 11:35:47.162107,  0] nmbd/nmbd_become_dmb.c:292(become_domain_master_browser_bcast)
  become_domain_master_browser_bcast:
  Attempting to become domain master browser on workgroup CO-RA on subnet 192.168.0.8
[2010/08/09 11:35:47.162336,  0] nmbd/nmbd_become_dmb.c:305(become_domain_master_browser_bcast)
  become_domain_master_browser_bcast: querying subnet 192.168.0.8 for domain master browser on workgroup CO-RA

[2010/08/09 11:35:51.235398,  0] nmbd/nmbd_logonnames.c:121(become_logon_server_success)
  become_logon_server_success: Samba is now a logon server for workgroup CO-RA on subnet 192.168.0.8
[2010/08/09 11:35:51.235861,  2] nmbd/nmbd_become_dmb.c:179(become_domain_master_stage1)
  become_domain_master_stage1: Becoming domain master browser for workgroup CO-RA on subnet 192.168.0.8
[2010/08/09 11:35:53.237156,  2] nmbd/nmbd_elections.c:40(send_election_dgram)
  send_election_dgram: Sending election packet for workgroup CO-RA on subnet 192.168.0.8
[2010/08/09 11:35:55.144331,  2] nmbd/nmbd_elections.c:40(send_election_dgram)
  send_election_dgram: Sending election packet for workgroup CO-RA on subnet 192.168.0.8
[2010/08/09 11:35:55.144517,  0] nmbd/nmbd_become_dmb.c:110(become_domain_master_stage2)
  *****
  
  Samba server EARTH is now a domain master browser for workgroup CO-RA on subnet 192.168.0.8
  
  *****
[2010/08/09 11:35:58.145286,  2] nmbd/nmbd_elections.c:40(send_election_dgram)
  send_election_dgram: Sending election packet for workgroup CO-RA on subnet 192.168.0.8
[2010/08/09 11:36:00.146340,  2] nmbd/nmbd_elections.c:40(send_election_dgram)
  send_election_dgram: Sending election packet for workgroup CO-RA on subnet 192.168.0.8
[2010/08/09 11:36:01.615825,  2] nmbd/nmbd_elections.c:40(send_election_dgram)
  send_election_dgram: Sending election packet for workgroup CO-RA on subnet 192.168.0.8
[2010/08/09 11:36:01.615989,  2] nmbd/nmbd_elections.c:200(run_elections)
  run_elections: >>> Won election for workgroup CO-RA on subnet 192.168.0.8 <<<
[2010/08/09 11:36:01.616056,  2] nmbd/nmbd_become_lmb.c:536(become_local_master_browser)
  become_local_master_browser: Starting to become a master browser for workgroup CO-RA on subnet 192.168.0.8
[2010/08/09 11:36:07.957603,  0] nmbd/nmbd_become_lmb.c:416(become_local_master_fail2)
  become_local_master_fail2: failed to register name CO-RA<1d> on subnet 192.168.0.8. Failed to become a local master browser.
[2010/08/09 11:36:07.958002,  2] nmbd/nmbd_become_lmb.c:279(unbecome_local_master_browser)
  unbecome_local_master_browser: unbecoming local master for workgroup CO-RA on subnet 192.168.0.8
[2010/08/09 11:36:07.958254,  0] nmbd/nmbd_namelistdb.c:307(standard_fail_register)
  standard_fail_register: Failed to register/refresh name CO-RA<1d> on subnet 192.168.0.8
Comment 1 Orion Poplawski 2010-08-09 12:51:43 UTC
Created attachment 5892 [details]
gzipped log.nmbd with log level 9
Comment 2 Orion Poplawski 2010-10-01 18:02:47 UTC
Windows 7 took over again yesterday, though I was able to regain by restarting nmbd.


[2010/09/30 14:22:31.533876,  0] nmbd/nmbd_incomingdgrams.c:308(process_local_master_announce)
  process_local_master_announce: Server ARTHURC at IP 192.168.0.231 is announcing itself as a local master browser for workgroup CO-RA and we think we are master. Forcing election.
[2010/09/30 14:22:31.551261,  0] nmbd/nmbd_become_lmb.c:148(unbecome_local_master_success)
  *****
  
  Samba name server EARTH has stopped being a local master browser for workgroup CO-RA on subnet 192.168.0.8
  
  *****
[2010/09/30 14:22:48.711373,  0] nmbd/nmbd_become_lmb.c:416(become_local_master_fail2)
  become_local_master_fail2: failed to register name CO-RA<1d> on subnet 192.168.0.8. Failed to become a local master browser.
[2010/09/30 14:22:48.711872,  0] nmbd/nmbd_namelistdb.c:307(standard_fail_register)
  standard_fail_register: Failed to register/refresh name CO-RA<1d> on subnet 192.168.0.8
[2010/09/30 14:23:40.859134,  0] nmbd/nmbd_namequery.c:108(query_name_response)
  query_name_response: Multiple (2) responses received for a query on subnet 192.168.0.8 for name CO-RA<1d>.
  This response was from IP 192.168.0.199, reporting an IP address of 192.168.0.231.
[2010/09/30 14:23:40.902959,  0] nmbd/nmbd_namequery.c:108(query_name_response)
  query_name_response: Multiple (3) responses received for a query on subnet 192.168.0.8 for name CO-RA<1d>.
  This response was from IP 192.168.0.231, reporting an IP address of 192.168.0.231.

these repeat until 19:00, presumably when the windows 7 machine(s) left, but the samba server never took back over.
Comment 3 Orion Poplawski 2010-10-05 10:10:17 UTC
Again today when I rebooted our server, it would not regain master browser from a Windows 7 desktop until I powered the Win7 machine down.