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 1964121 - RFE: Make override_homedir recognize the %h template which is replaced by the original home directory in lower case
Summary: RFE: Make override_homedir recognize the %h template which is replaced by the...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: sssd
Version: 9.0
Hardware: Unspecified
OS: Linux
high
unspecified
Target Milestone: rc
: ---
Assignee: Alejandro López
QA Contact: Jakub Vavra
URL:
Whiteboard: sync-to-jira
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-05-24 18:47 UTC by Nate
Modified: 2024-10-01 18:19 UTC (History)
10 users (show)

Fixed In Version: sssd-2.8.1-1.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-09 08:19:50 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github SSSD sssd issues 6210 0 None open RFE: Add an option to sssd config to convert home directories to lowercase (or add a new template for the 'override_home... 2022-06-10 14:22:23 UTC
Red Hat Product Errata RHBA-2023:2514 0 None None None 2023-05-09 08:20:14 UTC

Description Nate 2021-05-24 18:47:22 UTC
sssd currently has an option that will allow the administrator to convert back-end directory usernames to lowercase, in order to better integrate with the case-sensitive nature of the Linux environment. 

There is currently no option to do the same thing for a users defined home directory.  In the case of an active directory back-end, it is not uncommon for user information to be populated in mixed case, this may include the home directory.  Other identity providers that enable AD identity sources account for this by allowing configuration options that convert both usernames and home directories to all lowercase. 

Adding a feature to sssd that will convert home directories to lowercase would help round out that compatibility.

Comment 3 Sumit Bose 2021-05-25 05:14:30 UTC
Hi,

please also see the discussion in https://lists.fedoraproject.org/archives/list/sssd-users@lists.fedorahosted.org/thread/4644MVNNSL7GLX6W3NG2AJILPDKXL6OM/#4644MVNNSL7GLX6W3NG2AJILPDKXL6OM . Imo the most straight forward solution would be to add a new template for the 'override_homedir' option.

bye,
Sumit

Comment 4 Alejandro López 2022-06-10 09:25:29 UTC
I'm implementing the template '%h' for 'override_homedir' providing the lower-case version of the original homedir.

Comment 5 Alexey Tikhonov 2022-06-10 14:47:08 UTC
Upstream PR: https://github.com/SSSD/sssd/pull/6211

Comment 6 Alexey Tikhonov 2022-06-28 14:14:27 UTC
Pushed PR: https://github.com/SSSD/sssd/pull/6211

* `master`
    * 9cddeb8ba30229aa59b891caa5c601403c02bd32 - Config: Add the %h template for the 'override_homedir' option

Comment 15 errata-xmlrpc 2023-05-09 08:19: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 (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.