summaryrefslogtreecommitdiffstats
path: root/saslauthd
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-04-24 15:45:05 +0200
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-04-24 15:45:05 +0200
commit9d6b584e7826c0586895d974f91fd69dae645cd0 (patch)
tree5f709b0d77fc517030847b3716f19a8270b08b77 /saslauthd
parent934359775551443e95ecf67978dec07b86377478 (diff)
downloadpykolab-9d6b584e7826c0586895d974f91fd69dae645cd0.tar.gz
Connect the instance of Auth() or authentication will fail
Diffstat (limited to 'saslauthd')
-rw-r--r--saslauthd/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/saslauthd/__init__.py b/saslauthd/__init__.py
index 634594d..6daebf3 100644
--- a/saslauthd/__init__.py
+++ b/saslauthd/__init__.py
@@ -147,6 +147,7 @@ class SASLAuthDaemon(object):
login.append(value)
auth = Auth()
+ auth.connect()
if auth.authenticate(login):
clientsocket.send(struct.pack("!H2s", 2, "OK"))
else: