This file provides configuration information for NSS LDAP library.
The recognized directives are as follows: host The LDAP directory server to direct all queries to. Must be resolvable without using LDAP. Can be a hostname or an IP address. If not specified the libraries will attempt to use DNS 'Resource Records' (RR) to find the appropriate host.
The distinguished name of the search base. If this parameter is omitted it the defaultdomain is used in a fashion specified by RFC2247
Commonly the elements of the domain
name prefixed with 'dc='. Example: dc=rage,dc=net. This value is required.
Another way to specify your LDAP server is to provide an uri with the server name. This allows to use Unix Domain Sockets to connect to a local LDAP Server.
uri ldap://127.0.0.1/ uri ldaps://127.0.0.1/ uri ldapi://%2fvar%2frun%2fldapi_sock/ Note: %2f encodes the '/' used as directory separator
LDAP version to use. Valid values are 2 or 3.
The distinguished name to bind to the server with. If omitted the library will bind anonymously.
The credentials to bind with. This should only be specified in conjunction with binddn.
The distinguished name to bind to the server with if the effective user ID is root.
Password is stored in /etc/ldap.secret (mode 600)
The TCP port to bind to the server with. Defaults to 389
The search scope. Should be one of 'one', 'base', or 'sub'.
Timelimit for searches
Timelimit for binding to LDAP server.
The following parameters are NSS specific. They modify the default behaviour of NSS library. All of these are optional.
these parameters control where certain data is found. if you define a filter, it will be
example: nss_base_XXX base?scope?filter
you can also omit the suffix, and base DN will be appended to it. This may incur a small performance impact.
example: nss_base_passwd ou=People,
Valid parameters are: