Mailinglist Archive: opensuse (2343 mails)

< Previous Next >
Re: [opensuse] Samba Question
  • From: "David C. Rankin" <drankinatty@xxxxxxxxxxxxxxxxxx>
  • Date: Mon, 05 Jan 2009 11:23:13 -0600
  • Message-id: <49624201.6000401@xxxxxxxxxxxxxxxxxx>
Donald D Henson wrote:
James Knott wrote:
Donald D Henson wrote:
I can't seem to find the answer to the following question, not even in
"Samba for Dummies". I guess the question is too simple. Anyway...

Is it okay to have more than one samba server in a given local network?

Or put another way...

Do you need a samba server on each linux machine that wants to serve shares?

Responses appreciated.

You can have multiple servers on the network and any Linux box can be a
server. If you're not sharing to Windows systems, you can also use NFS
instead of Samba.

I'm trying to use both. I'm using NFS for certain functions that do not
require Windows and would like to use Samba for those functions that do.
This is doable. Right?


Did you ever get this sorted out? The big thing with multiple samba
boxes to
remember that (1) you can only have 1 wins server on the network, and (2) each
samba box can either be a wins server or wins client, but not both. To specify
a samba box as a wins server, that is controlled in your /etc/samba/smb.conf by:

wins support = yes

and further refined with:

local master = yes
os level = 69
domain master = yes
preferred master = yes
name resolve order = wins lmhosts bcast

For a wins client, you simply eliminate the wins support parameter and
the wins server parameter so the box knows where to look for the browse list:

wins server =

and to insure you browse master election comes out the way you want, set the os
level lower on your clients:

os level = 57

That will insure your wins clients never win the browse election. As
clients, normal election rules apply, but as long as you master always wins,
you don't care about the clients. It just cuts down on chatter in the nmbd log

Make sure you don't have a windows server that also considers itself the
master. I have forgotten the exact election rules, but if you set your the os
level of you master greater than 62, I believe you will always win the browse
election. I know setting it at 69 does it for sure.

David C. Rankin, J.D.,P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups