summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-05-08 21:20:07 +0000
committerGerald Carter <jerry@samba.org>2003-05-08 21:20:07 +0000
commit11d5c0a8b474e5285a8f6096bc48d2a1659f67d7 (patch)
tree608e9206df6de876b0f5e758b4964b5da328f9bf
parent1463c220c507eb8b76ef6527c772b0deda754217 (diff)
downloadsamba-11d5c0a8b474e5285a8f6096bc48d2a1659f67d7.tar.gz
samba-11d5c0a8b474e5285a8f6096bc48d2a1659f67d7.tar.bz2
samba-11d5c0a8b474e5285a8f6096bc48d2a1659f67d7.zip
fix bug #47; revert registration of workgroup<1b> to 2.2 behavior
(This used to be commit 26824f572d29bebd3791bad6f6690b35984705cd)
-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())
{