Page 1 of 1

Samba: Servers fighting to be master of domain

Posted: Wed Aug 12, 2009 3:57 pm
by unreal_champion
Hello,

I have the following messages in my logs:

Code: Select all

Aug 12 17:51:22 SERVER2 nmbd[5250]: [2009/08/12 17:51:22, 0] nmbd/nmbd_incomingdgrams.c:process_local_master_announce(311)
Aug 12 17:51:22 SERVER2 nmbd[5250]:   process_local_master_announce: Server SERVER1 at IP 192.168.*.* is announcing itself as a local master browser for workgroup DOMAINNAME and we think we are master. Forcing election.
Aug 12 17:51:22 SERVER2 nmbd[5250]: [2009/08/12 17:51:22, 0] nmbd/nmbd_become_lmb.c:unbecome_local_master_success(149)
Aug 12 17:51:22 SERVER2 nmbd[5250]:   *****
Aug 12 17:51:22 SERVER2 nmbd[5250]:
Aug 12 17:51:22 SERVER2 nmbd[5250]:   Samba name server SERVER2 has stopped being a local master browser for workgroup DOMAINNAME on subnet 192.168.*.*

Does anyone know what this means, and how to prevent it?

Thanks,

Re: Samba: Servers fighting to be master of domain

Posted: Wed Aug 12, 2009 5:44 pm
by Chris
Sound like a problem with the samba config.
They are both configured as being master?

change or add the following in smb.conf; usually /etc/samba/smb.conf
On one of the servers:

Code: Select all

# Domain Settings
domain master = no
local master = no 
This should solve it.