[Samba] Configure samba to not look for domain master browser

Timothy Madden terminatorul at gmail.com
Thu Dec 8 03:33:59 MST 2011


On 06.12.2011 17:54, TAKAHASHI Motonobu wrote:
>> On 12/06/2011 10:26 AM, Timothy Madden wrote:
>>
>>> On my network there is no domain master browser, and my nmbd is
>>> spamming my /var/log/messages file with messages that it cound not
>>> find one. Can I configure nmbd not to look for the domain master
>>> browser ?
>
> After a while, nmbd will find a master browser (or a domain master
> browser) or will try to become a master browser by myself?
>
> If yes, this is expected behavior.
>
> If not, something will be wrong. Can you show the spamming messages?

I keep getting the messages for ever and nmbd does not become a domain 
master. You have the syslogd messages below.

The nmbd has
	preferred master = yes
in smb.conf. I do not know how to check if it is the local master, but I 
believe it is (although there is also a Windows 7 64-bit machine on the 
same subnet).

The nmbd is also a WINS server, but I only set it up for my VPN clients 
to be able to resolve computer names over VPN, and otherwise I do not 
want the server. I want a decentralized sub-net where I can reboot any 
machine as needed  (for our product testing )and everything just works. 
So the other 7 samba machines in the subnet do not have the WINS server 
in smb.conf, nor is it announced by the DHCP server (which is a router).

Also, the nmbd is on the VPN server machine, so most of the time it has 
two network interfaces to work with (the actual ethernet adapter and the 
virtual (VPN) tunnel interface), and I can see in syslog the following:
Dec  6 20:37:07 console nmbd[5973]: [2011/12/06 20:37:07, 0]
				nmbd/asyncdns.c:start_async_dns(151)
Dec  6 20:37:07 console nmbd[5973]:   started asyncdns process 5974
Dec  6 20:37:30 console nmbd[5973]: [2011/12/06 20:37:30, 0]
		nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)
Dec  6 20:37:30 console nmbd[5973]:   *****
Dec  6 20:37:30 console nmbd[5973]:
Dec  6 20:37:30 console nmbd[5973]:   Samba name server CONSOLE is now
		a local master browser for workgroup MYGROUP on subnet
		192.168.0.100
Dec  6 20:37:30 console nmbd[5973]:
Dec  6 20:37:30 console nmbd[5973]:   *****
....
Dec  7 16:23:19 console nmbd[5973]: [2011/12/07 16:23:19, 0]
		nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)
Dec  7 16:23:19 console nmbd[5973]:   *****
Dec  7 16:23:19 console nmbd[5973]:
Dec  7 16:23:19 console nmbd[5973]:   Samba name server CONSOLE is now
		a local master browser for workgroup MYGROUP on subnet
		172.16.0.1
Dec  7 16:23:19 console nmbd[5973]:
Dec  7 16:23:19 console nmbd[5973]:   *****

However the virtual subnet 172.16.0.0/24 is *not* broadcast-capable, 
which is giving me quite some problems...

I thought a domain master browser is not always used, but only on routed 
networks where several sub-nets share the same workgroup.
Is a local master browser not enough for Network Neighborhood ?

So I get the following non-stop messages in /var/log/messages:

Dec  8 10:43:20 console nmbd[5973]:   Unable to sync browse lists in 
this workgroup.
Dec  8 10:58:21 console nmbd[5973]: [2011/12/08 10:58:21, 0] 
nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail(351)
Dec  8 10:58:21 console nmbd[5973]:   find_domain_master_name_query_fail:
Dec  8 10:58:21 console nmbd[5973]:   Unable to find the Domain Master 
Browser name MYGROUP<1b> for the workgroup MYGROUP.
Dec  8 10:58:21 console nmbd[5973]:   Unable to sync browse lists in 
this workgroup.
Dec  8 10:58:21 console nmbd[5973]: [2011/12/08 10:58:21, 0] 
nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail(351)
Dec  8 10:58:21 console nmbd[5973]:   find_domain_master_name_query_fail:
Dec  8 10:58:21 console nmbd[5973]:   Unable to find the Domain Master 
Browser name MYGROUP<1b> for the workgroup MYGROUP.
Dec  8 10:58:21 console nmbd[5973]:   Unable to sync browse lists in 
this workgroup.
Dec  8 11:13:29 console nmbd[5973]: [2011/12/08 11:13:29, 0] 
nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail(351)
Dec  8 11:13:29 console nmbd[5973]:   find_domain_master_name_query_fail:
Dec  8 11:13:29 console nmbd[5973]:   Unable to find the Domain Master 
Browser name MYGROUP<1b> for the workgroup MYGROUP.
Dec  8 11:13:29 console nmbd[5973]:   Unable to sync browse lists in 
this workgroup.
Dec  8 11:13:29 console nmbd[5973]: [2011/12/08 11:13:29, 0] 
nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail(351)
Dec  8 11:13:29 console nmbd[5973]:   find_domain_master_name_query_fail:
Dec  8 11:13:29 console nmbd[5973]:   Unable to find the Domain Master 
Browser name MYGROUP<1b> for the workgroup MYGROUP.
Dec  8 11:13:29 console nmbd[5973]:   Unable to sync browse lists in 
this workgroup.
Dec  8 11:28:40 console nmbd[5973]: [2011/12/08 11:28:40, 0] 
nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail(351)
Dec  8 11:28:40 console nmbd[5973]:   find_domain_master_name_query_fail:
Dec  8 11:28:40 console nmbd[5973]:   Unable to find the Domain Master 
Browser name MYGROUP<1b> for the workgroup MYGROUP.
Dec  8 11:28:40 console nmbd[5973]:   Unable to sync browse lists in 
this workgroup.
Dec  8 11:28:40 console nmbd[5973]: [2011/12/08 11:28:40, 0] 
nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail(351)
Dec  8 11:28:40 console nmbd[5973]:   find_domain_master_name_query_fail:
Dec  8 11:28:40 console nmbd[5973]:   Unable to find the Domain Master 
Browser name MYGROUP<1b> for the workgroup MYGROUP.
Dec  8 11:28:40 console nmbd[5973]:   Unable to sync browse lists in 
this workgroup.
Dec  8 11:43:29 console nmbd[5973]: [2011/12/08 11:43:29, 0] 
nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail(351)
Dec  8 11:43:29 console nmbd[5973]:   find_domain_master_name_query_fail:
Dec  8 11:43:29 console nmbd[5973]:   Unable to find the Domain Master 
Browser name MYGROUP<1b> for the workgroup MYGROUP.
Dec  8 11:43:29 console nmbd[5973]:   Unable to sync browse lists in 
this workgroup.
Dec  8 11:43:29 console nmbd[5973]: [2011/12/08 11:43:29, 0] 
nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail(351)
Dec  8 11:43:29 console nmbd[5973]:   find_domain_master_name_query_fail:
Dec  8 11:43:29 console nmbd[5973]:   Unable to find the Domain Master 
Browser name MYGROUP<1b> for the workgroup MYGROUP.
Dec  8 11:43:29 console nmbd[5973]:   Unable to sync browse lists in 
this workgroup.
Dec  8 11:58:45 console nmbd[5973]: [2011/12/08 11:58:45, 0] 
nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail(351)
Dec  8 11:58:45 console nmbd[5973]:   find_domain_master_name_query_fail:
Dec  8 11:58:45 console nmbd[5973]:   Unable to find the Domain Master 
Browser name MYGROUP<1b> for the workgroup MYGROUP.
Dec  8 11:58:45 console nmbd[5973]:   Unable to sync browse lists in 
this workgroup.
Dec  8 11:58:45 console nmbd[5973]: [2011/12/08 11:58:45, 0] 
nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail(351)
Dec  8 11:58:45 console nmbd[5973]:   find_domain_master_name_query_fail:
Dec  8 11:58:45 console nmbd[5973]:   Unable to find the Domain Master 
Browser name MYGROUP<1b> for the workgroup MYGROUP.
Dec  8 11:58:45 console nmbd[5973]:   Unable to sync browse lists in 
this workgroup.




More information about the samba mailing list