python-ldap's ldap.controls.simple.GetEffectiveRightsControl object should be used in new python-ldap-2.4.6-2.fc17.x86_64 instead of ldap.controls.LDAPControl to retrieve effective rights for the bind DN.
ldap.controls.simple.GetEffectiveRightsControl
ldap.controls.LDAPControl
Details are in the BZ bellow:[[BR]] https://bugzilla.redhat.com/show_bug.cgi?id=802675
How to test:
Run the following command with both python-ldap 2.3.x and python-ldap 2.4.x versions. After the fix, both runs should succeed.
# ipa user-show admin --all --rights
attachment freeipa-mkosek-240-fix-ldap-ger.patch
Patch freeipa-mkosek-240-fix-ldap-ger.patch sent for review
master: 2d46000
ipa-2-2: 112c4b7
Metadata Update from @mkosek: - Issue assigned to mkosek - Issue set to the milestone: FreeIPA 2.2 Core Effort - 2012/03
Login to comment on this ticket.