Added mmr and olc to the OpenLDAP backend provisioning-scripts
authorOliver Liebel <oliver@itc.li>
Tue, 24 Feb 2009 00:37:58 +0000 (11:37 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 24 Feb 2009 10:34:44 +0000 (21:34 +1100)
commit31f2cddcf5886b0a78290fdfa609a2ee63bda5ad
treeec311efac147bedf11db908b621601158a47a11b
parent00173c6ce6e6aa394acc0685827b0b9fb1faf45c
Added mmr and olc to the OpenLDAP backend provisioning-scripts

These extensions add mmr (multi-master-replication) and olc
(openldap-online-configuration) capabilities to the
provisioning-scripts (provision-backend and provision.py), for use
with the openldap-backend (only versions >=2.4.15!).

Changes / additions made to the provision-backend  -script:
added new command-line-options:
--ol-mmr-urls=<list of whitespace separated ldap-urls> for use with mmr
(can be combined with --ol-olc=yes),
--ol-olc=[yes/no] (activate automatic conversion from static slapd.conf
to olc),
--ol-slaptest=<path to slaptest binary> (needed in conjunction with
--ol-olc=yes)

Changes / additions made to the provision.py -script: added
extensions, that will automatically generate the chosen mmr and/or olc
setup for the openldap backend, according to the to chosen parameters
set in the provision-backend script

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
13 files changed:
source4/scripting/python/samba/provision.py
source4/setup/DB_CONFIG
source4/setup/mmr_serverids.conf
source4/setup/olcOverlay={0}syncprov.ldif [new file with mode: 0644]
source4/setup/olc_acl.conf [new file with mode: 0644]
source4/setup/olc_mmr.conf [new file with mode: 0644]
source4/setup/olc_pass.conf [new file with mode: 0644]
source4/setup/olc_seed.ldif [new file with mode: 0644]
source4/setup/olc_serverid.conf [new file with mode: 0644]
source4/setup/olc_syncrepl.conf [new file with mode: 0644]
source4/setup/olc_syncrepl_seed.conf [new file with mode: 0644]
source4/setup/provision-backend
source4/setup/slapd.conf