Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
This bug is created as a clone of upstream ticket:
https://pagure.io/SSSD/sssd/issue/3419
Current during Smartcard/PKINIT authentication the PAM client gets confused by additional data which is send if the user password, which is not used for this authentication type, is expired.
Verified
sssd-1.15.2-50.el7.x86_64
[root@vm-idm-023 ~]# cat /etc/sssd/sssd.conf
[domain/testrelm.test]
krb5_use_enterprise_principal = True
cache_credentials = True
krb5_store_password_if_offline = True
ipa_domain = testrelm.test
id_provider = ipa
auth_provider = ipa
access_provider = ipa
ipa_hostname = vm-idm-023.testrelm.test
chpass_provider = ipa
ipa_server = _srv_, vm-idm-010.testrelm.test
ldap_tls_cacert = /etc/ipa/ca.crt
[sssd]
services = nss, sudo, pam, ssh
domains = testrelm.test
[nss]
homedir_substring = /home
[pam]
[sudo]
[autofs]
[ssh]
[pac]
[ifp]
[secrets]
[root@vm-idm-023 ~]# systemctl restart sssd.service
[root@vm-idm-023 ~]# ssh -l tuser localhost
Password:
Password expired. Change your password now.
Current Password:
New password:
Retype new password:
Last login: Thu Jun 22 11:34:58 2017 from ::1
** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** **
This System is reserved by mvarun.
To return this system early. You can run the command: return2beaker.sh
Ensure you have your logs off the system before returning to Beaker
To extend your reservation time. You can run the command:
extendtesttime.sh
This is an interactive script. You will be prompted for how many
hours you would like to extend the reservation.
You should verify the watchdog was updated succesfully after
you extend your reservation.
https://beaker.engineering.redhat.com/recipes/3976287
For ssh, kvm, serial and power control operations please look here:
https://beaker.engineering.redhat.com/view/vm-idm-023.testrelm.test
For the default root password, see:
https://beaker.engineering.redhat.com/prefs/
Beaker Test information:
HOSTNAME=vm-idm-023.testrelm.test
JOBID=1918125
RECIPEID=3976287
RESULT_SERVER=[::1]:7094
DISTRO=RHEL-7.4-20170621.0
ARCHITECTURE=x86_64
Job Whiteboard: IPA :: RHEL 7.4 :: Only Master and Client :: quickinstall :: with 99 hrs reserved
Recipe Whiteboard: CLIENT1
** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** **
Could not chdir to home directory /home/tuser: No such file or directory
-sh-4.2$
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/RHEA-2017:2294