From b92136cba287e38d9c2f41c3163f5a6b0b62ca17 Mon Sep 17 00:00:00 2001 From: Martin Basti Date: Wed, 25 Mar 2015 15:34:16 +0100 Subject: 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 --- ipalib/backend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ipalib/backend.py') 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 -- cgit