fix bug #47; revert registration of workgroup<1b> to 2.2 behavior
authorGerald Carter <jerry@samba.org>
Thu, 8 May 2003 21:20:07 +0000 (21:20 +0000)
committerGerald Carter <jerry@samba.org>
Thu, 8 May 2003 21:20:07 +0000 (21:20 +0000)
(This used to be commit 26824f572d29bebd3791bad6f6690b35984705cd)

source3/nmbd/nmbd_become_dmb.c

index 6b92f4c3c0f936f29659a750495cd8267d894d0b..2e76e51f453676cd3354afdf91f2b06e498ba3d9 100644 (file)
@@ -375,7 +375,7 @@ void add_domain_names(time_t t)
     add_logon_names();
 
   /* Do the domain master names. */
-  if(lp_server_role() == ROLE_DOMAIN_PDC)
+  if(lp_domain_master())
   {
     if(we_are_a_wins_client())
     {