From 11d5c0a8b474e5285a8f6096bc48d2a1659f67d7 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Thu, 8 May 2003 21:20:07 +0000 Subject: fix bug #47; revert registration of workgroup<1b> to 2.2 behavior (This used to be commit 26824f572d29bebd3791bad6f6690b35984705cd) --- source3/nmbd/nmbd_become_dmb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/nmbd') diff --git a/source3/nmbd/nmbd_become_dmb.c b/source3/nmbd/nmbd_become_dmb.c index 6b92f4c3c0..2e76e51f45 100644 --- a/source3/nmbd/nmbd_become_dmb.c +++ b/source3/nmbd/nmbd_become_dmb.c @@ -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()) { -- cgit