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

Only register the #1b name if we are ROLE_DOMAIN_PDC rather than

lp_domain_master()
This commit is contained in:
Tim Potter 0001-01-01 00:00:00 +00:00
parent 0f08e79030
commit b8fe147430

View File

@ -382,7 +382,7 @@ void add_domain_names(time_t t)
add_logon_names();
/* Do the domain master names. */
if(lp_domain_master())
if(lp_server_role() == ROLE_DOMAIN_PDC)
{
if(we_are_a_wins_client())
{