[Freeipa-devel] [PATCH 0286] baseldap: Handle missing parent objects properly in *-find

Tomas Babej tbabej at redhat.com
Wed Nov 19 11:03:23 UTC 2014


Hi,

When constructing a parent DN in LDAPSearch, we should always
check that the parent object exists (hence use get_dn_if_exists),
rather than search on unexistant containers (which can happen
with get_dn).

Replaces get_dn calls with get_dn_if_exists in *-find commands
and makes sure proper error message is raised.

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

-- 
Tomas Babej
Associate Software Engineer | Red Hat | Identity Management
RHCE | Brno Site | IRC: tbabej | freeipa.org 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-tbabej-0286-baseldap-Handle-missing-parent-objects-properly-in-f.patch
Type: text/x-patch
Size: 1523 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20141119/cbb26e45/attachment.bin>


More information about the Freeipa-devel mailing list