sssd-ldap.5.xml revision fbaaa993eff7ef1ed5a62c38d6cdacd52a53d2d8
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen<!DOCTYPE reference PUBLIC "-//OASIS//DTD DocBook V4.4//EN"
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="include/upstream.xml" />
42cb779853b1814d7ab052436b0b6d1f507c742bAki Tuomi <refmiscinfo class="manual">File Formats and Conventions</refmiscinfo>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen <refpurpose>the configuration file for SSSD</refpurpose>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen </refnamediv>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen This manual page describes the configuration of LDAP
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen <citerefentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen </citerefentry>.
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen Refer to the <quote>FILE FORMAT</quote> section of the
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen <citerefentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen </citerefentry> manual page for detailed syntax information.</para>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen You can configure SSSD to use more than one LDAP domain.
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen LDAP back end supports id, auth, access and chpass providers. If you want
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen to authenticate against an LDAP server either TLS/SSL or LDAPS
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen is required. <command>sssd</command> <emphasis>does
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen not</emphasis> support authentication over an unencrypted channel.
45dda77a1e51970a06c82dd1b4c1ee5b0368cfe1Timo Sirainen If the LDAP server is used only as an identity provider, an encrypted
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen channel is not needed. Please refer to <quote>ldap_access_filter</quote>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen config option for more information about using LDAP as an access provider.
66fbbac231b0385273b11f9b4c43ad252330dea5Timo Sirainen All of the common configuration options that apply to SSSD domains also apply
66fbbac231b0385273b11f9b4c43ad252330dea5Timo Sirainen to LDAP domains. Refer to the <quote>DOMAIN SECTIONS</quote> section of the
66fbbac231b0385273b11f9b4c43ad252330dea5Timo Sirainen <citerefentry>
66fbbac231b0385273b11f9b4c43ad252330dea5Timo Sirainen </citerefentry> manual page for full details.
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen <variablelist>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen <varlistentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen Specifies the comma-separated list of URIs of the LDAP servers to which
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen SSSD should connect in the order of preference. Refer to the
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen <quote>FAILOVER</quote> section for more information on failover and server redundancy.
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen If not specified, service discovery is enabled. For more information, refer
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen to the <quote>SERVICE DISCOVERY</quote> section.
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen The format of the URI must match the format defined in RFC 2732:
42cb779853b1814d7ab052436b0b6d1f507c742bAki Tuomi ldap[s]://<host>[:port]
42cb779853b1814d7ab052436b0b6d1f507c742bAki Tuomi For explicit IPv6 addresses, <host> must be enclosed in brackets []
42cb779853b1814d7ab052436b0b6d1f507c742bAki Tuomi example: ldap://[fc00::126:25]:389
42cb779853b1814d7ab052436b0b6d1f507c742bAki Tuomi </varlistentry>
42cb779853b1814d7ab052436b0b6d1f507c742bAki Tuomi <varlistentry>
42cb779853b1814d7ab052436b0b6d1f507c742bAki Tuomi Specifies the comma-separated list of URIs of the LDAP servers to
42cb779853b1814d7ab052436b0b6d1f507c742bAki Tuomi which SSSD should connect in the order of preference
42cb779853b1814d7ab052436b0b6d1f507c742bAki Tuomi to change the password of a user. Refer to the
551f3b2ebd588ca125c01f49b54c4103fbd5b2c5Aki Tuomi <quote>FAILOVER</quote> section for more information
551f3b2ebd588ca125c01f49b54c4103fbd5b2c5Aki Tuomi on failover and server redundancy.
42cb779853b1814d7ab052436b0b6d1f507c742bAki Tuomi To enable service discovery
42cb779853b1814d7ab052436b0b6d1f507c742bAki Tuomi ldap_chpass_dns_service_name must be set.
42cb779853b1814d7ab052436b0b6d1f507c742bAki Tuomi Default: empty, i.e. ldap_uri is used.
42cb779853b1814d7ab052436b0b6d1f507c742bAki Tuomi </varlistentry>
42cb779853b1814d7ab052436b0b6d1f507c742bAki Tuomi <varlistentry>
42cb779853b1814d7ab052436b0b6d1f507c742bAki Tuomi The default base DN to use for
42cb779853b1814d7ab052436b0b6d1f507c742bAki Tuomi performing LDAP user operations.
42cb779853b1814d7ab052436b0b6d1f507c742bAki Tuomi Starting with SSSD 1.7.0, SSSD supports multiple
42cb779853b1814d7ab052436b0b6d1f507c742bAki Tuomi search bases using the syntax:
42cb779853b1814d7ab052436b0b6d1f507c742bAki Tuomi search_base[?scope?[filter][?search_base?scope?[filter]]*]
42cb779853b1814d7ab052436b0b6d1f507c742bAki Tuomi The scope can be one of "base", "onelevel" or "subtree".
42cb779853b1814d7ab052436b0b6d1f507c742bAki Tuomi The filter must be a valid LDAP search filter as
42cb779853b1814d7ab052436b0b6d1f507c742bAki Tuomi ldap_search_base = dc=example,dc=com
42cb779853b1814d7ab052436b0b6d1f507c742bAki Tuomi (which is equivalent to)
42cb779853b1814d7ab052436b0b6d1f507c742bAki Tuomi ldap_search_base = dc=example,dc=com?subtree?
42cb779853b1814d7ab052436b0b6d1f507c742bAki Tuomi ldap_search_base = cn=host_specific,dc=example,dc=com?subtree?(host=thishost)?dc=example.com?subtree?
551f3b2ebd588ca125c01f49b54c4103fbd5b2c5Aki Tuomi Note: It is unsupported to have multiple search
551f3b2ebd588ca125c01f49b54c4103fbd5b2c5Aki Tuomi bases which reference identically-named objects
42cb779853b1814d7ab052436b0b6d1f507c742bAki Tuomi (for example, groups with the same name in two
42cb779853b1814d7ab052436b0b6d1f507c742bAki Tuomi different search bases). This will lead to
42cb779853b1814d7ab052436b0b6d1f507c742bAki Tuomi unpredictable behavior on client machines.
42cb779853b1814d7ab052436b0b6d1f507c742bAki Tuomi Default: If not set, the value of the
42cb779853b1814d7ab052436b0b6d1f507c742bAki Tuomi defaultNamingContext or namingContexts attribute
42cb779853b1814d7ab052436b0b6d1f507c742bAki Tuomi from the RootDSE of the LDAP server is
42cb779853b1814d7ab052436b0b6d1f507c742bAki Tuomi used. If defaultNamingContext does not exists or
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen has an empty value namingContexts is used.
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen The namingContexts attribute must have a
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen single value with the DN of the search base of the
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen LDAP server to make this work. Multiple values are
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen are not supported.
a545bcd54312b543ddc46a872ec79d0416032b0fTimo Sirainen </varlistentry>
a545bcd54312b543ddc46a872ec79d0416032b0fTimo Sirainen <varlistentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen Specifies the Schema Type in use on the target LDAP
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen Depending on the selected schema, the default
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen attribute names retrieved from the servers may vary.
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen The way that some attributes are handled may also differ.
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen Four schema types are currently supported:
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen The main difference between these schema types is
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen how group memberships are recorded in the server.
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen With rfc2307, group members are listed by name in the
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen With rfc2307bis and IPA, group members are listed by DN
bc85ab91357eaf47c789179362ee36f4f4f4abd7Timo Sirainen and stored in the <emphasis>member</emphasis> attribute.
bc85ab91357eaf47c789179362ee36f4f4f4abd7Timo Sirainen The AD schema type sets the attributes to correspond with
bc85ab91357eaf47c789179362ee36f4f4f4abd7Timo Sirainen Active Directory 2008r2 values.
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen Default: rfc2307
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen </varlistentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen <varlistentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen The default bind DN to use for
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen performing LDAP operations.
bc4cb06efd149ff759ad5462c6cd1a352f735034Timo Sirainen </varlistentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen <varlistentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen <term>ldap_default_authtok_type (string)</term>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen The type of the authentication token of the
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen default bind DN.
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen The two mechanisms currently supported are:
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen obfuscated_password
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen Default: password
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen </varlistentry>
e5c28185478ecab60d0dbd78f9daaab113d5c060Timo Sirainen <varlistentry>
e5c28185478ecab60d0dbd78f9daaab113d5c060Timo Sirainen The authentication token of the default bind DN.
e5c28185478ecab60d0dbd78f9daaab113d5c060Timo Sirainen Only clear text passwords are currently supported.
42cb779853b1814d7ab052436b0b6d1f507c742bAki Tuomi </varlistentry>
de84f428e20b57f98d2de9a3793e46e0e1560fb4Timo Sirainen <varlistentry>
ba8a3fbee3f8fca8e481ba929bce6b78296a7820Timo Sirainen The object class of a user entry in LDAP.
ba8a3fbee3f8fca8e481ba929bce6b78296a7820Timo Sirainen Default: posixAccount
ba8a3fbee3f8fca8e481ba929bce6b78296a7820Timo Sirainen </varlistentry>
ba8a3fbee3f8fca8e481ba929bce6b78296a7820Timo Sirainen <varlistentry>
b780aa272b742a43579cdb523cc79cc8d4521306Timo Sirainen The LDAP attribute that corresponds to the
b780aa272b742a43579cdb523cc79cc8d4521306Timo Sirainen user's login name.
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen </varlistentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen <varlistentry>
d461a91e5eb2270e77f4276f0268ba1eede6a08dTimo Sirainen The LDAP attribute that corresponds to the
d461a91e5eb2270e77f4276f0268ba1eede6a08dTimo Sirainen Default: uidNumber
d461a91e5eb2270e77f4276f0268ba1eede6a08dTimo Sirainen </varlistentry>
d461a91e5eb2270e77f4276f0268ba1eede6a08dTimo Sirainen <varlistentry>
d461a91e5eb2270e77f4276f0268ba1eede6a08dTimo Sirainen The LDAP attribute that corresponds to the
d461a91e5eb2270e77f4276f0268ba1eede6a08dTimo Sirainen user's primary group id.
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen Default: gidNumber
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen </varlistentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen <varlistentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen The LDAP attribute that corresponds to the
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen user's gecos field.
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen Default: gecos
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen </varlistentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen <varlistentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen <term>ldap_user_home_directory (string)</term>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen The LDAP attribute that contains the name of the user's
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen home directory.
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen Default: homeDirectory
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen </varlistentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen <varlistentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen The LDAP attribute that contains the path to the
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen user's default shell.
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen Default: loginShell
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen </varlistentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen <varlistentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen The LDAP attribute that contains the UUID/GUID of
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen an LDAP user object.
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen Default: nsUniqueId
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen </varlistentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen <varlistentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen The LDAP attribute that contains the objectSID of
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen an LDAP user object. This is usually only
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen necessary for ActiveDirectory servers.
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen Default: objectSid for ActiveDirectory, not set
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen for other servers.
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen </varlistentry>
417d2a64eba7d8c395b6c8a18d845f7ff2471637Timo Sirainen <varlistentry>
417d2a64eba7d8c395b6c8a18d845f7ff2471637Timo Sirainen <term>ldap_user_modify_timestamp (string)</term>
8bb360f9e5de1c25e4f875205bb06e8bf15dae14Timo Sirainen The LDAP attribute that contains timestamp of the
417d2a64eba7d8c395b6c8a18d845f7ff2471637Timo Sirainen last modification of the parent object.
3402c71658e8c440941d50a66aba777849b3b89fTimo Sirainen Default: modifyTimestamp
8eeced2d681741d4071e6b145fe26232186af34aTimo Sirainen </varlistentry>
e7a81e78fb5d8078d32ec05257f75095b28eb9e8Timo Sirainen <varlistentry>
3402c71658e8c440941d50a66aba777849b3b89fTimo Sirainen <term>ldap_user_shadow_last_change (string)</term>
417d2a64eba7d8c395b6c8a18d845f7ff2471637Timo Sirainen When using ldap_pwd_policy=shadow, this parameter
417d2a64eba7d8c395b6c8a18d845f7ff2471637Timo Sirainen contains the name of an LDAP attribute corresponding
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen <citerefentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen </citerefentry> counterpart (date of the last
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen password change).
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen Default: shadowLastChange
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen </varlistentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen <varlistentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen When using ldap_pwd_policy=shadow, this parameter
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen contains the name of an LDAP attribute corresponding
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen <citerefentry>
9accc087160a4a485df40276daf7f6d1aa23d9b6Timo Sirainen </citerefentry> counterpart (minimum password age).
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen Default: shadowMin
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen </varlistentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen <varlistentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen When using ldap_pwd_policy=shadow, this parameter
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen contains the name of an LDAP attribute corresponding
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen <citerefentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen </citerefentry> counterpart (maximum password age).
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen Default: shadowMax
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen </varlistentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen <varlistentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen <term>ldap_user_shadow_warning (string)</term>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen When using ldap_pwd_policy=shadow, this parameter
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen contains the name of an LDAP attribute corresponding
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen <citerefentry>
358f356749078ed2ae69fc48ced375761c877b61Timo Sirainen </citerefentry> counterpart (password warning
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen Default: shadowWarning
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen </varlistentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen <varlistentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen <term>ldap_user_shadow_inactive (string)</term>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen When using ldap_pwd_policy=shadow, this parameter
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen contains the name of an LDAP attribute corresponding
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen <citerefentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen </citerefentry> counterpart (password inactivity
a37c2c1ad645b6d8ea73e6d38695efdde4f3f928Timo Sirainen Default: shadowInactive
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen </varlistentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen <varlistentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen When using ldap_pwd_policy=shadow or
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen ldap_account_expire_policy=shadow, this parameter
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen contains the name of an LDAP attribute corresponding
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen <citerefentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen </citerefentry> counterpart (account expiration date).
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen Default: shadowExpire
a37c2c1ad645b6d8ea73e6d38695efdde4f3f928Timo Sirainen </varlistentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen <varlistentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen <term>ldap_user_krb_last_pwd_change (string)</term>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen When using ldap_pwd_policy=mit_kerberos, this
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen parameter contains the name of an LDAP attribute
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen storing the date and time of last password change
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen Default: krbLastPwdChange
a37c2c1ad645b6d8ea73e6d38695efdde4f3f928Timo Sirainen </varlistentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen <varlistentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen <term>ldap_user_krb_password_expiration (string)</term>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen When using ldap_pwd_policy=mit_kerberos, this
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen parameter contains the name of an LDAP attribute
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen storing the date and time when current password
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen Default: krbPasswordExpiration
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen </varlistentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen <varlistentry>
a37c2c1ad645b6d8ea73e6d38695efdde4f3f928Timo Sirainen <term>ldap_user_ad_account_expires (string)</term>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen When using ldap_account_expire_policy=ad, this
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen parameter contains the name of an LDAP attribute
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen storing the expiration time of the account.
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen Default: accountExpires
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen </varlistentry>
6bd263caf006edc75205f446fa0283c6f364941bTimo Sirainen <varlistentry>
5ce40a7370a19a98caeca5d2e27b3d6c77c90ea9Timo Sirainen <term>ldap_user_ad_user_account_control (string)</term>
5ce40a7370a19a98caeca5d2e27b3d6c77c90ea9Timo Sirainen When using ldap_account_expire_policy=ad, this
5ce40a7370a19a98caeca5d2e27b3d6c77c90ea9Timo Sirainen parameter contains the name of an LDAP attribute
5ce40a7370a19a98caeca5d2e27b3d6c77c90ea9Timo Sirainen storing the user account control bit field.
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen Default: userAccountControl
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen </varlistentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen <varlistentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen When using ldap_account_expire_policy=rhds or
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen equivalent, this parameter determines if access is
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen allowed or not.
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen Default: nsAccountLock
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen </varlistentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen <varlistentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen <term>ldap_user_nds_login_disabled (string)</term>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen When using ldap_account_expire_policy=nds, this
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen attribute determines if access is allowed or not.
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen Default: loginDisabled
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen </varlistentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen <varlistentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen <term>ldap_user_nds_login_expiration_time (string)</term>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen When using ldap_account_expire_policy=nds, this
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen attribute determines until which date access is
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen Default: loginDisabled
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen </varlistentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen <varlistentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen <term>ldap_user_nds_login_allowed_time_map (string)</term>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen When using ldap_account_expire_policy=nds, this
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen attribute determines the hours of a day in a week
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen when access is granted.
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen Default: loginAllowedTimeMap
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen </varlistentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen <varlistentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen The LDAP attribute that contains the user's Kerberos
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen User Principal Name (UPN).
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen Default: krbPrincipalName
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen </varlistentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen <term>ldap_user_ssh_public_key (string)</term>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen The LDAP attribute that contains the user's SSH
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen </varlistentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen <varlistentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen <term>ldap_force_upper_case_realm (boolean)</term>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen Some directory servers, for example Active Directory,
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen might deliver the realm part of the UPN in lower case,
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen which might cause the authentication to fail. Set this
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen option to a non-zero value if you want to use an
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen upper-case realm.
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen Default: false
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen </varlistentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen <varlistentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen <term>ldap_enumeration_refresh_timeout (integer)</term>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen Specifies how many seconds SSSD has to wait
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen before refreshing its cache of enumerated
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen </varlistentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen <varlistentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen <term>ldap_purge_cache_timeout (integer)</term>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen Determine how often to check the cache for
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen inactive entries (such as groups with no
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen members and users who have never logged in) and
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen remove them to save space.
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen Setting this option to zero will disable the
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen cache cleanup operation.
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen Default: 10800 (12 hours)
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen </varlistentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen <varlistentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen The LDAP attribute that corresponds to the
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen user's full name.
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen </varlistentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen <varlistentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen The LDAP attribute that lists the user's
cb06054f863550b766950fe2949b69b7047bcd81Timo Sirainen group memberships.
ec1823d289727d53fc74073e6cdda61d64fc0761Timo Sirainen Default: memberOf
ec1823d289727d53fc74073e6cdda61d64fc0761Timo Sirainen </varlistentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen <varlistentry>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen <term>ldap_user_authorized_service (string)</term>
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen If access_provider=ldap and
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen ldap_access_order=authorized_service, SSSD will
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen use the presence of the authorizedService
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen attribute in the user's LDAP entry to determine
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen access privilege.
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen An explicit deny (!svc) is resolved first. Second,
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen SSSD searches for explicit allow (svc) and finally
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen for allow_all (*).
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen Default: authorizedService
b28a1c61a5d262fd16b46bebe47dbfb90ac9c5fcTimo Sirainen </varlistentry>
supports nested groups (e.g. RFC2307bis), then
by ldap.conf)
Default: not set, i.e. service discovery is disabled
use server side access control, i.e. the LDAP
ldap_uri = ldap://ldap.mydomain.org