summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-09-25 12:32:17 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-09-25 12:32:17 +0000
commitd7ffd7a40adecb7de72b9e38e761ccc789852f9e (patch)
treea5dd5075046e2b220bce0cd77c371c16b314c69a /source3/param
parentd386b71d32d2a7dff8442b6df0654d0b67d29044 (diff)
downloadsamba-d7ffd7a40adecb7de72b9e38e761ccc789852f9e.tar.gz
samba-d7ffd7a40adecb7de72b9e38e761ccc789852f9e.tar.bz2
samba-d7ffd7a40adecb7de72b9e38e761ccc789852f9e.zip
Fix the circular dependency that was preventing 'domain master = auto' (the
default) from working. Andrew Bartlett (This used to be commit 25950dbb3272949a235bed936c7d7b1d23f15fac)
Diffstat (limited to 'source3/param')
-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;