RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1540361 - ipa-advise for smartcards is out-of-date
Summary: ipa-advise for smartcards is out-of-date
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: ipa
Version: 7.4
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: rc
: ---
Assignee: IPA Maintainers
QA Contact: ipa-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-01-30 21:12 UTC by Rob Crittenden
Modified: 2018-04-10 16:50 UTC (History)
7 users (show)

Fixed In Version: ipa-4.5.4-10.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-10 16:49:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0918 0 None None None 2018-04-10 16:50:16 UTC

Description Rob Crittenden 2018-01-30 21:12:52 UTC
This bug is created as a clone of upstream ticket:
https://pagure.io/freeipa/issue/7358

### Issue

orionp was having issues enabling smartcard support. He said it was still enabling pam_pkcs11 following ipa-advise:

authconfig --enablesmartcard --smartcardmodule=sssd --updateall 

He said that following Sumit's suggestion in https://bugzilla.redhat.com/show_bug.cgi?id=1378943#c12 worked:

authconfig --enablesssd --enablesssdauth --enablesmartcard --smartcardmodule=sssd --smartcardaction=0 --updateall

ipa-server-4.5.0-22.sl7_4.x86_64

Comment 1 Florence Blanc-Renaud 2018-02-07 11:59:04 UTC
Fixed upstream
master:
https://pagure.io/freeipa/c/6c81a2cb50a9857ae6508c1d0949b21d08f3850f

Comment 2 Florence Blanc-Renaud 2018-02-07 14:21:16 UTC
Fixed upstream
ipa-4-5:
https://pagure.io/freeipa/c/c4b05778cfe0b61d4c08a36189bb72905f299b5a

Comment 3 Florence Blanc-Renaud 2018-02-07 14:23:04 UTC
Fixed upstream
ipa-4-6:
https://pagure.io/freeipa/c/8595e343a17826df725cc69fd6d713da412d63e1

Comment 5 Scott Poore 2018-02-08 14:15:33 UTC
Verified.

Version ::

ipa-server-4.5.4-10.el7.x86_64

Results ::

Fortunately, I already had a test env setup from earlier version.  backed up the script to test with:

[root@ipaserver ~]# mv setup_client.sh setup_client-4.5.4-4.sh

Then just re-run ipa-advise to get new script and compare:

[root@ipaserver ~]# ipa-advise config-client-for-smart-card-auth > setup_client-4.5.4-10.sh
trying https://ipaserver.ipa.test/ipa/session/json

[root@ipaserver ~]# diff setup_client-4.5.4-4.sh setup_client-4.5.4-10.sh
70c70
< authconfig --enablesmartcard --smartcardmodule=sssd --updateall
---
> authconfig --enablesssd --enablesssdauth --enablesmartcard --smartcardmodule=sssd --smartcardaction=1 --updateall

So just the authconfig updates.

Comment 8 errata-xmlrpc 2018-04-10 16:49:55 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:0918


Note You need to log in before you can comment on or make changes to this bug.