URL:
https://github.com/freeipa/freeipa/pull/1830
Author: frasertweedale
Title: #1830: certprofile: reject config with multiple profileIds
Action: opened
PR body:
"""
In certprofile-import if the config file contains two profileId directives
with different values, with the first matching the profile ID CLI argument
and the second differing, the profile gets imported under the second ID.
This leads to:
- failure to enable the profile
- failure to add the IPA "tracking" certprofile object
- inability to delete the misnamed profile from Dogtag (via ipa CLI)
To avert this scenario, detect and reject profile configurations where
profileId is specified multiple times (whether or not the values differ).
https://pagure.io/freeipa/issue/7503
"""
To pull the PR as Git branch:
git remote add ghfreeipa
https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/1830/head:pr1830
git checkout pr1830