Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 37 lines (27 sloc) 1.033 kB
d442234 @gbarr Update test suite to work with either OpenLDAP1 or OpenLDAP2
gbarr authored
1 # Currently test that require a server are only implemented to work
2a5f585 @marschap tests with server: updated for recent OpenLDAP & cleanup
marschap authored
2 # with OpenLDAP v2.4.xx or higher. Edit this file so the tests
d442234 @gbarr Update test suite to work with either OpenLDAP1 or OpenLDAP2
gbarr authored
3 # can find the executable and know what type of server it is
4
2a5f585 @marschap tests with server: updated for recent OpenLDAP & cleanup
marschap authored
5 # Set this to the full path of your LDAP server executable
6 # (e.g '/usr/sbin/slapd')
7 $SERVER_EXE = '<path to ldap server executable>';
d442234 @gbarr Update test suite to work with either OpenLDAP1 or OpenLDAP2
gbarr authored
8
9 # This should be one of
2a5f585 @marschap tests with server: updated for recent OpenLDAP & cleanup
marschap authored
10 # * openldap[+ssl][+ipc][+sasl]
11 # options are appended with '+' signs
12 $SERVER_TYPE = 'openldap';
d442234 @gbarr Update test suite to work with either OpenLDAP1 or OpenLDAP2
gbarr authored
13
2a5f585 @marschap tests with server: updated for recent OpenLDAP & cleanup
marschap authored
14 # Change this if your host cannot be contacted as localhost
15 #$HOST = "localhost";
b3b8f0c @gbarr Add a test for sort control
gbarr authored
16
2a5f585 @marschap tests with server: updated for recent OpenLDAP & cleanup
marschap authored
17 # Set this to the directory where your OpenLDAP schema files are located
18 $SLAPD_SCHEMA_DIR = '';
7794693 @gbarr Some tweaks to the test harnes so we can use OpenLDAP 2.1
gbarr authored
19
2a5f585 @marschap tests with server: updated for recent OpenLDAP & cleanup
marschap authored
20 # OpenLDAP DB type: default is bdb, alternatives: hdb, mdb, ...
21 #$SLAPD_DB = 'bdb';
22
23 # Set this to the slapd module directory if your $SLAPD_DB is dynamically built
24 # (e.g. '/usr/lib/ldap/')
98b726f @marschap tests with server: don't fail on undefined $SLAPD_MODULE_DIR
marschap authored
25 $SLAPD_MODULE_DIR = '';
7b4f3c7 @gbarr RT#40068 Fix tests to work with 2.4.11
gbarr authored
26
b3b8f0c @gbarr Add a test for sort control
gbarr authored
27 $EXTERNAL_TESTS = 0;
28
2a5f585 @marschap tests with server: updated for recent OpenLDAP & cleanup
marschap authored
29 #%sortctrl = (
30 # host => '<ldap server hostname>',
31 # base => '<search base>',
32 # filter => '<search filter>',
33 # order => '<sort attribute name>',
34 #);
2a7eaed @gbarr Ensure require test.cfg returns a true value
gbarr authored
35
36 1;
Something went wrong with that request. Please try again.