Questo contenuto non è disponibile nella lingua selezionata.

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-tools package is installed.

Procedure

  1. Enter the sssctl config-check command:

    # sssctl config-check
    
    Issues identified by validators: 1
    [rule/allowed_domain_options]: Attribute 'ldap_search' is not allowed in section 'domain/<domain_name>'. Check for typos.
    
    Messages generated during configuration merging: 0
    
    Used configuration snippet files: 0
    Copy to Clipboard Toggle word wrap
  2. Open the /etc/sssd/sssd.conf file and correct the typo. If you, for example, received the error message in the previous step, replace ldap_search with ldap_search_base:

    [...]
    [domain/<domain_name>]
    ldap_search_base = dc=<domain_component>,dc=<tld>
    [...]
    Copy to Clipboard Toggle word wrap
  3. Save the file.
  4. Restart SSSD:

    # systemctl restart sssd
    Copy to Clipboard Toggle word wrap

Verification

  • Enter the sssctl config-check command:

    # sssctl config-check
    Copy to Clipboard Toggle word wrap

    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
Copy to Clipboard Toggle word wrap

The /etc/sssd/sssd.conf file now has no typographical errors.

Red Hat logoGithubredditYoutubeTwitter

Formazione

Prova, acquista e vendi

Community

Informazioni sulla documentazione di Red Hat

Aiutiamo gli utenti Red Hat a innovarsi e raggiungere i propri obiettivi con i nostri prodotti e servizi grazie a contenuti di cui possono fidarsi. Esplora i nostri ultimi aggiornamenti.

Rendiamo l’open source più inclusivo

Red Hat si impegna a sostituire il linguaggio problematico nel codice, nella documentazione e nelle proprietà web. Per maggiori dettagli, visita il Blog di Red Hat.

Informazioni su Red Hat

Forniamo soluzioni consolidate che rendono più semplice per le aziende lavorare su piattaforme e ambienti diversi, dal datacenter centrale all'edge della rete.

Theme

© 2026 Red Hat
Torna in cima