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.

Bug 2068088

Summary: [RFE] ipa-client-install should provide option to enable subid: sss in /etc/nsswitch.conf
Product: Red Hat Enterprise Linux 8 Reporter: Florence Blanc-Renaud <frenaud>
Component: ipaAssignee: Florence Blanc-Renaud <frenaud>
Status: CLOSED ERRATA QA Contact: ipa-qe <ipa-qe>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 8.6CC: abokovoy, rcritten, rjeffman, sumenon, tscherf
Target Milestone: rcKeywords: FutureFeature, Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ipa-4.9.10-1.module+el8.7.0+15691+2b2c1dd5 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2094400 (view as bug list) Environment:
Last Closed: 2022-11-08 09:35:50 UTC 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: 2063750    
Bug Blocks: 2094400    

Description Florence Blanc-Renaud 2022-03-24 12:47:57 UTC
Description of problem:
ipa-client-install should provide an option allowing to configure subid managed at IPA level.
Currently, ipa-client-install configures the sssd profile which in turns customizes /etc/nsswitch.conf but the subid database does not use IPA and relies only on the local files /etc/subuid and /etc/subgid.

As it may not be relevant in all cases to configure "subid: sss", it would be nice to have a new option, and keep the default behavior without this option (=do not configure subuid: sss).

Version-Release number of selected component (if applicable):
subid feature was introduced in ipa-4.9.8

How reproducible:
Always

Steps to Reproduce:
1. install ipa client with ipa-client-install
2. grep subid /etc/nsswitch.conf

Actual results:
subid not configured to use sss

Expected results:
ipa-client-install should provide an option to configure NSS with subid: sss

Comment 2 Florence Blanc-Renaud 2022-03-24 12:50:24 UTC
In order to implement this feature, authselect must provide a mechanism to configure nss with subid: sss, hence adding dependency on the BZ 2063750

Comment 5 Florence Blanc-Renaud 2022-05-18 15:40:41 UTC
Upstream ticket:
https://pagure.io/freeipa/issue/9159

Comment 12 Rob Crittenden 2022-08-01 13:30:22 UTC
Upstream test

Fixed upstream
master:
https://pagure.io/freeipa/c/e3e7c98ac59442a053703a700432cc1739d4a8ac

Comment 13 Florence Blanc-Renaud 2022-08-09 06:39:32 UTC
Upstream test:

Fixed upstream
ipa-4-9:
https://pagure.io/freeipa/c/a5762621ef3ed1e699306a8d2eef634bc927a6fc

ipa-4-10:
https://pagure.io/freeipa/c/a39af6b7228d8ba85b9e97aa5decbc056d081c77

Comment 15 errata-xmlrpc 2022-11-08 09:35:50 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 (idm:client and idm:DL1 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-2022:7540