Bug 2123216 - [RFE] - set default_domain_suffix in sssd.conf
Summary: [RFE] - set default_domain_suffix in sssd.conf
Keywords:
Status: ASSIGNED
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Authentication
Version: 6.12.0
Hardware: All
OS: All
unspecified
medium
Target Milestone: Unspecified
Assignee: Adam Ruzicka
QA Contact: Satellite QE Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-09-01 05:51 UTC by Nagoor Shaik
Modified: 2024-04-24 07:25 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 35832 0 Normal Ready For Testing set default_domain_suffix in sssd.conf 2022-12-07 07:31:04 UTC
Github theforeman puppet-foreman pull 1160 0 None open Fixes #35832 - set default_domain_suffix in sssd.conf 2024-04-24 07:25:42 UTC
Red Hat Issue Tracker SAT-18360 0 None None None 2023-06-13 13:25:11 UTC

Description Nagoor Shaik 2022-09-01 05:51:16 UTC
Description of problem:

Setting a default_domain_suffix for IDM based authentication would reduce an effort to type in the @domain while authenticating.


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

How reproducible:


Steps to Reproduce:
1. Configure direct AD authentication or IPA authentication from https://access.redhat.com/documentation/en-us/red_hat_satellite/6.11/html/administering_red_hat_satellite/configuring_external_authentication_admin#Configuring_Direct_AD_Integration_with_GSS_Proxy_admin
2. Check the /etc/sssd/sssd.conf as no default domain suffix is configured
3. Having this we can query user without a domain suffix.

Actual results:
An end-user would have to type the user syntax to login to Satellite

Expected results:
We can reduce this effort by setting a default_domain_suffix to the current domain that the host is joined to.

Additional info:

Under [sssd] section adding default_domain_suffix = example.com to achieve this

Comment 1 Nagoor Shaik 2022-09-01 05:56:41 UTC
We set the required attributes, so we can add this easily

https://github.com/theforeman/puppet-foreman/blob/e0fc1487740d36a5a308498576836525d3e52de1/manifests/config.pp#L205-L210

Comment 2 Adam Ruzicka 2023-06-13 11:18:06 UTC
Where should the default domain come from? Should the users state in explicitly when running the installer? Should the installer try to derive it from some other parameter?

Comment 3 Nagoor Shaik 2023-06-13 12:15:25 UTC
Assuming they are joining to the same realm, this should be defaulted to domain name of the satellite instance.

Comment 4 Adam Ruzicka 2023-06-13 13:19:29 UTC
Oh, you already opened a PR about that, thank you and sorry about not noticing it earlier.


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