mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06: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:
parent
4d59a711af
commit
7f0d018c66
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user