Chapter 12. Eliminating typographical errors in local SSSD configuration
You can test if the /etc/sssd/sssd.conf file on your host contains any typographical errors using the sssctl config-check command.
Prerequisites
- You are logged in as root.
-
The
sssd-toolspackage is installed.
Procedure
Enter the
sssctl config-checkcommand:Copy to Clipboard Copied! Toggle word wrap Toggle overflow Open the
/etc/sssd/sssd.conffile and correct the typo. If you, for example, received the error message in the previous step, replaceldap_searchwithldap_search_base:[...] [domain/<domain_name>] ldap_search_base = dc=<domain_component>,dc=<tld> [...]
[...] [domain/<domain_name>] ldap_search_base = dc=<domain_component>,dc=<tld> [...]Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Save the file.
Restart SSSD:
systemctl restart sssd
# systemctl restart sssdCopy to Clipboard Copied! Toggle word wrap Toggle overflow
Verification
Enter the
sssctl config-checkcommand:sssctl config-check
# sssctl config-checkCopy to Clipboard Copied! Toggle word wrap Toggle overflow The output should indicate that no issues were found:
Issues identified by validators: 0 Messages generated during configuration merging: 0 Used configuration snippet files: 0
Issues identified by validators: 0
Messages generated during configuration merging: 0
Used configuration snippet files: 0
The /etc/sssd/sssd.conf file now has no typographical errors.