#3692 sssd reports 'subdomain_homedir' is not allowed in domain section in sssd.log
Closed: duplicate Opened by pbrezina.

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1561695

Description of problem:
[root@ipa1 ~]# cat /var/log/sssd/sssd.log
(Wed Mar 28 15:06:54:270371 2018) [sssd] [sss_ini_call_validators] (0x0020):
[rule/allowed_domain_options]: Attribute 'subdomain_homedir' is not allowed in
section 'domain/DOMAIN'. Check for typos.
Version-Release number of selected component (if applicable):
sssd-1.15.2-50.el7_4.11.x86_64
Reproducible:
Yes
Steps to Reproduce:
1. Edit sssd.conf and mention subdomain_homedir in domain section.
2.# sssctl config-check
3.
Actual results:
[root@ipa1 ~]# sssctl config-check
Issues identified by validators: 1
[rule/allowed_domain_options]: Attribute 'subdomain_homedir' is not allowed in
section 'domain/DOMAIN'. Check for typos.
Messages generated during configuration merging: 0
Used configuration snippet files: 0
[root@ipa1 ~]# cat /var/log/sssd/sssd.log
(Wed Mar 28 15:06:54:270371 2018) [sssd] [sss_ini_call_validators] (0x0020):
[rule/allowed_domain_options]: Attribute 'subdomain_homedir' is not allowed in
section 'domain/DOMAIN'. Check for typos.
Expected results:
There shouldn't be any error message as per man page this option should be
valid for domain section.
Additional info:
If i add option = subdomain_homedir in /usr/share/sssd/cfg_rules.ini under
[rule/allowed_domain_options]
Then we no longer observe the error message.
[root@ipa1 ~]# grep subdomain_homedir /usr/share/sssd/cfg_rules.ini
option = subdomain_homedir
[root@ipa1 ~]# sssctl config-check
Issues identified by validators: 0
Messages generated during configuration merging: 0
Used configuration snippet files: 0

I have checked in latest verison 1.16.2 and it is fixed option is already present

Yep, looks like this was already closed with ticket #3389.

Metadata Update from @jhrozek:
- Issue close_status updated to: duplicate
- Issue status updated to: Closed (was: Open)

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/4709

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Metadata