Bug 2192708
| Summary: | [RHEL8] [sssd] User lookup on IPA client fails with 's2n get_fqlist request failed' | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Cesar Goslawski <cetravas> | |
| Component: | sssd | Assignee: | Sumit Bose <sbose> | |
| Status: | VERIFIED --- | QA Contact: | Madhuri <mupadhye> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | high | |||
| Version: | 8.7 | CC: | aboscatt, atikhono, ddas, jabsher, marekbroz, pbrezina, sbose, sgadekar | |
| Target Milestone: | rc | Keywords: | Triaged, ZStream | |
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | sync-to-jira | |||
| Fixed In Version: | sssd-2.9.1-1.el8 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 2196838 (view as bug list) | Environment: | ||
| Last Closed: | Type: | Bug | ||
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 2196838 | |||
| Deadline: | 2023-06-12 | |||
|
Description
Cesar Goslawski
2023-05-02 19:54:22 UTC
Hi,
the issue boils down to lookup up the user-private group of an AD user with a mixed-case (or only upper-case) name in AD which has an idoverride which does not override the name on the IPA server.
How to reproduce:
- setup IPA with trust to an AD forest with idrage type 'ipa-ad-trust'
- create an idoverride with a ssh key for the Administrator user, which by default has a mixed-case name:
ipa idoverrideuser-add 'Default Trust View' Administrator --sshpubkey=AAAAB.....
- lookup the user-private group of the Administrator on the IPA server:
getent group administrator
- without a fix the lookup will fail
The reason is a case-sensitive comparison in sysdb_getgrnam() in the check if the input name was the original AD group name or an overwritten one.
bye,
Sumit
Upstream PR: https://github.com/SSSD/sssd/pull/6721 Pushed PR: https://github.com/SSSD/sssd/pull/6721 * `master` * 01d02794e02f051ea9a78cd63b30384de3e7c9b0 - sysdb: fix string comparison when checking for overrides * `sssd-2-9` * d104c01f1b3198779addee8178b10b047e64deb9 - sysdb: fix string comparison when checking for overrides |