Timothy Madden
2011-Dec-06 15:26 UTC
[Samba] Configure samba to not look for domain master browser
Hello 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 ? Thank you, Timothy Madden
Gaiseric Vandal
2011-Dec-06 15:44 UTC
[Samba] Configure samba to not look for domain master browser
Windows / Samba machines should elect a domain master browser among themselves. Normally the PDC should win. With out domain browsing, you can't see machines in the "My Network Places" or "network neighborhood" etc. Depending on network size, you may want to implement a WINS server. On 12/06/2011 10:26 AM, Timothy Madden wrote:> Hello > > 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 ? > > Thank you, > Timothy Madden >
TAKAHASHI Motonobu
2011-Dec-06 15:54 UTC
[Samba] Configure samba to not look for domain master browser
> 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? --- TAKAHASHI Motonobu <monyo at samba.gr.jp>
Craig White
2011-Dec-07 05:13 UTC
[Samba] Configure samba to not look for domain master browser
On Tue, 2011-12-06 at 17:26 +0200, Timothy Madden wrote:> Hello > > 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 ?---- Why not configure logging to log to /var/log/samba and to syslog perhaps only level 1 or 0? see logging here... http://www.samba.org/samba/docs/using_samba/ch06.html Craig -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Adam Tauno Williams
2011-Dec-07 13:37 UTC
[Samba] Configure samba to not look for domain master browser
On Tue, 2011-12-06 at 17:26 +0200, 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 ?Do you have a WINS server? If so set that in the smb.conf file.
Timothy Madden
2011-Dec-08 10:33 UTC
[Samba] Configure samba to not look for domain master browser
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.