diff options
author | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2013-05-03 14:34:58 +0200 |
---|---|---|
committer | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2013-05-03 18:00:22 +0200 |
commit | a1fd9987e7f88dd71035396115c8ed132797046e (patch) | |
tree | 679f331a9b0883f86a49718388433e47aa6be74d | |
parent | 41e17d9d6188588859fe63d05076428f98df8766 (diff) | |
download | pykolab-a1fd9987e7f88dd71035396115c8ed132797046e.tar.gz |
Disconnect from the authn/authz database after closing the client connection
-rw-r--r-- | pykolab/auth/__init__.py | 2 | ||||
-rw-r--r-- | saslauthd/__init__.py | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/pykolab/auth/__init__.py b/pykolab/auth/__init__.py index 98c44f3..6eaa874 100644 --- a/pykolab/auth/__init__.py +++ b/pykolab/auth/__init__.py @@ -160,7 +160,7 @@ class Auth(pykolab.base.Base): self._auth.connect() - def disconnect(self): + def disconnect(self, domain=None): """ Connect to the domain authentication backend using domain, or fall back to the primary domain specified by the configuration. diff --git a/saslauthd/__init__.py b/saslauthd/__init__.py index dd801c9..f04a232 100644 --- a/saslauthd/__init__.py +++ b/saslauthd/__init__.py @@ -208,6 +208,7 @@ class SASLAuthDaemon(object): pass clientsocket.close() + auth.disconnect() def reload_config(self, *args, **kw): pass |