summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
Diffstat (limited to 'source3/param')
-rw-r--r--source3/param/loadparm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 49f1c44fcb..2286d95fd5 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -2756,9 +2756,9 @@ int lp_server_role(void)
{
if (lp_domain_logons())
{
- return ROLE_DOMAIN_BDC;
+ return ROLE_DOMAIN_PDC;
}
- return ROLE_DOMAIN_PDC;
+ return ROLE_DOMAIN_NONE;
}
default:
{