summaryrefslogtreecommitdiffstats
path: root/kolabd
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2014-02-16 02:22:11 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2014-02-16 02:22:11 +0100
commitb9af239a82d36b3013e976956e2b3b7715e76a54 (patch)
tree02828b61d562115985a836a99c60da88b7cd589e /kolabd
parent67284e13dd1a7504e20b8f22fb8895cea9a66f1d (diff)
downloadpykolab-b9af239a82d36b3013e976956e2b3b7715e76a54.tar.gz
Fix inifinite loop for initially connecting
Diffstat (limited to 'kolabd')
-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?"))