summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-08-24 19:21:40 +0000
committerTim Potter <tpot@samba.org>2001-08-24 19:21:40 +0000
commit2236c671a0ecf303492a644adae002a6cf009bf2 (patch)
treef7a4f170ea2c09b72088601fb77feda24033a187
parentbe184b26620b64af6b7114fa29f2c2b525fa1cb8 (diff)
downloadsamba-2236c671a0ecf303492a644adae002a6cf009bf2.tar.gz
samba-2236c671a0ecf303492a644adae002a6cf009bf2.tar.bz2
samba-2236c671a0ecf303492a644adae002a6cf009bf2.zip
Only register the #1b name if we are ROLE_DOMAIN_PDC rather than
lp_domain_master() (This used to be commit b8fe147430fbceff5da8853e5240d251f2671d0e)
-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 76d92c2f3e..089aa8f16a 100644
--- a/source3/nmbd/nmbd_become_dmb.c
+++ b/source3/nmbd/nmbd_become_dmb.c
@@ -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())
{