diff options
author | Jan Cholasta <jcholast@redhat.com> | 2013-12-10 11:53:32 +0100 |
---|---|---|
committer | Petr Viktorin <pviktori@redhat.com> | 2014-01-10 14:41:39 +0100 |
commit | d6c3d3f57afb82f39c400e98b878fb57e00c1139 (patch) | |
tree | 081c633f594fd0acaa2543c0fe09532494ce3f1f /ipaserver/plugins | |
parent | 4284a8349b4db3de2d67be6c201cd2490ad48a20 (diff) | |
download | freeipa-d6c3d3f57afb82f39c400e98b878fb57e00c1139.tar.gz freeipa-d6c3d3f57afb82f39c400e98b878fb57e00c1139.tar.xz freeipa-d6c3d3f57afb82f39c400e98b878fb57e00c1139.zip |
Store old entry state in dict rather than LDAPEntry.
https://fedorahosted.org/freeipa/ticket/3488
Diffstat (limited to 'ipaserver/plugins')
-rw-r--r-- | ipaserver/plugins/ldap2.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipaserver/plugins/ldap2.py b/ipaserver/plugins/ldap2.py index 97f26ec77..f6284dcb2 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): |