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 1831935 - AD authentication with IdM against SQL Server
Summary: AD authentication with IdM against SQL Server
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: ipa
Version: 8.2
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: rc
: 8.0
Assignee: Thomas Woerner
QA Contact: ipa-qe
URL:
Whiteboard:
Depends On:
Blocks: 1900100
TreeView+ depends on / blocked
 
Reported: 2020-05-06 00:28 UTC by Dan Kinkead
Modified: 2023-10-06 19:56 UTC (History)
16 users (show)

Fixed In Version: ipa-4.8.7-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-04 02:50:41 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Fedora Pagure freeipa issue 8319 0 None None None 2020-05-27 16:20:29 UTC
Red Hat Issue Tracker FREEIPA-10445 0 None None None 2023-10-06 19:56:17 UTC

Description Dan Kinkead 2020-05-06 00:28:15 UTC
Description of problem:

When we configure AD auth using ktpass (or ktutil in past), and the RHEL VM is domain joined directly with Windows AD server, S4U2Self protocol functions correctly and we see no issues. But when RHEL VM is joined via IdM, the group refresh process done via S4U2Self protocol fails. That breaks the logged in user’s privilege and overall functionality suffers. 

Version-Release number of selected component (if applicable):


How reproducible:

When running some elevated SQL commands which involve activities such as creating logins or granting/revoking privileges

Steps to Reproduce:
1. Configure AD login to MSSQL with https://access.redhat.com/articles/4094741
2. Create two SQL logins
3. Try to run elevated commands with both users logged in

Actual results:

AD authentication works but then users(who is ever logged in with AD authentication) get kicked out from sessions and when running some elevated SQL commands which involve activities such as creating logins or granting/revoking privileges and in krb5.log we see events like:

-1765328243/Matching credential not found [25649] 1583325123.545595: Getting credentials EXAMPLE2$@NIX.EXAMPLE.COM -> krbtgt/EXAMPLE.COM.COM using ccache MEMORY:pal 25837 [25649] 1583325123.545596: Retrieving EXAMPLE$@NIX.EXAMPLE.COM -> krbtgt/EXAMPLE.COM.COM from MEMORY:pal 25837 with result: -1765328243/Matching credential not found [25649] 1583325123.545597: Retrieving EXAMPLE$@NIX.EXAMPLE.COM -> krbtgt/NIX.EXAMPLE.COM.COM from MEMORY:pal 25837 with result: -1765328243/Matching credential not found

In the client we see the following:

Error:15404 (Could Not obtain information about Windows NT group/User' ' Error Code 0x80090304 

Expected results:

Users to not get kicked out from sessions and commands to work

Additional info:

I will include more details in the next comment.

Comment 10 Alexander Bokovoy 2020-05-11 17:02:08 UTC
This is a bug in FreeIPA, not krb5.

Comment 30 errata-xmlrpc 2020-11-04 02:50:41 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 (Moderate: idm:DL1 and idm:client security, 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/RHSA-2020:4670


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