summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kolabd/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/kolabd/__init__.py b/kolabd/__init__.py
index 5b3c5fa..a6d9865 100644
--- a/kolabd/__init__.py
+++ b/kolabd/__init__.py
@@ -223,7 +223,8 @@ class KolabDaemon(object):
connected = False
while not connected:
try:
- connected = primary_auth.connect()
+ primary_auth.connect()
+ connected = True
except Exception, errmsg:
connected = False
log.error(_("Could not connect to LDAP, is it running?"))