diff options
author | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2012-04-24 15:45:05 +0200 |
---|---|---|
committer | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2012-04-24 15:45:05 +0200 |
commit | 9d6b584e7826c0586895d974f91fd69dae645cd0 (patch) | |
tree | 5f709b0d77fc517030847b3716f19a8270b08b77 | |
parent | 934359775551443e95ecf67978dec07b86377478 (diff) | |
download | pykolab-9d6b584e7826c0586895d974f91fd69dae645cd0.tar.gz |
Connect the instance of Auth() or authentication will fail
-rw-r--r-- | saslauthd/__init__.py | 1 |
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: |