summaryrefslogtreecommitdiff
path: root/source4/setup/tests/blackbox_provision-backend.sh
AgeCommit message (Collapse)AuthorFilesLines
2013-10-11provision: Remove --username and --password options from samba-tool domain ↵Andrew Bartlett1-1/+1
provision This avoids confusion, because the LDAP backend does not use these, and they do not set the password for the administrator account either! This may break support for the 'existing' backend LDAP backend, but that is nothing more than a stub for future development anyway, and new work in this area should use EXTERNAL in any case. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2013-09-26s4-openldap: Restored openldap-related options to the provision scriptNadezhda Ivanova1-6/+6
At the moment they are only available if TEST_LDAP=yes to avoid accidental use as the openldap backend is still failing some tests Signed-off-by: Nadezhda Ivanova <nivanova@symas.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Nadezhda Ivanova <nivanova@samba.org> Autobuild-Date(master): Thu Sep 26 07:31:05 CEST 2013 on sn-devel-104
2012-09-11s4:setup/tests: make use of samba-tool domain provisionStefan Metzmacher1-5/+5
metze
2012-08-23selftest: Specify --use-ntvfs when testing the LDAP backend init codeAndrew Bartlett1-5/+5
We do not need to set filesystem ACLs in this case. Andrew Bartlett
2012-06-20s4-provision: Remove --slapd-path optionAndrew Bartlett1-5/+5
This just leaves a default enough for the test code to still check the start of the provision. This may well be removed in future, and we wish to reduce the extra options to provision. Andrew Bartlett
2011-11-08s4-provision Remove options for LDAP backend to reduce user confusionAndrew Bartlett1-5/+5
We do not support the LDAP backend any more, but keep the code in case someone comes up with an interesting use case that could leverage this in a very particular situation. In order to keep the code, we must test it, so we keep just this much of the support around. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Nov 8 04:33:49 CET 2011 on sn-devel-104
2011-02-07s4-test: fixed more assumptions of ./setup for setup directoryAndrew Tridgell1-5/+5
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-03-18Fixed OL-MMR make testOliver Liebel1-1/+1
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-08-17s4:provision Rework provision-backend into provisionAndrew Bartlett1-5/+5
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
2009-08-12s4:provision Allow provision-backend to not run slapd for 'make test'Andrew Bartlett1-5/+5
As the version of OpenLDAP required for Samba4 is fairly new, we don't want to make it a requirement before this python code is run in 'make test'. As such, skip over the actual starting of slapd, but check the rest runs alright (which still validates syntax and other modules). Andrew Bartlett
2008-08-19Fix up new OpenLDAP MMR code.Andrew Bartlett1-0/+1
This changes the MMR password from hard-coded value of 'linux', adds tests and fixes the Fedora DS backend. Currently the MMR password matches the admin password, but we can change this to be another random value if required. Also require the port to be specified on the command line, so we don't hard-code a port of 9000. Andrew Bartlett (This used to be commit 08257c6d6ce809fcd53f9b2b4d558fef616b74ce)
2008-06-19Add a blackbox test for the provision-backend script.Andrew Bartlett1-0/+25
This test (as most tests do :-) found a few bugs, also fixed in this commit. Andrew Bartlett (This used to be commit d96a6482dad54d1d27a87107865e833a9c32cf53)