[Freeipa-devel] [PATCH] 248 Raise proper exception when LDAP limits are exceeded

Martin Kosek mkosek at redhat.com
Tue Apr 10 08:57:42 UTC 2012


Few test hints are attached to the ticket.

---

ldap2 plugin returns NotFound error for find_entries/get_entry
queries when the server did not manage to return an entry
due to time limits. This may be confusing for user when the
entry he searches actually exists.

This patch fixes the behavior in ldap2 plugin to return
LimitsExceeded exception instead. This way, user would know
that his time/size limits are set too low and can amend them to
get correct results.

https://fedorahosted.org/freeipa/ticket/2606

-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-mkosek-248-raise-proper-exception-when-ldap-limits-are-exceeded.patch
Type: text/x-patch
Size: 1529 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20120410/645fecc6/attachment.bin>


More information about the Freeipa-devel mailing list