SSSD Configuration - files /etc/sssd/sssd.conf and /etc/sssd.conf.d/*

SSSD configuration files are in INI format.

Example

[sssd] services = nss, sudo domains = test

[sudo] debug_level = 0xfff0

[domain/test] id_provider = ldap ldap_uri = ldap://ldap.test

SSSDConf - file /etc/sssd/sssd.conf

SSSDConfd - files under /etc/sssd/conf.d/*.conf

class insights.parsers.sssd_conf.SSSDConf(context)[source]

Bases: IniConfigFile

Parse the content of the /etc/sssd/sssd.conf.

The file format is standard ini file.

domain_config(domain)[source]

Return the configuration dictionary for a specific domain, given as the raw name as listed in the ‘domains’ property of the sssd section. This then looks for the equivalent ‘domain/{domain}’ section of the config file.

property domains

Returns the list of domains defined in the ‘sssd’ section. This is used to refer to the domain-specific sections of the configuration.

getboolean(section, option)[source]
Returns:

Returns boolean form based on the data from get.

Return type:

bool

class insights.parsers.sssd_conf.SSSDConfd(context)[source]

Bases: SSSDConf

Parse the content of configuration snippet under /etc/sssd/conf.d/*.conf.

The file format is standard ini file.