summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-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())
{