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:
parent
52de02b2c3
commit
30980d2184
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user