summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/param/loadparm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index f7f12bbe80..2a83905a9f 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -3804,14 +3804,14 @@ static void set_server_role(void)
switch (lp_security()) {
case SEC_SHARE:
+ case SEC_SERVER:
+ case SEC_ADS:
if (lp_domain_logons())
DEBUG(0, ("Server's Role (logon server) conflicts with share-level security\n"));
break;
- case SEC_SERVER:
case SEC_DOMAIN:
- case SEC_ADS:
if (lp_domain_logons()) {
- server_role = ROLE_DOMAIN_PDC;
+ server_role = ROLE_DOMAIN_BDC;
break;
}
server_role = ROLE_DOMAIN_MEMBER;