diff options
author | Jan Cholasta <jcholast@redhat.com> | 2014-02-24 10:10:27 +0100 |
---|---|---|
committer | Petr Viktorin <pviktori@redhat.com> | 2014-02-24 14:30:23 +0100 |
commit | 792c3f9c8c65e24953241247a242490c8fb32492 (patch) | |
tree | 7f4cd5c0bbfa8e348d240c375a59ffde1b7c7dfb /ipaserver/plugins/ldap2.py | |
parent | adcd373931c50d91550f6b74b191d08ecce5b137 (diff) | |
download | freeipa-792c3f9c8c65e24953241247a242490c8fb32492.tar.gz freeipa-792c3f9c8c65e24953241247a242490c8fb32492.tar.xz freeipa-792c3f9c8c65e24953241247a242490c8fb32492.zip |
Always use real entry DNs for memberOf in ldap2.
https://fedorahosted.org/freeipa/ticket/4192
Reviewed-By: Petr Viktorin <pviktori@redhat.com>
Diffstat (limited to 'ipaserver/plugins/ldap2.py')
-rw-r--r-- | ipaserver/plugins/ldap2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaserver/plugins/ldap2.py b/ipaserver/plugins/ldap2.py index f6284dcb2..17bd84118 100644 --- a/ipaserver/plugins/ldap2.py +++ b/ipaserver/plugins/ldap2.py @@ -258,8 +258,8 @@ class ldap2(LDAPClient, CrudBackend): indirect.remove(dn) direct.add(dn) + entry['memberof'] = list(direct) if indirect: - entry['memberof'] = list(direct) entry['memberofindirect'] = list(indirect) config_defaults = {'ipasearchtimelimit': [2], 'ipasearchrecordslimit': [0]} |