Files
freeipa/ipalib
Tomas Babej e11e8235ac baseldap: Handle missing parent objects properly in *-find commands
The find_entries function in ipaldap does not differentiate between
a LDAP search that returns error code 32 (No such object) and LDAP
search returning error code 0 (Success), but returning no results.

In both cases errors.NotFound is raised. In turn, LDAPSearch
commands interpret NotFound exception as no results.

To differentiate between the cases, a new error EmptyResult
was added, which inherits from NotFound to preserve the compatibility
with the new code.

This error is raised by ipaldap.find_entries in case it is performing
a search with and the target dn does not exist.

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

Reviewed-By: Jan Cholasta <jcholast@redhat.com>
2015-01-13 16:16:14 +00:00
..
2014-06-04 10:10:08 +02:00
2014-06-03 15:55:32 +02:00
2014-06-23 10:54:42 +02:00
2013-10-08 16:46:20 +02:00
2013-01-29 15:39:49 +01:00
2014-06-09 16:27:41 +02:00
2013-11-21 10:34:25 +01:00