From d40890e6a05badaac4b41979890a17ef1e69b5f7 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Tue, 11 Mar 2003 09:16:37 +0000 Subject: This is how combination of domain logons and security parameter best combine. Comments wellcome. Simo. (This used to be commit e1431424e7603d946f63cfe7fe669b0b32ac8095) --- source3/param/loadparm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/param') diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index f7f12bbe80..2a83905a9f 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -3804,14 +3804,14 @@ static void set_server_role(void) switch (lp_security()) { case SEC_SHARE: + case SEC_SERVER: + case SEC_ADS: if (lp_domain_logons()) DEBUG(0, ("Server's Role (logon server) conflicts with share-level security\n")); break; - case SEC_SERVER: case SEC_DOMAIN: - case SEC_ADS: if (lp_domain_logons()) { - server_role = ROLE_DOMAIN_PDC; + server_role = ROLE_DOMAIN_BDC; break; } server_role = ROLE_DOMAIN_MEMBER; -- cgit