summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/param/loadparm.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 7d0208fb85..c21b88ff20 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -3813,8 +3813,11 @@ static void set_server_role(void)
server_role = ROLE_DOMAIN_MEMBER;
break;
case SEC_DOMAIN:
- if (lp_domain_logons())
- DEBUG(0, ("Server's Role (logon server) NOT ADVISED with domain-level security\n"));
+ if (lp_domain_logons()) {
+ DEBUG(1, ("Server's Role (logon server) NOT ADVISED with domain-level security\n"));
+ server_role = ROLE_DOMAIN_BDC;
+ break;
+ }
server_role = ROLE_DOMAIN_MEMBER;
break;
case SEC_ADS: