There's good documentation on this in the BROWSING.txt file in the Samba
documentation (or there used to be - I haven't used samba in a while).  If
you want the samba machine to always win, set os level high (like >
64). Also, though, it almost never makes sense to have nmbd launched from
inetd, which you appear to be doing here. nmbd answers name requests on
the network, and also handles the browser election process when
necessary; it can pull in a lot of request packets and so the overhead of
starting and restarting it under inetd is too high.

ap

----------------------------------------------------------------------
Andrew J Perrin - http://www.unc.edu/~aperrin
Assistant Professor of Sociology, U of North Carolina, Chapel Hill
[EMAIL PROTECTED] * andrew_perrin (at) unc.edu


On Wed, 1 May 2002, Randy Orrison wrote:

> On Wed, May 01, 2002 at 04:22:07PM +0930, Tom Cook wrote:
> | On  0, Randy Orrison <[EMAIL PROTECTED]> wrote:
> | > I've recently added a Windows NT4sp6a box to my home network, configured 
> as
> | > a PDC and running Microsoft Exchange (don't ask).  Since then, whenever 
> it's
> | > up, I keep getting the following entries in /var/log/syslog:
> | > 
> | > May  1 04:59:23 evo xinetd[606]: START: netbios-ns pid=19288 
> from=192.168.33.3
> | 
> | I think this is caused by your linux box's samba service winning the
> | election for domain master.  If you don't want this to happen you need
> | these in /etc/samba/smb.conf:
> | 
> |    os level = 0
> |    domain master = no
> |    local master = no
> |    preferred master = no
> | 
> | Then your NT box can happily win the election.
> 
> That did it, thanks!  I'll have to read up more on those options, since my
> NT box is not always up and I (think I) would prefer the linux box to be the
> browse master...
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to