URL:
https://github.com/freeipa/freeipa/pull/4217
Author: flo-renaud
Title: #4217: ipatests: fix modify_sssd_conf()
Action: opened
PR body:
"""
The method modify_sssd_conf() is copying a remote sssd.conf file
to the test controller then uses sssd python API to modify the
config file.
When the test controller does not have sssd-common package installed,
SSSDConfig() call fails because the API needs sssd schema in order
to properly parse the config file, and the schema files are provided
by sssd-common pkg.
The fix also downloads the files representing sssd schema and calls
SSSDConfig() with those files.
Note: we currently don't see any issue in the nightly tests because
the test controller is installed with sssd-common package but if you
run the tests as specified in
https://www.freeipa.org/page/Testing
with a controller missing sssd-common, you will see the issue.
"""
To pull the PR as Git branch:
git remote add ghfreeipa
https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/4217/head:pr4217
git checkout pr4217