mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-10-25 06:38:02 -05:00
This repalces the straight string parsing from IPAv3.0.0. It should be much more robust and result in a valid configuration file when complete. aug.save() will assure that as it will raise an error otherwise. This will handle the following cases: * db_library = ipadb.so : do nothing * db_library is missing, set to ipadb.so * db_library is something else, replace wih ipadb.so Fixes: https://pagure.io/freeipa/issue/9862 Related: https://pagure.io/freeipa/issue/5913 Signed-off-by: Rob Crittenden <rcritten@redhat.com> Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>