Re: [SLUG] Trouble with Samba configuration

From: Ian C. Blenke (icblenke@nks.net)
Date: Wed Jun 05 2002 - 10:50:45 EDT


On Tue, 2002-06-04 at 23:06, Seth Hollen wrote:
> Do you have the samba box acting as a wins server? that might help. I
> agree this sounds like a tough one.

WINS has nothing to do with browsing, unfortunately.

The only thing that WINS buys you is a central reliable NetBIOS name
lookup source (aka "n-node").

Your problem is with NetBIOS name broadcasts (aka "b-node") on your
local segment via \MAILSLOT\BROWSE (or \MAILSLOT\LANMAN for older
networks).

Every machine on a LAN segment that wishes to keep a "network
neighborhood" list is running as a "browser" collecting NetBIOS name
announcements in a browse-list.

These "browser" machines have their own lists, and contend to become
"master browser" with the other browsers on the LAN segment.

This "master browser" keeps the browse list of all NetBIOS hosts and
responds to client requests for the browse list.

The master browser can be found by looking for the
<01><02>__MSBROWSE__<02><01> NetBIOS name.

It is the responsibility of master browsers to respond to
\MAILSLOT\BROWSE requests and to feed other browsers on the segment with
the master browse list (using NetBIOS type 1E)

I've found that using samba as a master browser (or a browser at all for
that matter) is generally a Bad Idea. To disable samba from ever
becoming a master browser of any kind, add the following to your
smb.conf:

        domain master = no
        local master = no
        preferred master = no
        os level = 0

Then make sure your win98 box is enabled as the master browser.

Hope this helps.

- Ian C. Blenke <ian@blenke.com> <icblenke@nks.net>
http://ian.blenke.com



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:22:47 EDT