On Tue, 2016-01-05 at 16:15 -0500, Simo Sorce wrote:
> The LDAP context was not checked on the first api call and a context may
> be null on some error conditions (LDAP server unreachable).
> 
> Always check that we have a valid context before calling the ldap API.
> 
> Builds abut it is untested.

Forgot to mention that this bug affects all 4.x versions and should
probably be backported on all maintained branches.

I opened a bug to track it too:
https://fedorahosted.org/freeipa/ticket/5577

Simo.

-- 
Simo Sorce * Red Hat, Inc * New York

-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

Reply via email to