1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

r4482: in ads mixed mode there are also only one PDC and multiple BDC's

metze
This commit is contained in:
Stefan Metzmacher 2005-01-02 16:06:21 +00:00 committed by Gerald (Jerry) Carter
parent 52de02b2c3
commit 30980d2184

View File

@ -2965,7 +2965,10 @@ static void set_server_role(void)
case SEC_DOMAIN:
case SEC_ADS:
if (lp_domain_logons()) {
server_role = ROLE_DOMAIN_PDC;
if (Globals.bDomainMaster) /* auto or yes */
server_role = ROLE_DOMAIN_PDC;
else
server_role = ROLE_DOMAIN_BDC;
break;
}
server_role = ROLE_DOMAIN_MEMBER;