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