diff options
Diffstat (limited to 'ipa-client/ipa-install')
-rwxr-xr-x | ipa-client/ipa-install/ipa-client-automount | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ipa-client/ipa-install/ipa-client-automount b/ipa-client/ipa-install/ipa-client-automount index d9a63e7ee..7ea69ec12 100755 --- a/ipa-client/ipa-install/ipa-client-automount +++ b/ipa-client/ipa-install/ipa-client-automount @@ -154,6 +154,9 @@ def configure_autofs_sssd(fstore, statestore, autodiscover, options): except Exception, e: sys.exit(e) + if 'autofs' not in sssdconfig.list_services(): + sssdconfig.new_service('autofs') + try: sssdconfig.activate_service('autofs') except SSSDConfig.NoServiceError: |