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 1791892 - sssctl config-check reports errors when auto_private_groups is disabled/enabled in child domains
Summary: sssctl config-check reports errors when auto_private_groups is disabled/enabl...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: sssd
Version: 8.2
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: 8.0
Assignee: Iker Pedrosa
QA Contact: sssd-qe
URL:
Whiteboard: sync-to-jira
: 1546740 (view as bug list)
Depends On:
Blocks: 1546740
TreeView+ depends on / blocked
 
Reported: 2020-01-16 16:37 UTC by Niranjan Mallapadi Raghavender
Modified: 2024-03-25 15:44 UTC (History)
11 users (show)

Fixed In Version: sssd-2.3.0-1.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-04 02:04:28 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Fedora Pagure SSSD/sssd issue 4161 0 None None None 2020-05-25 15:46:27 UTC
Red Hat Issue Tracker SSSD-2544 0 None None None 2024-03-25 15:44:19 UTC
Red Hat Issue Tracker SSSD-2545 0 None None None 2024-03-25 15:44:31 UTC
Red Hat Issue Tracker SSSD-2674 0 None None None 2024-03-25 15:44:07 UTC
Red Hat Product Errata RHBA-2020:4569 0 None None None 2020-11-04 02:04:48 UTC

Description Niranjan Mallapadi Raghavender 2020-01-16 16:37:58 UTC
Description of problem:
when auto private groups are enabled/disabled specifically for a child domain in sssd.conf . sssctl config-check gives message that auto_private_groups is not allowed in child domain section. 

Version-Release number of selected component (if applicable):
sssd-2.2.3-11.el8.x86_64

How reproducible:
Have a Root domain (td5f4f77.com) and 2 child domains (one5f4f77.td5f4f77.com, two5f4f77.td5f4f77.com)

Enable auto_private_groups in child domains specifically in sssd.conf as given below:

[sssd]
domains = td5f4f77.com
config_file_version = 2
services = nss, pam, ifp

[domain/td5f4f77.com/two5f4f77.td5f4f77.com]
auto_private_groups = True

[domain/td5f4f77.com/one5f4f77.td5f4f77.com]
auto_private_groups = True

[pam]
debug_level = 9

[domain/td5f4f77.com]
ad_domain = td5f4f77.com
krb5_realm = TD5F4F77.COM
realmd_tags = manages-system joined-with-adcli
cache_credentials = True
id_provider = ad
krb5_store_password_if_offline = True
default_shell = /bin/bash
ldap_id_mapping = True
use_fully_qualified_names = True
fallback_homedir = /home/%u@%d
access_provider = ad
auto_private_groups = False


[nss]
debug_level = 9


Restart sssd and run sssctl config-check
Actual results:

[root@vm-10-0-154-28 db]# sssctl config-check
Issues identified by validators: 2
[rule/allowed_subdomain_options]: Attribute 'auto_private_groups' is not allowed in section 'domain/td5f4f77.com/two5f4f77.td5f4f77.com'. Check for typos.
[rule/allowed_subdomain_options]: Attribute 'auto_private_groups' is not allowed in section 'domain/td5f4f77.com/one5f4f77.td5f4f77.com'. Check for typos.

Messages generated during configuration merging: 0

Used configuration snippet files: 0


Expected results:

auto_private_groups is a valid parameter in child domain section and hence sssctl should not report any errors. 

Additional info:

Comment 2 Pavel Březina 2020-02-26 10:53:56 UTC
* `master`
    * 746d4ff34acbb17f291b02a66311c27cfb44a005 - config: allowed auto_private_groups in child domains

Comment 3 Iker Pedrosa 2020-06-09 09:22:39 UTC
*** Bug 1546740 has been marked as a duplicate of this bug. ***

Comment 7 Madhuri 2020-07-23 12:32:27 UTC
Reproduce with 
[root@ci-vm-10-0-98-99 ~]# rpm -qa sssd sssd-tools
sssd-tools-2.2.0-19.el8.x86_64
sssd-2.2.0-19.el8.x86_64

[root@ci-vm-10-0-98-99 ~]# sssctl config-check
Issues identified by validators: 2
[rule/allowed_subdomain_options]: Attribute 'auto_private_groups' is not allowed in section 'domain/td5f4f77.com/two5f4f77.td5f4f77.com'. Check for typos.
[rule/allowed_subdomain_options]: Attribute 'private_groups' is not allowed in section 'domain/td5f4f77.com/one5f4f77.td5f4f77.com'. Check for typos.

Messages generated during configuration merging: 0

Used configuration snippet files: 0

Verified with:
[root@ci-vm-10-0-105-137 ~]# rpm -qa sssd sssd-tools
sssd-2.3.0-5.el8.x86_64
sssd-tools-2.3.0-5.el8.x86_64

[root@ci-vm-10-0-105-137 ~]# sssctl config-check
Issues identified by validators: 0

Messages generated during configuration merging: 0

Used configuration snippet files: 0


[root@ci-vm-10-0-105-137 ~]# cat /etc/sssd/sssd.conf 

[sssd]
domains = td5f4f77.com
config_file_version = 2
services = nss, pam, ifp

[domain/td5f4f77.com/two5f4f77.td5f4f77.com]
auto_private_groups = True

[domain/td5f4f77.com/one5f4f77.td5f4f77.com]
auto_private_groups = True

[pam]
debug_level = 9

[domain/td5f4f77.com]
ad_domain = td5f4f77.com
krb5_realm = TD5F4F77.COM
realmd_tags = manages-system joined-with-adcli
cache_credentials = True
id_provider = ad
krb5_store_password_if_offline = True
default_shell = /bin/bash
ldap_id_mapping = True
use_fully_qualified_names = True
fallback_homedir = /home/%u@%d
access_provider = ad
auto_private_groups = False


[nss]
debug_level = 9

Comment 10 errata-xmlrpc 2020-11-04 02:04:28 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-2020:4569


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