diff --git a/ipaclient/install/ipa_client_automount.py b/ipaclient/install/ipa_client_automount.py index 3ef257a43..fdf974d0d 100644 --- a/ipaclient/install/ipa_client_automount.py +++ b/ipaclient/install/ipa_client_automount.py @@ -355,9 +355,10 @@ def uninstall(fstore, statestore): continue if provider == "ipa": domain.remove_option('ipa_automount_location') + sssdconfig.save_domain(domain) domain.remove_provider('autofs') + sssdconfig.save_domain(domain) break - sssdconfig.save_domain(domain) sssdconfig.write(paths.SSSD_CONF) sssd = services.service('sssd', api) sssd.restart()