summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-11-24 14:42:42 +0000
committerLuke Leighton <lkcl@samba.org>1998-11-24 14:42:42 +0000
commit0c9df3c61007eb170ae17282d7b31bea6899a656 (patch)
tree81bb672f6fe5f4c078c22a3fc1e53c3811579d89 /source3/param
parent49e158f0c158fdda54c95158a7cf26f0c9ec3507 (diff)
downloadsamba-0c9df3c61007eb170ae17282d7b31bea6899a656.tar.gz
samba-0c9df3c61007eb170ae17282d7b31bea6899a656.tar.bz2
samba-0c9df3c61007eb170ae17282d7b31bea6899a656.zip
jean-francois pointed out problem with "lp_domain_role()" code, you
could never be a PDC. (This used to be commit 2bcc540af80c37b8032a23d6d0045160a7c40e32)
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:
{