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 2128883 - Cannot SSH with AD user to ipa-client (`krb5_validate` and `pac_check` settings conflict)
Summary: Cannot SSH with AD user to ipa-client (`krb5_validate` and `pac_check` settin...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: sssd
Version: 9.1
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: ---
Assignee: Sumit Bose
QA Contact: Steeve Goveas
URL:
Whiteboard: sync-to-jira
Depends On:
Blocks: 2128902
TreeView+ depends on / blocked
 
Reported: 2022-09-21 19:29 UTC by Alexey Tikhonov
Modified: 2023-05-09 10:28 UTC (History)
6 users (show)

Fixed In Version: sssd-2.8.1-1.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2128902 (view as bug list)
Environment:
Last Closed: 2023-05-09 08:19:51 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github SSSD sssd issues 6355 0 None open Cannot SSH with AD user to ipa-client (`krb5_validate` and `pac_check` settings conflict) 2022-09-21 19:36:15 UTC
Github SSSD sssd pull 6356 0 None open krb5: respect krb5_validate for PAC checks 2022-09-21 19:37:22 UTC
Red Hat Issue Tracker RHELPLAN-134632 0 None None None 2022-09-21 19:33:23 UTC
Red Hat Issue Tracker SSSD-5055 0 None None None 2022-09-21 19:40:48 UTC
Red Hat Product Errata RHBA-2023:2514 0 None None None 2023-05-09 08:20:04 UTC

Description Alexey Tikhonov 2022-09-21 19:29:11 UTC
This bug was initially created as a copy of Bug #2127822

I am copying this bug because: to track fix for RHEL9



User-Agent:       Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:104.0) Gecko/20100101 Firefox/104.0
Build Identifier: 

I got problem with ssh login with user from AD (someuser) to IPA-client Centos Stream 8 server (backupsrv.IPA.LAN).
Same configuration on IPA-client RHEL 8.6 works without any problem.

Logs attached

Reproducible: Always

Steps to Reproduce:
1.ipa-client-install
2.try to ssh to that machine
3.Access denied
Actual Results:  
Using username "someuser".
Keyboard-interactive authentication prompts from server:
End of keyboard-interactive prompts from server
Access denied
Keyboard-interactive authentication prompts from server:
| Password:


Expected Results:  
Last login: Thu Sep 15 16:09:47 2022 from 192.168.195.154
[someuser@backupsrv ~]$

Comment 1 Alexey Tikhonov 2022-09-21 19:37:23 UTC
Upstream PR: https://github.com/SSSD/sssd/pull/6356

Comment 4 Alexey Tikhonov 2022-09-23 12:27:00 UTC
Pushed PR: https://github.com/SSSD/sssd/pull/6356

* `master`
    * f4dffaeaef16f146fc03970f62761fc335a3c7cc - krb5: respect krb5_validate for PAC checks
* `sssd-2-7`
    * 72132c413a2b19fbc21120ce51698978fd926360 - krb5: respect krb5_validate for PAC checks

Comment 6 Steeve Goveas 2022-11-16 12:23:05 UTC
Tested successfully
=========================== short test summary info ============================
PASSED src/tests/multihost/ipa/test_adtrust.py::TestADTrust::test_ad_user_ssh_ipa_client
================= 1 passed, 32 deselected in 117.03s (0:01:57) =================

[root@client ~]# rpm -q sssd-ipa
sssd-ipa-2.8.1-1.el9.x86_64

Comment 12 errata-xmlrpc 2023-05-09 08:19:51 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 (sssd bug fix and enhancement update), 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-2023:2514


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