URL:
https://github.com/freeipa/freeipa/pull/1544
Author: tiran
Title: #1544: [Backport][ipa-4-6] ipa-kdb: use magic value to check if ipadb is used
Action: opened
PR body:
"""
Manual backport of PR #1537
The certauth plugin is configured in /etc/krb5.conf independently form
the database module. As a result the IPA certauth plugin can be added to
the configuration without the IPA DAL driver. Since the IPA certauth
plugin depends on the presence of the IPA DAL driver this patch adds a
magic value at the beginning of struct ipadb_context which can be
checked to see if the IPA DAL driver is properly initialized.
Resolves
https://pagure.io/freeipa/issue/7261
Reviewed-By: Christian Heimes <cheimes(a)redhat.com>
"""
To pull the PR as Git branch:
git remote add ghfreeipa
https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/1544/head:pr1544
git checkout pr1544