| 1 | # $Id$ |
|---|
| 2 | # Default location of the slapd.conf file. If empty, use the compiled-in |
|---|
| 3 | # default (/etc/ldap/slapd.conf). If using the cn=config backend to store |
|---|
| 4 | # configuration in LDIF, set this variable to the directory containing the |
|---|
| 5 | # cn=config data. |
|---|
| 6 | SLAPD_CONF="/etc/ldap/slapd.conf" |
|---|
| 7 | |
|---|
| 8 | # System account to run the slapd server under. If empty the server |
|---|
| 9 | # will run as root. |
|---|
| 10 | SLAPD_USER="openldap" |
|---|
| 11 | |
|---|
| 12 | # System group to run the slapd server under. If empty the server will |
|---|
| 13 | # run in the primary group of its user. |
|---|
| 14 | SLAPD_GROUP="openldap" |
|---|
| 15 | |
|---|
| 16 | # Path to the pid file of the slapd server. If not set the init.d script |
|---|
| 17 | # will try to figure it out from $SLAPD_CONF (/etc/ldap/slapd.conf by |
|---|
| 18 | # default) |
|---|
| 19 | SLAPD_PIDFILE= |
|---|
| 20 | |
|---|
| 21 | # slapd normally serves ldap only on all TCP-ports 389. slapd can also |
|---|
| 22 | # service requests on TCP-port 636 (ldaps) and requests via unix |
|---|
| 23 | # sockets. |
|---|
| 24 | # Example usage: |
|---|
| 25 | #SLAPD_SERVICES="ldap://127.0.0.1:389/ ldaps:/// ldapi:///" |
|---|
| 26 | SLAPD_SERVICES="ldap:/// ldaps:///" |
|---|
| 27 | |
|---|
| 28 | # If SLAPD_NO_START is set, the init script will not start or restart |
|---|
| 29 | # slapd (but stop will still work). Uncomment this if you are |
|---|
| 30 | # starting slapd via some other means or if you don't want slapd normally |
|---|
| 31 | # started at boot. |
|---|
| 32 | #SLAPD_NO_START=1 |
|---|
| 33 | |
|---|
| 34 | # If SLAPD_SENTINEL_FILE is set to path to a file and that file exists, |
|---|
| 35 | # the init script will not start or restart slapd (but stop will still |
|---|
| 36 | # work). Use this for temporarily disabling startup of slapd (when doing |
|---|
| 37 | # maintenance, for example, or through a configuration management system) |
|---|
| 38 | # when you don't want to edit a configuration file. |
|---|
| 39 | SLAPD_SENTINEL_FILE=/etc/ldap/noslapd |
|---|
| 40 | |
|---|
| 41 | # For Kerberos authentication (via SASL), slapd by default uses the system |
|---|
| 42 | # keytab file (/etc/krb5.keytab). To use a different keytab file, |
|---|
| 43 | # uncomment this line and change the path. |
|---|
| 44 | #export KRB5_KTNAME=/etc/krb5.keytab |
|---|
| 45 | |
|---|
| 46 | # Additional options to pass to slapd |
|---|
| 47 | SLAPD_OPTIONS="-4" |
|---|
| 48 | |
|---|