jean-francois pointed out problem with "lp_domain_role()" code, you
authorLuke Leighton <lkcl@samba.org>
Tue, 24 Nov 1998 14:42:42 +0000 (14:42 +0000)
committerLuke Leighton <lkcl@samba.org>
Tue, 24 Nov 1998 14:42:42 +0000 (14:42 +0000)
could never be a PDC.
(This used to be commit 2bcc540af80c37b8032a23d6d0045160a7c40e32)

source3/param/loadparm.c

index 49f1c44fcbd225b28726c67489e1124568fbab44..2286d95fd524fb0fde487a8b9897321d7b8888e5 100644 (file)
@@ -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:
                {