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.
Description of problem:sssctl config-check does not check any special character in domain section of sssd after forward slash.
Version-Release number of selected component (if applicable):
sssd-1.15.1-1.el7.x86_64
How reproducible:
Always.
Steps to Reproduce:
1. yum install sssd sssd-tools.
2. Create sssd.conf with special character in domain name of domain section.
3. Run sssctl config-check.
Actual results:
sssctl config-check does not check the special character in domain name.
Expected results:
sssctl config-check should check the special character in domain name.
Additional info:
# cat /etc/sssd/sssd.conf
[sssd]
config_file_version = 2
domains = LDAP
services = nss, pam
debug_level = 9
[domain/LDA@P]
If I add domain section like [domain/LDA@P]
The error message for rhel7.3 is as below:
# sssctl config-check
(Thu Mar 16 10:39:43:798357 2017) [sssd] [confdb_get_domain_internal] (0x0010): Unknown domain [LDAP]
(Thu Mar 16 10:39:43:798434 2017) [sssd] [confdb_get_domains] (0x0010): Error (2 [No such file or directory]) retrieving domain [LDAP], skipping!
(Thu Mar 16 10:39:43:798453 2017) [sssd] [confdb_get_domains] (0x0010): No properly configured domains, fatal error!
From the above error messages (debug log), It’s easy to find something going wrong with domain section of configuration file.
The error messages for rhel7.4 is as below with --debug=10
#sssctl --debug=10 config-check
(Thu Mar 16 10:47:25:214531 2017) [sssd] [sss_ini_get_config] (0x0400): Using only main configuration file due to errors in merging
Issues identified by validators: 0
Messages generated during configuration merging: 0
Used configuration snippet files: 0
But from above error messages, It's difficult to find what's going wrong with configuration file.
It was bug in "sssctl config-check"; that such debug messages were printed.
DEBUG messages cannot be translated and therefore should not be considered as expected output.
It is not a regression.
Thank you for filing this bug. Since the issue is tracked in the SSSD upstream tracker and the fix will make its way to RHEL in the next rebase which contains the fix for this bug, I'm going to close this bugzilla with the resolution of UPSTREAM.