summaryrefslogtreecommitdiffstats
path: root/ipaserver/plugins/ldap2.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipaserver/plugins/ldap2.py')
-rw-r--r--ipaserver/plugins/ldap2.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipaserver/plugins/ldap2.py b/ipaserver/plugins/ldap2.py
index 97f26ec7..f6284dcb 100644
--- a/ipaserver/plugins/ldap2.py
+++ b/ipaserver/plugins/ldap2.py
@@ -272,7 +272,7 @@ class ldap2(LDAPClient, CrudBackend):
try:
config_entry = getattr(context, 'config_entry')
if config_entry.conn is self.conn:
- return config_entry.clone()
+ return config_entry
except AttributeError:
# Not in our context yet
pass
@@ -289,7 +289,7 @@ class ldap2(LDAPClient, CrudBackend):
for a in self.config_defaults:
if a not in config_entry:
config_entry[a] = self.config_defaults[a]
- context.config_entry = config_entry.clone()
+ context.config_entry = config_entry
return config_entry
def has_upg(self):