diff options
author | Martin Basti <mbasti@redhat.com> | 2015-03-25 15:34:16 +0100 |
---|---|---|
committer | Jan Cholasta <jcholast@redhat.com> | 2015-04-02 12:26:04 +0000 |
commit | b92136cba287e38d9c2f41c3163f5a6b0b62ca17 (patch) | |
tree | 10d4633cc4ef9fb53847c4c82f1a0812da574b73 /ipalib/backend.py | |
parent | c311af06f60cfdb73be9c0aecb9ddc559db1a055 (diff) | |
download | freeipa-b92136cba287e38d9c2f41c3163f5a6b0b62ca17.tar.gz freeipa-b92136cba287e38d9c2f41c3163f5a6b0b62ca17.tar.xz freeipa-b92136cba287e38d9c2f41c3163f5a6b0b62ca17.zip |
Fix ldap2 shared connection
Since API is not singleton anymore, ldap2 connections should not be
shared by default.
https://fedorahosted.org/freeipa/ticket/4904
Reviewed-By: Jan Cholasta <jcholast@redhat.com>
Diffstat (limited to 'ipalib/backend.py')
-rw-r--r-- | ipalib/backend.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/backend.py b/ipalib/backend.py index 4c1001d4d..fcbbd254a 100644 --- a/ipalib/backend.py +++ b/ipalib/backend.py @@ -46,7 +46,7 @@ class Connectible(Backend): `request.destroy_context()` can properly close all open connections. """ - def __init__(self, shared_instance=True): + def __init__(self, shared_instance=False): Backend.__init__(self) if shared_instance: self.id = self.name |