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