summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/param/loadparm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 4aaf6f20eb..c484439837 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -3563,7 +3563,7 @@ static void set_server_role(void)
case SEC_USER:
if (lp_domain_logons()) {
- if (lp_domain_master())
+ if (Globals.bDomainMaster) /* auto or yes */
server_role = ROLE_DOMAIN_PDC;
else
server_role = ROLE_DOMAIN_BDC;