slapd

From RaySoft

slapd is the stand-alone LDAP daemon. It listens for LDAP connections on any number of ports (default 389), responding to the LDAP operations it receives over these connections.[1]

Documentation

Backends

Syntax

slapd [PARAMETER ...]

Parameters

-4
Listen on IPv4 addresses only.
-6
Listen on IPv6 addresses only.
-g GROUP
slapd will run with the specified group name or id.
NOTE:
When used with -r, slapd will use the group database in the change root environment.
-d LEVEL
Turn on debugging as defined by LEVEL. If this option is specified, even with a zero argument, slapd will not fork or disassociate from the invoking terminal. Some general operation and status messages are printed for any value of LEVEL. LEVEL is taken as a bit string, with each bit corresponding to a different kind of debugging information. Comma-separated arrays of friendly names can be specified to select debugging output of the corresponding debugging information. If LEVEL is ?, a list of installed debug-levels is printed, and slapd exits.
-r DIRECTORY
Specifies a directory to become the root DIRECTORY. slapd will change the current working directory to this directory and then chroot to this directory. This is done after opening listeners but before reading any configuration file or initializing any backend. When used as a security mechanism, it should be used in conjunction with -u and -g options.
-u USER
slapd will run with the specified USER name or id, and that user's supplementary group access list. The group ID is also changed to this user's gid, unless the -g option is used to override.
NOTE:
When used with -r, slapd will use the user database in the change root environment.

References

  1. man 8 'slapd'