Hi all, just today I have setup my box to also be a WINS server and I started getting domain master name query fail messages shown as below. Jun 13 15:04:59 SERVER nmbd[2010]: [2003/06/13 15:04:59, 0] nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail(358) Jun 13 15:04:59 SERVER nmbd[2010]: find_domain_master_name_query_fail: Jun 13 15:04:59 SERVER nmbd[2010]: Unable to find the Domain Master Browser name HOME<1b> for the workgroup HOME. Jun 13 15:04:59 SERVER nmbd[2010]: Unable to sync browse lists in this workgroup. I am wondering how causes these messages? what is a domain_master_name? My network, including this box are set up to use workgroups only, not tied to any domain. Thanks for any help Johnny smb.conf global section =============================[global] smb passwd file = /etc/samba/smbpasswd passwd program = /usr/bin/passwd %u pam password change = yes encrypt passwords = yes socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 max log size = 50 preferred master = no obey pam restrictions = yes passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully* security = user unix password sync = yes workgroup = HOME server string = Server Computer netbios name = SERVER log file = /var/log/samba/%m.log #printing = lprng printcap = /etc/printcap load printers = yes printer admin = root hosts allow = 192.168.0. # for Traditional Chinese Users client code page = 950 valid chars = 0xb9 # configure server to be a WINS server wins support = yes name resolve order = wins lmhosts hosts bcast # alert SAMBA to use configured DNS or not dns proxy = no # allow samba server to broadcast via specified interface(s) interfaces = eth1
> > Jun 13 15:04:59 SERVER nmbd[2010]: [2003/06/13 15:04:59, 0] > nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail(358) > Jun 13 15:04:59 SERVER nmbd[2010]: > find_domain_master_name_query_fail: > Jun 13 15:04:59 SERVER nmbd[2010]: Unable to find the Domain Master > Browser name HOME<1b> for the workgroup HOME. > Jun 13 15:04:59 SERVER nmbd[2010]: Unable to sync browse > lists in this > workgroup. > > I am wondering how causes these messages? what is a > domain_master_name? My network, including this box are set up > to use workgroups only, not > tied to any domain.> preferred master = noI'd start by questioning about the above line... WHICH machine did "won" the elections in your net? You do know about the process by which the "network neighborhood" gets built don't you? So is there another W2K/XP server which is supposed to keep the browse list?>From your short message my wild guess is that the master browser did notregister the <1b> record to WINS because it: 1. Didn't knew that it has to (that is it's still broadcast only based, that is you've never reconfigured it for wins!) 2. It didn't knew that it is time to do that. Windows machines do not register names to WINS every second... BTW: I'd be a life grateful to someone pointing me to a Microsoft tool or method to trigger wins registration in a MS box; roughly the equivalent of "service smb restart"... So check who is the master browser in your network and why it doesn't use that particular WINS.
On Fri, 13 Jun 2003 12:19:55 +0200, "Vizitiu, Ciprian" <CVizitiu@gbif.org> said:> > preferred master = no > > I'd start by questioning about the above line... > > > WHICH machine did "won" the elections in your net? You do know about the > process by which the "network neighborhood" gets built don't you? > > So is there another W2K/XP server which is supposed to keep the browse > list? > From your short message my wild guess is that the master browser did not > register the <1b> record to WINS because it: > 1. Didn't knew that it has to (that is it's still broadcast only based, > that > is you've never reconfigured it for wins!) > 2. It didn't knew that it is time to do that. Windows machines do not > register names to WINS every second... BTW: I'd be a life grateful to > someone pointing me to a Microsoft tool or method to trigger wins > registration in a MS box; roughly the equivalent of "service smb > restart"... > > > So check who is the master browser in your network and why it doesn't use > that particular WINS.Thanks for the reply, very much appreciated. I have always thought that declaring a machine to be a WINS server will automatically make it the "browser server" which stores browse lists and NetBIOS records. My understanding right now is that they can be separated. Assuming I'd also make this machine (using the attached smb.conf), which is already set up as a WINS server, also a browser server. How do I register this "browser server" title to the WINS server (which is itself as well)? Or it is not required to be done? Which ever machine won the election to be the browser server, rest of clients within the subnet will know it, including the WINS server that will automicatlly picks it up (therefore the browser server is registered to the WINS server)? I will try to add following two lines into my smb.conf. domain master = yes; perferred master = yes; If any more steps are required, I think it's how to register browser server to the WINS? Thaks again, Johnny -- Johnny Shih johnnyshih@speedymail.org
> I have always thought that declaring a machine to be a WINS > server will automatically make it the "browser server" which > stores browse lists and NetBIOS records. My understanding > right now is that they can be separated.They are normally separated. In big networks WINS is a "core" machine while master browser function is done on each subnet.> Assuming I'd also make this machine (using the attached > smb.conf), which is already set up as a WINS server, also a > browser server. How do I register this "browser server" > title to the WINS server (which is itself as well)? Or it is > not required to be done?It is required but fortunately it's done automagically. ;-) When you restart samba if it ends up being a master browser it register itself as <1x> depending of the config; otherwise it will register as share.> Which ever machine won the election > to be the browser server, rest of clients within the subnet > will know it, including the WINS server that will > automicatlly picks it up (therefore the browser server is > registered to the WINS server)?WINS server never picks up thinks. Only the MB. It depends of the config of the MB: If the machine who wins the elections is configured to use WINS it will ALSO register itself at WINS server as a pair name-IP.> I will try to add following two lines into my smb.conf. > domain master = yes; > perferred master = yes; > > If any more steps are required, I think it's how to register > browser server to the WINS?Like I said: it is the duty of the MB to register the name of the domain/workgroup to the WINS. So whoever gets elected IF it knows about WINS it will register. My very own advice is to "cheat" elections (like putting os level = 254 and also domain master and preferred) so samba always wins. By doing this you bring the whole issue to the Linux world where you can control things... E.g. you can very easy look in /var/cache/samba/wins.dat and browse.dat and "see" what the WINS and the MB think of the network. A common problem though is that after blatantly cheating elections like that the list will be mostly empty. You have to "signal" the rest of the machines to "reanounce" themselves so the list gets populated. I was only able to do that by rebooting them Win9X and 2000. Beware that some gurus advice against this practice. I've never understood why; Yet I've seen a more powerful W2000 winning MB from the NT PDC and all worked fine until the MB was overloaded with a heavy SQL query; browse list responses were coming very slow although both the PDC and other machines had plenty of time. I was watching dumps hoping elections will start again but somehow the delay was short enough... Ever since I make samba win. Again: keep looking at the logs. On log level 6 log.nmbd and smbd will give you good info about what is going on!