URL:
https://github.com/freeipa/freeipa/pull/3969
Author: tiran
Title: #3969: Fix logic of check_client_configuration
Action: opened
PR body:
"""
The helper function ipalib.util.check_client_configuration() now
considers a client configured when either:
* confdir is overwritten (e.g. with IPA_CONFDIR) and the conf_default
file exists
* confdir is /etc/ipa, /etc/ipa/default.conf exists and client
sysrestore index exists.
The check for sysrestore index is faster than checking for the presence
of the directory and presence of files in the directory. The sysrestore
index file must exists when there are valid restore items.
Fixes:
https://pagure.io/freeipa/issue/8133
Signed-off-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/3969/head:pr3969
git checkout pr3969