sssd.conf.5.xml revision ae526063fcbc4b4c440e35e01e4eca35358c2906
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa<!DOCTYPE reference PUBLIC "-//OASIS//DTD DocBook V4.4//EN"
569bee5cc3d647032573db8f72734faa9307d577Natanael Copa"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
569bee5cc3d647032573db8f72734faa9307d577Natanael Copa <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="include/upstream.xml" />
569bee5cc3d647032573db8f72734faa9307d577Natanael Copa <refmiscinfo class="manual">File Formats and Conventions</refmiscinfo>
569bee5cc3d647032573db8f72734faa9307d577Natanael Copa <refpurpose>the configuration file for SSSD</refpurpose>
569bee5cc3d647032573db8f72734faa9307d577Natanael Copa </refnamediv>
569bee5cc3d647032573db8f72734faa9307d577Natanael Copa The file has an ini-style syntax and consists of sections and
569bee5cc3d647032573db8f72734faa9307d577Natanael Copa parameters. A section begins with the name of the section in
569bee5cc3d647032573db8f72734faa9307d577Natanael Copa square brackets and continues until the next section begins. An
569bee5cc3d647032573db8f72734faa9307d577Natanael Copa example of section with single and multi-valued parameters:
569bee5cc3d647032573db8f72734faa9307d577Natanael Copa <programlisting>
569bee5cc3d647032573db8f72734faa9307d577Natanael Copa <replaceable>key</replaceable> = <replaceable>value</replaceable>
569bee5cc3d647032573db8f72734faa9307d577Natanael Copa <replaceable>key2</replaceable> = <replaceable>value2,value3</replaceable>
569bee5cc3d647032573db8f72734faa9307d577Natanael Copa </programlisting>
569bee5cc3d647032573db8f72734faa9307d577Natanael Copa The data types used are string (no quotes needed), integer
569bee5cc3d647032573db8f72734faa9307d577Natanael Copa and bool (with values of <quote>TRUE/FALSE</quote>).
569bee5cc3d647032573db8f72734faa9307d577Natanael Copa A line comment starts with a hash sign (<quote>#</quote>) or a
569bee5cc3d647032573db8f72734faa9307d577Natanael Copa Inline comments are not supported.
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa All sections can have an optional
670c6ab8caac48ce5cf043796dd8908114b7f607Natanael Copa <replaceable>description</replaceable> parameter. Its function
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa is only as a label for the section.
569bee5cc3d647032573db8f72734faa9307d577Natanael Copa <filename>sssd.conf</filename> must be a regular file, owned by
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa root and only root may read from or write to the file.
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa Individual pieces of SSSD functionality are provided by special
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa SSSD services that are started and stopped together with SSSD.
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa The services are managed by a special service frequently called
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa <quote>monitor</quote>. The <quote>[sssd]</quote> section is used
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa to configure the monitor as well as some other important options
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa like the identity domains.
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa <variablelist>
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa <varlistentry>
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa Indicates what is the syntax of the config
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa file. SSSD 0.6.0 and later use version 2.
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa </varlistentry>
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa <varlistentry>
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa Comma separated list of services that are
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa started when sssd itself starts.
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa Supported services: nss, pam
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa <phrase condition="with_autofs">, autofs</phrase>
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa <phrase condition="with_pac_responder">, pac</phrase>
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa </varlistentry>
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa <varlistentry>
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa Number of times services should attempt to
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa reconnect in the event of a Data Provider
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa crash or restart before they give up
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa </varlistentry>
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa <varlistentry>
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa A domain is a database containing user
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa information. SSSD can use more domains
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa at the same time, but at least one
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa must be configured or SSSD won't start.
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa This parameter described the list of domains
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa in the order you want them to be queried.
2b49de9a3ff182c208148d780f6b26cf8cdd09d8Natanael Copa </varlistentry>
2b49de9a3ff182c208148d780f6b26cf8cdd09d8Natanael Copa <varlistentry>
d42277f769d1bed8a4a198a49dbe96582a4fa2ecNatanael Copa Default regular expression that describes how to
d42277f769d1bed8a4a198a49dbe96582a4fa2ecNatanael Copa parse the string containing user name and domain
d42277f769d1bed8a4a198a49dbe96582a4fa2ecNatanael Copa into these components.
d42277f769d1bed8a4a198a49dbe96582a4fa2ecNatanael Copa Each domain can have an individual regular
d42277f769d1bed8a4a198a49dbe96582a4fa2ecNatanael Copa expression configured. For some ID providers
d42277f769d1bed8a4a198a49dbe96582a4fa2ecNatanael Copa there are also default regular expressions. See
d42277f769d1bed8a4a198a49dbe96582a4fa2ecNatanael Copa DOMAIN SECTIONS for more info on these regular
d42277f769d1bed8a4a198a49dbe96582a4fa2ecNatanael Copa </varlistentry>
d42277f769d1bed8a4a198a49dbe96582a4fa2ecNatanael Copa <varlistentry>
d42277f769d1bed8a4a198a49dbe96582a4fa2ecNatanael Copa The default <citerefentry>
d42277f769d1bed8a4a198a49dbe96582a4fa2ecNatanael Copa </citerefentry>-compatible format that describes how to
d42277f769d1bed8a4a198a49dbe96582a4fa2ecNatanael Copa translate a (name, domain) tuple into a fully qualified
d42277f769d1bed8a4a198a49dbe96582a4fa2ecNatanael Copa Each domain can have an individual format string configured.
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa see DOMAIN SECTIONS for more info on this option.
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa </varlistentry>
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa <varlistentry>
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa SSSD monitors the state of resolv.conf to
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa identify when it needs to update its internal
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa DNS resolver. By default, we will attempt to
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa use inotify for this, and will fall back to
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa polling resolv.conf every five seconds if
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa inotify cannot be used.
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa There are some limited situations where it is
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa preferred that we should skip even trying to
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa use inotify. In these rare cases, this option
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa should be set to 'false'
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa Default: true on platforms where inotify is
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa supported. False on other platforms.
eee3ba81c88e64b8a732694fc4843a39d5bde491Serge Hallyn Note: this option will have no effect on
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa platforms where inotify is unavailable. On
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa these platforms, polling will always be used.
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa </varlistentry>
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa <varlistentry>
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa Directory on the filesystem where SSSD should
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa store Kerberos replay cache files.
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa This option accepts a special value
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa __LIBKRB5_DEFAULTS__ that will instruct SSSD
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa to let libkrb5 decide the appropriate
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa location for the replay cache.
1897e3bcd36af9f3fe6d3649910a9adb93e5e988Serge Hallyn Default: Distribution-specific and specified
1897e3bcd36af9f3fe6d3649910a9adb93e5e988Serge Hallyn at build-time. (__LIBKRB5_DEFAULTS__ if not
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa </varlistentry>
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa <varlistentry>
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa If a service is not responding to ping checks (see
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa the <quote>timeout</quote> option), it is first sent
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa the SIGTERM signal that instructs it to quit gracefully.
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa If the service does not terminate after <quote>force_timeout</quote>
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa seconds, the monitor will forcibly shut it down by
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa sending a SIGKILL signal.
b1aa0624bae5a81d6f6bbc2653a388d148cffef8Natanael Copa </varlistentry>
b1aa0624bae5a81d6f6bbc2653a388d148cffef8Natanael Copa <varlistentry>
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa This string will be used as a default domain
b1aa0624bae5a81d6f6bbc2653a388d148cffef8Natanael Copa name for all names without a domain name
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa component. The main use case are environments
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa where the local domain is only managing hosts
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa but no users and all users are coming from a
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa trusted domain. The option allows those users
1897e3bcd36af9f3fe6d3649910a9adb93e5e988Serge Hallyn to log in just with their user name without
1897e3bcd36af9f3fe6d3649910a9adb93e5e988Serge Hallyn giving a domain name as well.
1897e3bcd36af9f3fe6d3649910a9adb93e5e988Serge Hallyn Please note that if this option is set all
b1aa0624bae5a81d6f6bbc2653a388d148cffef8Natanael Copa users from the local domain have to use their
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa fully qualified name, e.g. user@domain.name,
e5846a6f89db72bdbf3d651e5faf232045d17af8Natanael Copa Default: not set
e5846a6f89db72bdbf3d651e5faf232045d17af8Natanael Copa </varlistentry>
e5846a6f89db72bdbf3d651e5faf232045d17af8Natanael Copa </variablelist>
b1aa0624bae5a81d6f6bbc2653a388d148cffef8Natanael Copa Settings that can be used to configure different services
b1aa0624bae5a81d6f6bbc2653a388d148cffef8Natanael Copa are described in this section. They should reside in the
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa [<replaceable>$NAME</replaceable>] section, for example,
b1aa0624bae5a81d6f6bbc2653a388d148cffef8Natanael Copa for NSS service, the section would be <quote>[nss]</quote>
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa <title>General service configuration options</title>
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa These options can be used to configure any service.
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa <variablelist>
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa <varlistentry>
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="include/debug_levels.xml" />
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa </varlistentry>
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa <varlistentry>
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa Add a timestamp to the debug messages
1897e3bcd36af9f3fe6d3649910a9adb93e5e988Serge Hallyn Default: true
2a9a0a08077d88ee1d70ca46ca122216f3d1c89aNatanael Copa </varlistentry>
2b49de9a3ff182c208148d780f6b26cf8cdd09d8Natanael Copa <varlistentry>
2b49de9a3ff182c208148d780f6b26cf8cdd09d8Natanael Copa Add microseconds to the timestamp in debug messages
2b49de9a3ff182c208148d780f6b26cf8cdd09d8Natanael Copa Default: false
2b49de9a3ff182c208148d780f6b26cf8cdd09d8Natanael Copa </varlistentry>
2b49de9a3ff182c208148d780f6b26cf8cdd09d8Natanael Copa <varlistentry>
569bee5cc3d647032573db8f72734faa9307d577Natanael Copa Timeout in seconds between heartbeats for this
569bee5cc3d647032573db8f72734faa9307d577Natanael Copa service. This is used to ensure that the process
670c6ab8caac48ce5cf043796dd8908114b7f607Natanael Copa is alive and capable of answering requests.
value of this or the limits.conf "hard" limit.
Default: 8192 (or limits.conf "hard" limit)
i.e. if the expiration warning was received from
plugin for MIT Kerberos sssd_pac_plugin.so and a sub-domain
by default, i.e. the system defaults are used, but can be
i.e. if the expiration warning was received from
<quote>permit</quote> always allow access. It's the only permitted access provider for a local domain.
<quote>(((?P<domain>[^\\]+)\\(?P<name>.+$))|((?P<name>[^@]+)@(?P<domain>.+$))|(^(?P<name>[^@\\]+)$))</quote>
(e.g. RHEL5 and SLES10). Only platforms with
ldap_uri = ldap://ldap.example.com
krb5_server = kerberos.example.com
krb5_realm = EXAMPLE.COM