From 6c81a2cb50a9857ae6508c1d0949b21d08f3850f Mon Sep 17 00:00:00 2001 From: amitkuma Date: Tue, 16 Jan 2018 15:56:25 +0530 Subject: [PATCH] ipa-advise for smartcards updated ...... authconfig --enablesmartcard --smartcardmodule=sssd --updateall Advise is updated to: authconfig --enablesssd --enablesssdauth --enablesmartcard --smartcardmodule=sssd --smartcardaction=1 --updateall Resolves: https://pagure.io/freeipa/issue/7358 Reviewed-By: Christian Heimes --- ipaserver/advise/plugins/smart_card_auth.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ipaserver/advise/plugins/smart_card_auth.py b/ipaserver/advise/plugins/smart_card_auth.py index fb328f29c..109e9ba38 100644 --- a/ipaserver/advise/plugins/smart_card_auth.py +++ b/ipaserver/advise/plugins/smart_card_auth.py @@ -315,7 +315,8 @@ class config_client_for_smart_card_auth(common_smart_card_auth_config): def run_authconfig_to_configure_smart_card_auth(self): self.log.exit_on_failed_command( - 'authconfig --enablesmartcard --smartcardmodule=sssd --updateall', + 'authconfig --enablesssd --enablesssdauth --enablesmartcard ' + '--smartcardmodule=sssd --smartcardaction=1 --updateall', [ 'Failed to configure Smart Card authentication in SSSD' ]