Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: jim7jim on March 17, 2010, 10:33:43 PM

Title: SME winning browser election from DC
Post by: jim7jim on March 17, 2010, 10:33:43 PM
Running Win Server 2003 as DC. Can't browse network with clients. In Event log of DC, I see many events stating that 'The browser running on the Domain Controller has lost an election.' The event mentions that my SME server won the election.

I found somewhere that maybe I should set SME server to domain master = no, but I'm not sure how to do that. In the Admin panel, Workgroup and Domain Controller is set to no. Anybody have an idea what I need to do?

Thanks in advance for any assistance.
Title: Re: SME winning browser election from DC
Post by: cactus on March 17, 2010, 10:58:20 PM
Can you login as root and show us the output of the following command:
Code: [Select]
db configuration show smb
Title: Re: SME winning browser election from DC
Post by: jim7jim on March 17, 2010, 11:23:41 PM
I get this:

[root@servername ~]# db configuration show smb
smb=service
    DeadTime=10080
    KeepVersions=disabled
    OpLocks=enabled
    OsLevel=35
    RecycleBin=disabled
    RoamingProfiles=no
    ServerName=<my server name>
    ServerRole=WS
    ShadowCount=10
    ShadowDir=/home/e-smith/files/.shadow
    UnixCharSet=UTF8
    UseClientDriver=yes
    Workgroup=<my domain name>
    status=enabled
Title: Re: SME winning browser election from DC
Post by: jim7jim on March 19, 2010, 05:43:41 PM
Does anyone know if the above settings show that SME is trying to be the master browser?

Thanks in advance.
Title: Re: SME winning browser election from DC
Post by: cactus on March 19, 2010, 05:52:57 PM
Does anyone know if the above settings show that SME is trying to be the master browser?
It might be as I am not sure what OS Level your windows box seems to have, here is a list of expected OS Levels for some older windows versions: http://lists.samba.org/archive/samba-technical/2002-February/019555.html
Title: Re: SME winning browser election from DC
Post by: jim7jim on March 19, 2010, 06:33:12 PM
Thanks for the info. I'm running Win Server 2003 Enterprise DC which isn't in the list you linked to, but I've read elsewhere that the max for a Windows server OS level is 32.

So could I just set the SME server to OS level 0? Would I do that something like this?

db configuration setprop smb OsLevel 0
signal-event ?? something ??
Title: Re: SME winning browser election from DC
Post by: janet on March 19, 2010, 09:40:15 PM
jim7jim

config setprop smb OsLevel 11
signal-event post-upgrade
signal-event reboot
Title: Re: SME winning browser election from DC
Post by: jim7jim on March 20, 2010, 03:39:08 PM
Thanks cactus and mary for your help.

I believe my problem is fixed. I found an old post describing the correct syntax to change OsLevel and now my DC seems to be the master browser again. I did this:

config setprop smb OsLevel 30 
signal-event workgroup-update


Thanks again for your help!  :grin: