Bug 1754624
| Summary: | [RFE] automatically use all defined domains | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Pat Riehecky <riehecky> |
| Component: | sssd | Assignee: | sssd-maintainers <sssd-maintainers> |
| Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | abokovoy, jhrozek, lslebodn, mzidek, pbrezina, rharwood, sbose, ssorce |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-07-08 11:33:38 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: | |||
|
Description
Pat Riehecky
2019-09-23 18:17:37 UTC
sssd has always at least one domain on fedora: `implicit_files`. So it would never fail. It is not required to modify sssd.conf. You can can put snippet files into directory /etc/sssd/conf.d/ Sure you still need to "modify" the option domains in section `[sssd]` but the last match wins. e.g. [sssd] services = nss, sudo, pam, autofs, ssh services = nss, sudo, pam, autofs, ssh, ifp services = nss, pam, ssh debug_level = 0xBFF0 domains = default domains = default, example.com domains = idm.lab.example.com domains = ldapkrb5 domains = BZ1062232 domains = refLDAP domains = ldap-rfc2307 domains = example.com, LOCAL The following services `nss, pam, ssh` and domains `example.com, LOCAL` will be used. You can generate 10 snippet files for 10 domains and then 11th snippet which override the option domains in the `[sssd]` section. It is not ideal but reasonable workaround which will work even in el7 IIRC there was a plan to add boolean option to the domain section `enabled` ut you would need to check upstream issues. https://pagure.io/SSSD/sssd/issues This package has changed maintainer in the Fedora. Reassigning to the new maintainer of this component. There is a PR for the 'enabled' option Lukas mentioned: https://github.com/SSSD/sssd/pull/5213 I'm going to close this RFE BZ. Once the PR is merged and released in Fedora, you'll be enable to just drop in domain to /etc/sssd/sssd.conf and enable them via this attribute. If you want to track the status of the PR in this BZ, feel free to reopen it and change the description to reflect it. |