summaryrefslogtreecommitdiffstats
path: root/ipalib/backend.py
diff options
context:
space:
mode:
authorMartin Basti <mbasti@redhat.com>2015-03-25 15:34:16 +0100
committerJan Cholasta <jcholast@redhat.com>2015-04-02 12:26:04 +0000
commitb92136cba287e38d9c2f41c3163f5a6b0b62ca17 (patch)
tree10d4633cc4ef9fb53847c4c82f1a0812da574b73 /ipalib/backend.py
parentc311af06f60cfdb73be9c0aecb9ddc559db1a055 (diff)
downloadfreeipa-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.py2
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