mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-10-24 14:17:41 -05:00
fix caching in get_ipa_config
Different opbject types were compared thus always result of comparation was False and caching does not work. https://fedorahosted.org/freeipa/ticket/5463 Reviewed-By: Jan Cholasta <jcholast@redhat.com>
This commit is contained in:
1 parent
4d59a711af
commit
7f0d018c66
1 file changed
+1
-1
@@ -208,7 +208,7 @@ class ldap2(CrudBackend, LDAPClient):
|
||||
|
||||
try:
|
||||
config_entry = getattr(context, 'config_entry')
|
||||
if config_entry.conn is self.conn:
|
||||
if config_entry.conn.conn is self.conn:
|
||||
return config_entry
|
||||
except AttributeError:
|
||||
# Not in our context yet
|
||||
|
||||
Reference in new issue
Block a user