LDAP.CONF(5)

NAME
ldap.conf - ldap configuration file

SYNOPSIS
ETCDIR/ldap.conf

DESCRIPTION
The ldap.conf configuration file is used to set system-wide defaults to be applied when running ldap clients. Note that each user may specify an optional configuration file, .ldaprc, in his/her home directory which will be used to override system-wide defaults file. The user may also provide a local configuration file ldaprc which will be used to override per-user and system-wide defaults. Environmental variables may be used to file based defaults.

OPTIONS
The different configuration options are:

BASE <base>
    Used to specify the default base dn to use when performing ldap operations. The base must be specified as a Distinguished Name in LDAP format. HOST <name[:port] ...> Used to specify the name(s) of an LDAP server(s) to which ldap library should connect to. Each server's name can be specified as a domain-style name or an IP address and optionally followed a ':' and the port number the ldap server is listening on. A space separated listed of host may be provided.

PORT <port>
    Used to specify the port used with connecting to LDAP servers(s). The port may be specified as a number.

SIZELIMIT <integer>
    Used to specify a size limit to use when performing searches. The number should be an non-negative integer. SIZELIMIT of zero (0) specifies unlimited search size.

TIMELIMIT <integer>
    Used to specify a time limit to use when performing searches. The number should be an non-negative integer. TIMELIMIT of zero (0) specifies unlimited search time to be used.

DEREF <never|searching|finding|always>
    Specify how aliases dereferencing is done. DEREF should be set to one of never, always, search, or find to specify that aliases are never dereferenced, always dereferenced, dereferenced when searching, or dereferenced only when locating the base object for the search. The default is to never dereference aliases.

FILES
ETCDIR/ldap.conf

SEE ALSO
ldap(3)

AUTHOR
Kurt Zeilenga, The OpenLDAP Project

ACKNOWLEDGEMENTS
OpenLDAP is developed and maintained by The OpenLDAP Project (http://www.openldap.org/). OpenLDAP is derived from University of Michigan LDAP 3.3 Release.