URL: https://github.com/freeipa/freeipa/pull/1532
Author: flo-renaud
 Title: #1532: [Backport][ipa-4-5] ipa-advise for smartcards updated
Action: opened

PR body:
"""
This PR was opened automatically because PR #1469 was pushed to master and 
backport to ipa-4-5 is required.
"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/1532/head:pr1532
git checkout pr1532
From fe1a5462e619b27ad194e7eebdf0e9fd51ee50b7 Mon Sep 17 00:00:00 2001
From: amitkuma <amitk...@redhat.com>
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
---
 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 fb328f29ca..109e9ba381 100644
--- a/ipaserver/advise/plugins/smart_card_auth.py
+++ b/ipaserver/advise/plugins/smart_card_auth.py
@@ -315,7 +315,8 @@ def add_pkcs11_module_to_systemwide_db(self):
 
     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'
             ]
_______________________________________________
FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org
To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org

Reply via email to