[Freeipa-devel] [PATCH 0214] Make ldap_parse_rrentry() idempotent

Petr Spacek pspacek at redhat.com
Fri Dec 13 16:45:29 UTC 2013


Hello,

Make ldap_parse_rrentry() idempotent.

Now, a call to ldap_parse_rrentry() resets the internal entry
interators in ldap_entry_t so the results are always correct.

Without this patch, a second call returned empty ldapdb_rdatalist_t
because all iterators were at the end of internal lists.

This patch should go to branches v3 and master.

-- 
Petr^2 Spacek

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bind-dyndb-ldap-pspacek-0214-Make-ldap_parse_rrentry-idempotent.patch
Type: text/x-patch
Size: 4722 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20131213/b1d36b87/attachment.bin>


More information about the Freeipa-devel mailing list