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
This commit is contained in:
parent
bfb6c05cfe
commit
df01def771
5 changed files with 547 additions and 2 deletions
48
Python/etc/default/slapd
Normal file
48
Python/etc/default/slapd
Normal file
|
@ -0,0 +1,48 @@
|
|||
# -*- 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=""
|
||||
@
|
Loading…
Add table
Add a link
Reference in a new issue