s4:provision Rework provision-backend into provision
authorAndrew Bartlett <abartlet@samba.org>
Thu, 13 Aug 2009 07:01:27 +0000 (17:01 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 16 Aug 2009 23:50:58 +0000 (09:50 +1000)
commitf87811f6b39bfa8bdef906256cf7752e4a6fd999
tree6b6a36de1546d8cc08074f78eea5279f7dcd7551
parent7a9030b7ce164460e662d0798c2490ec5929442d
s4:provision Rework provision-backend into provision

This removes a *lot* of duplicated code and the cause of much
administrator frustration.  We now handle starting and stopping the
slapd (at least for the provision), and ensure that there is only one
'right' way to configure the OpenLDAP and Fedora DS backend

We now run OpenLDAP in 'cn=config' mode for online configuration.

To test what was the provision-backend code, a new --ldap-dryrun-mode
option has been added to provision.  It quits the provision just
before it would start the LDAP binaries

Andrew Bartlett
selftest/target/Samba4.pm
source4/scripting/python/samba/provision.py
source4/setup/ldap_backend_startup.sh [new file with mode: 0644]
source4/setup/olc_acl.conf [deleted file]
source4/setup/olc_pass.conf [deleted file]
source4/setup/provision
source4/setup/provision-backend [deleted file]
source4/setup/slapd.conf
source4/setup/tests/blackbox_provision-backend.sh