ldap2.find_entries modifies the passed in attrs_list to remove the virtual attributes memberindirect and memberofindirect before passing the list to LDAP.
memberindirect
memberofindirect
This means that call like
ldap2.get_entry(dn, attrs_list=some_framework_object.default_attributes)
will permanently remove the virtual attributes from the some_framework_object's definition.
some_framework_object
To prevent nasty surprises, the method must be fixed. And we need to make sure no code/tests depend on this behavior.
Internal bug.
master:
Metadata Update from @pviktori: - Issue assigned to pviktori - Issue set to the milestone: FreeIPA 4.0 - 2014/05
Login to comment on this ticket.