crans_bcfg2/Python/etc/default/slapd
Nicolas Dandrimont df01def771 Import de la config de slapd dans BCfg2
En passant, on passe au mode de rplication 'SyncRepl', qui permet une
rplication from scratch sans dump de la base parente.

darcs-hash:20080925004118-ffbb2-b6de13342ee17d92c37030f37b7e9c63a93cc628.gz
2008-09-25 02:41:18 +02:00

48 lines
1.3 KiB
Python

# -*- mode: python -*-
include("ip")
header('Fichier de configuration du démon slapd')
@Default location of the slapd.conf file
@SLAPD_CONF=
@
@# System account to run the slapd server under. If empty the server
@# will run as root.
@SLAPD_USER=
@
@# System group to run the slapd server under. If empty the server will
@# run in the primary group of its user.
@SLAPD_GROUP=
@
@# Path to the pid file of the slapd server. If not set the init.d script
@# will try to figure it out from $SLAPD_CONF (/etc/ldap/slapd.conf)
@SLAPD_PIDFILE=
@
@# Configure if db_recover should be called before starting slapd
@TRY_BDB_RECOVERY=yes
@
@# Configure if the slurpd daemon should be started. Possible values:
@# - yes: Always start slurpd
@# - no: Never start slurpd
@# - auto: Start slurpd if a replica option is found in slapd.conf (default)
@SLURPD_START=no
@
@# slapd normally serves ldap only on all TCP-ports 389. slapd can also
@# service requests on TCP-port 636 (ldaps) and requests via unix
@# sockets.
@# Example usage:
@SOCKET_PATH="/var/run/slapd/ldapi"
slapd_services = ["ldap://127.0.0.1/", "ldapi:///"]
slapd_services += ["ldap://%s/" % admip()]
if has("sable"):
slapd_services += ["ldaps://%s/" % pubip()]
print 'SLAPD_SERVICES="%s"' % ' '.join(slapd_services)
@
@# Additional options to pass to slapd and slurpd
@SLAPD_OPTIONS=""
@SLURPD_OPTIONS=""
@