summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/nameelect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nameelect.c b/source3/nameelect.c
index a53f86dcee..cc1c2bc002 100644
--- a/source3/nameelect.c
+++ b/source3/nameelect.c
@@ -519,7 +519,7 @@ void become_logon_server(struct subnet_record *d, struct work_record *work)
{
if (!work || !d) return;
- if (lp_domain_logons())
+ if (!lp_domain_logons())
{
DEBUG(0,("samba not configured as a logon master.\n"));
return;