summaryrefslogtreecommitdiff
path: root/source3/nmbd
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-05-08 21:19:58 +0000
committerGerald Carter <jerry@samba.org>2003-05-08 21:19:58 +0000
commit417d0e9afc321612a55928d5aa7ec6ead8dfcc0c (patch)
treea0ccacbdeb0e31610f2bf3467e223e5082f140d9 /source3/nmbd
parent27d68a306d1e816c95865671755398b4e04cf5b2 (diff)
downloadsamba-417d0e9afc321612a55928d5aa7ec6ead8dfcc0c.tar.gz
samba-417d0e9afc321612a55928d5aa7ec6ead8dfcc0c.tar.bz2
samba-417d0e9afc321612a55928d5aa7ec6ead8dfcc0c.zip
fix bug #47; revert registration of workgroup<1b> to 2.2 behavior
(This used to be commit 016f6b4e19c2b8e4f5e1d010cc428ca194650140)
Diffstat (limited to 'source3/nmbd')
-rw-r--r--source3/nmbd/nmbd_become_dmb.c2
1 files changed, 1 insertions, 1 deletions
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())
{