[Freeipa-devel] [freeipa PR#68] netgroup: avoid extraneous LDAP search when retrieving primary key from DN (opened)

martbab freeipa-github-notification at redhat.com
Thu Sep 8 15:27:35 UTC 2016


martbab's pull request #68: "netgroup: avoid extraneous LDAP search when retrieving primary key from DN" was opened

PR body:
"""
Fixes https://fedorahosted.org/freeipa/ticket/5855

Please note that the parent method does not correctly handle cases when the
attribute considered as primary ked is contained in multiple RDNs: 

>>> LDAPObject.get_primary_key_from_dn(
...     DN('ipauniqueid=yadda-yadda,cn=ng,cn=alt,dc=ipa,dc=test'))
u'ng'

That's why I had to completely override parent method.
"""

See the full pull-request at https://github.com/freeipa/freeipa/pull/68
... or pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/68/head:pr68
git checkout pr68
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pr-68.patch
Type: text/x-diff
Size: 1461 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20160908/1f478421/attachment.bin>


More information about the Freeipa-devel mailing list