1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-28 01:58:17 +03:00

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

lp_domain_master()
(This used to be commit b8fe147430fbceff5da8853e5240d251f2671d0e)
This commit is contained in:
Tim Potter 2001-08-24 19:21:40 +00:00
parent be184b2662
commit 2236c671a0

View File

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