[Freeipa-devel] [PATCH] 416 Use valid LDAP search base in migration plugin

Rich Megginson rmeggins at redhat.com
Fri Jul 26 14:04:49 UTC 2013


On 07/26/2013 05:43 AM, Martin Kosek wrote:
> One find_entry_by_attr call did not set a search base leading to
> LDAP search call with zero search base. This leads to false negative
> results from LDAP.
>
> ----
>
> Pushed to master, ipa-3-2 as a one-liner.

Does the migrate code correctly handle the search return?  Before it was 
working fine when it got the err=32 - it just assumed the user did not 
already exist.  With the correct search base, the search will return 
err=0, and will return no search entries, which migration should assume 
means the user does not already exist.

>
> Martin
>
>
> _______________________________________________
> Freeipa-devel mailing list
> Freeipa-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/freeipa-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20130726/309bf5f0/attachment.htm>


More information about the Freeipa-devel mailing list