URL:
https://github.com/freeipa/freeipa/pull/5581
Author: abbra
Title: #5581: ipa-kdb: do not use OpenLDAP functions with NULL LDAP context
Action: opened
PR body:
"""
Calling to ipadb_get_connection() will remove LDAP context if any error
happens. This means upper layers must always verify that LDAP context
exists after such calls.
ipadb_get_user_auth() may re-read global configuration and that may fail
and cause IPA context to have NULL LDAP context.
Fixes:
https://pagure.io/freeipa/issue/8681
Signed-off-by: Alexander Bokovoy <abokovoy(a)redhat.com>
"""
To pull the PR as Git branch:
git remote add ghfreeipa
https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/5581/head:pr5581
git checkout pr5581