]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
Only register the #1b name if we are ROLE_DOMAIN_PDC rather than
authorTim Potter <tpot@samba.org>
Fri, 24 Aug 2001 19:21:40 +0000 (19:21 +0000)
committerTim Potter <tpot@samba.org>
Fri, 24 Aug 2001 19:21:40 +0000 (19:21 +0000)
lp_domain_master()
(This used to be commit b8fe147430fbceff5da8853e5240d251f2671d0e)

source3/nmbd/nmbd_become_dmb.c

index 76d92c2f3ed9b3a378020b950792351cafeb4857..089aa8f16a0f02a7ea796850db3220ef2343eafb 100644 (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())
     {