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