Commit graph

1623 commits

Author SHA1 Message Date
Howard Chu
6cb792fe93 ITS#9535 avoid non-portable wc format
Use awk to count lines instead
2021-04-24 17:40:51 +01:00
Ondřej Kuzník
defa618405 ITS#9532 Check homedir overlay is enabled before testing it 2021-04-23 08:07:20 +01:00
Quanah Gibson-Mount
093d966fbb ITS#8736 - Add test script using delta-syncrepl for cn=config replication 2021-04-14 02:56:48 +00:00
Ondřej Kuzník
afa19de2cb ITS#9295 Handle add+delete on a single-value attr 2021-04-12 15:15:02 +00:00
Quanah Gibson-Mount
0ad73f8717 ITS#9437 - Fix slapo-otp overlay name 2021-03-31 23:12:00 +00:00
Howard Chu
85883224ba ITS#9513 Fixup test020
Remove dependency on number of fields in debug output
2021-03-31 18:53:50 +00:00
Howard Chu
94fbd96826 ITS#9513 Change all lutil time structs to use nanoseconds
Instead of microseconds
2021-03-31 18:53:50 +00:00
Ondřej Kuzník
87f3bad8bb ITS#9437 Add otp_2fa overlay 2021-03-31 14:57:56 +00:00
Ondřej Kuzník
0b1ad3fcce Allow libtool path to be hinted 2021-03-26 16:36:26 +00:00
Ondřej Kuzník
8382d3c380 ITS#9470 Add homedir overlay 2021-03-26 01:27:09 +00:00
HoweverAT
9d594a118e ITS#8847 Add SOCKET_BIND_ADDRESSES Option 2021-03-25 18:47:11 +00:00
Howard Chu
9621d0c3d5 Fix typos in schema replication check 2021-03-21 20:38:16 +00:00
Ondřej Kuzník
1d5e16fa54 ITS#9438 Do not regenerate config on startup 2021-03-18 21:07:43 +00:00
Ondřej Kuzník
eafcc405e2 ITS#6830 Enable NO-USER-MODIFICATION on ppolicy attributes 2021-03-18 17:32:30 +00:00
Quanah Gibson-Mount
6809a942cb ITS#9051 Regression test 2021-03-18 16:36:56 +00:00
Ondřej Kuzník
f2e6efed95 ITS#5768 Avoid extraneous newlines in deref printing 2021-03-15 16:31:55 +00:00
Quanah Gibson-Mount
641ecb4108 ITS#8773 - Add test for slapo-deref overlay 2021-03-15 16:31:55 +00:00
Quanah Gibson-Mount
c7763538de ITS#9453 - Make pw argon2 official 2021-03-10 23:21:08 +00:00
Ondřej Kuzník
539e810530 Export $TESTDIR so that children know where they can write 2021-03-09 17:16:24 +00:00
Tero Saarni
1e3e6cdd4a ITS#9288 crash if back-ldap rebind fails 2021-03-02 20:00:55 +00:00
Quanah Gibson-Mount
00313d614e Fix typo in e051eb28fb 2021-02-26 18:30:13 +00:00
Ondřej Kuzník
e051eb28fb Allow wrapping of slapd invocations 2021-02-26 16:04:40 +00:00
Howard Chu
dc3ad2338b ITS#9197 fix info msg for slapd check 2021-02-26 14:47:18 +00:00
Ondřej Kuzník
1290251a6f ITS#9197 Fix test script 2021-02-26 09:16:20 +00:00
Quanah Gibson-Mount
a8255f9282 ITS#9438 - fix typo in prev commit 2021-02-26 00:22:06 +00:00
Ondřej Kuzník
34b95c520e ITS#9438 Add remoteauth overlay 2021-02-25 22:11:39 +00:00
Ondřej Kuzník
0c2ba04173 ITS#9438 Allow TLS implementation differences in config 2021-02-25 22:11:39 +00:00
Quanah Gibson-Mount
496f9ced21 ITS#9197 - fix typo in prev commit 2021-02-25 17:05:39 +00:00
Tero Saarni
3db2e4a073 ITS#9197 Increase timeouts in test case due to sporadic failures 2021-02-25 16:56:55 +02:00
Tero Saarni
0eacc4a793 ITS#9197 back-ldap: added task that prunes expired connections 2021-02-24 22:07:48 +00:00
Quanah Gibson-Mount
464f1c5cca ITS#9464 - Drop unused AC variables 2021-02-15 18:37:31 +00:00
Howard Chu
b2f2c1bb04 Silence warnings 2021-02-05 21:49:18 +00:00
Ondřej Kuzník
f44c037a9d Do not try to run lloadd/test006 if sasl support unavailable 2021-02-04 18:06:52 +00:00
Quanah Gibson-Mount
efaf9a4a17 Happy New Year! 2021-01-11 19:25:53 +00:00
Ding Fei
0b501e6c1f remove unintended semicolon 2020-12-04 10:42:16 +08:00
Quanah Gibson-Mount
fd3b8ddedb ITS#9400 - Fix prev commit for modular builds 2020-12-02 23:16:36 +00:00
Tero Saarni
a3abd12729 ITS#9400 Added test case for back-ldap retry failure 2020-11-24 18:47:07 +00:00
Ondřej Kuzník
c087244265 SASL and proxyauthz tests 2020-11-17 17:58:15 +00:00
Ondřej Kuzník
bd3da7322a Add TLS tests 2020-11-17 17:58:15 +00:00
Ondřej Kuzník
34ddaa5fc7 Tests for monitoring support 2020-11-17 17:58:15 +00:00
Nadezhda Ivanova
ef0028e586 Initial implementation of cn=config testing script 2020-11-17 17:58:15 +00:00
Nadezhda Ivanova
678fa100f7 Convert the load balancer into a backend 2020-11-17 17:58:14 +00:00
Ondřej Kuzník
9baa56adc2 Update tests to support lloadd as a module 2020-11-17 17:58:14 +00:00
Nadezhda Ivanova
37cd5f21d5 Enable compilation of the load balancer as a module
To compile the balancer as a slapd module, pass --enable-balancer=mod to ./configure
Use --enable-balancer(=yes) to compile as standalone server.
2020-11-17 17:58:14 +00:00
Ondřej Kuzník
c7e3437e1d Update test suite 2020-11-17 17:58:14 +00:00
Ondřej Kuzník
96f493930b Add a load test 2020-11-17 17:55:46 +00:00
Ondřej Kuzník
887c266120 Update tests to match latest configuration layout 2020-11-17 17:55:46 +00:00
Ondřej Kuzník
0a075905a1 Second test 2020-11-17 17:55:46 +00:00
Ondřej Kuzník
015f8934fb First test for load balancer 2020-11-17 17:55:46 +00:00
Quanah Gibson-Mount
bfeaec664f ITS#9354 - Fix usage of signal to be portable 2020-11-02 18:15:08 +00:00
Quanah Gibson-Mount
9187cca4b1 ITS#8798 - Fix build for Windows 2020-11-02 16:08:08 +00:00
Howard Chu
e322ad7999 ITS#9354 fix signed/unsigned rate display 2020-10-13 19:51:40 +01:00
Quanah Gibson-Mount
66af4cfd5d ITS#8618 - Remove deprecated -h and -p options to client tools 2020-10-01 21:27:59 +00:00
Ondřej Kuzník
81361ed3f2 ITS#9359 Adjust test to trigger issue 2020-09-30 19:25:26 +01:00
Howard Chu
bf2b88f0fc ITS#9354 cleanup watcher
After initial contact, don't exit if a server goes down.
Also, don't wait forever for responses, use a timeout and
mention when a timeout occurs.
Simplify csn/sid handling, we know the max we expect so just
allocate the space in advance and keep a fixed sid to slot
mapping.
2020-09-24 23:02:26 +00:00
Quanah Gibson-Mount
a3f186880c ITS#9351 - Always build back-monitor as a static backend 2020-09-21 16:52:33 +00:00
Howard Chu
c59ccf5393 ITS#9354 Tool for monitoring slapd status 2020-09-21 15:00:46 +00:00
Quanah Gibson-Mount
1b6a223a68 ITS#9344 - Fix TLS_PEERKEY_HASH_FAIL evaluation 2020-09-13 08:37:41 +00:00
Howard Chu
cfcf418c94 ITS#9345 disable test058 again 2020-09-13 08:37:05 +01:00
Howard Chu
08b578ce85 ITS#9346 Fix test063 to handle more servers 2020-09-13 08:35:21 +01:00
Quanah Gibson-Mount
47ec168779 ITS#9209 - Fix previous commit for command invocation 2020-09-12 04:58:12 +00:00
Quanah Gibson-Mount
3b2f16e1be ITS#9209 - Fix command invocation 2020-09-12 04:40:46 +00:00
Quanah Gibson-Mount
9d48bdd03b Issue#9335 - Skip test if compiled without SASL support 2020-09-11 21:02:41 +00:00
Howard Chu
c91d6df96b ITS#9339 fix test049 script
Was re-using rid=002, changed to unique rid
2020-09-10 02:29:19 +00:00
Howard Chu
76ff2558c0 ITS#9339 Add cn=monitor to test063
Just for convenience
2020-09-10 02:29:19 +00:00
Quanah Gibson-Mount
ce23aee98d ITS#9209 - Use portable command instead of which for determining if binaries are present 2020-09-04 22:06:15 +00:00
Quanah Gibson-Mount
27e7da68d7 Issue#9333 - Delete unused TIMING variable left over from OpenLDAP 2.0 2020-09-04 21:34:06 +00:00
Howard Chu
c714acb782 ITS#9338 add regression test 2020-09-04 20:48:45 +01:00
Ondřej Kuzník
d203140ae1 ITS#9282 Extend test to cover the second issue fixed 2020-09-02 17:04:42 +01:00
Quanah Gibson-Mount
49b1e8b16f ITS#9282 - Fix hard coded backend 2020-08-27 15:16:38 +00:00
Fredrik Roubert
8a521c17aa ITS#9232 - Implement caseIgnoreListSubstringsMatch. 2020-08-21 21:45:19 +00:00
Quanah Gibson-Mount
092d0a893f ITS#9121 - Use memberOf instead of dgMemberOf 2020-08-20 00:05:26 +00:00
Howard Chu
2721246545 ITS#9309 fix exit status on prev commit 2020-08-10 23:18:48 +01:00
Howard Chu
827a5577f2 ITS#9309 test rejection of redundant ppolicy config 2020-08-10 23:08:37 +01:00
Howard Chu
42644cbc34 ITS#7344 fix test064-constraint
Remove bash-isms
2020-08-07 02:31:18 +01:00
Howard Chu
d4c7126e67 ITS#9279 test Netscape password expiration controls
and do some LDIF cleanup
2020-08-04 22:04:14 +00:00
Quanah Gibson-Mount
63d6f680ba ITS#8753 - Fix reference to ldaps to be StartTLS to accurately reflect what the test is doing 2020-07-30 23:26:22 +00:00
Quanah Gibson-Mount
33a1a8993a ITS#9275 - Update config key to olcMultiProvider 2020-07-23 17:25:46 +00:00
Ondřej Kuzník
ee79cb3874 ITS#6467 Add test script 2020-07-22 22:25:10 +01:00
Quanah Gibson-Mount
3716245fec Issue#8511 - Update documentation and configs to correctly use multiprovider 2020-07-22 19:32:49 +00:00
Quanah Gibson-Mount
9e736dbfaf ITS#9282 regression test 2020-07-22 18:24:51 +00:00
Howard Chu
2c0499ae4e ITS#9121 support nested groups 2020-07-22 15:11:24 +00:00
Howard Chu
9210ed1618 ITS#9121 add dynamic memberOf support for static groups 2020-07-22 15:11:24 +00:00
Quanah Gibson-Mount
21eef84a49 ITS#9275 -- Update wording to remove slave and master terms, consolidate on provider/consumer 2020-07-18 16:27:04 +00:00
Ondřej Kuzník
bdc9dbc511 ITS#8701 Implement account usability in ppolicy 2020-07-07 16:43:37 +01:00
Ryan Tandy
e2a7ad39d0 ITS#9235 Disable slapd-mtread when NO_THREADS 2020-07-04 00:38:36 +00:00
Ryan Tandy
c4b6aad6cb ITS#9235 Link test progs with thread libs 2020-07-03 17:23:14 -07:00
Quanah Gibson-Mount
c06ac436e2 ITS#9235 Merge libldap_r into libldap 2020-07-03 17:23:14 -07:00
Ondřej Kuzník
5bf16496e4 ITS#7084, ITS#7089, ITS#7788 Update test to account for new functionality 2020-07-03 20:42:14 +00:00
Quanah Gibson-Mount
a3bee86700 Minor wording fix 2020-07-03 15:15:34 +00:00
Quanah Gibson-Mount
58c978825c Issue#9020 - Use consistent namespaces for overlays 2020-06-22 20:44:12 +00:00
Quanah Gibson-Mount
f3e0707e34 Cleanup links to old ITS system 2020-06-21 16:37:48 +00:00
Quanah Gibson-Mount
f926e66723 ITS#8873 - Delete obsolete configuration options from back-ldap, back-meta, and back-asyncmeta 2020-05-26 19:59:56 +00:00
Quanah Gibson-Mount
c91bbe6eea ITS#8614 - slapd must be built threaded 2020-05-14 16:30:17 +00:00
Ryan Tandy
78cfaa3c9f Fix minor issues in test077 script 2020-04-28 11:27:49 -07:00
Ryan Tandy
7dfbcfa151 Fix typos 2020-04-28 11:24:48 -07:00
Ryan Tandy
59bdc8158f Convert test077 to LDIF config 2020-04-28 11:24:48 -07:00
Ryan Tandy
e006994d83 Fix slaptest in test077
The libtool wrapper scripts lose argv[0] when exec'ing the real binary.

In the CI Docker container, where the build runs as root, this was
actually starting a real slapd on the default port.

Outside Docker, running as a non-root user, this slapd would just fail
to start, and wouldn't convert the config either.

Using "slapd -Tt" fixes the issue but also prints a warning from
slaptest since the database hasn't been initialized yet.

Dynamic config isn't actually used in this test script, so let's just
run slapd off the config file directly.
2020-04-28 11:21:17 -07:00
Ryan Tandy
0578202a26 Skip MIT setup if krb5kdc not installed 2020-04-27 21:41:29 +00:00
Ryan Tandy
10cc52ca4c ITS#7573 Create regression test 2020-04-27 16:21:12 +00:00
Ryan Tandy
df46c07a92 ITS#6035 Skip test076 if chosen SASL mech not supported 2020-04-26 01:46:43 +00:00
Ryan Tandy
34918d4e35 Fix export syntax compatibility with older sh 2020-04-25 17:02:07 -07:00
Isaac Boukris
7b0017ad49 ITS#9189 add channel-bindings tests 2020-04-23 21:00:39 +02:00
Quanah Gibson-Mount
bc9a92866a ITS#6740 - Always enable rewrite 2020-04-22 14:49:10 +00:00
Isaac Boukris
8e3e85e329 auth: add SASL/GSSAPI tests 2020-04-19 11:10:50 +03:00
Howard Chu
94ef2c9b43 ITS#9209 quote test argument 2020-04-18 01:30:08 +01:00
Howard Chu
c5acb1d377 ITS#9209 fix test 2020-04-17 21:00:07 +01:00
Ryan Tandy
7ce474050e ITS#6035 Fix test076 to specify SASL mech 2020-04-16 09:51:28 -07:00
Quanah Gibson-Mount
a97eed06f0 ITS#6937 - Remove unused proctitle bits 2020-04-15 19:32:28 +00:00
Ondřej Kuzník
6d6a330057 ITS#8245 Use Relax control to avoid uniqueness checks
Still needs to retrieve the entry for ACL resolution until we can
restrict controls with ACLs.
2020-04-06 20:44:09 +00:00
Ondřej Kuzník
6d9e9e6cb0 ITS#6207 Print out test timings 2020-04-03 09:47:46 +01:00
Ondřej Kuzník
720057f4f3 ITS#8753 Fix pinning test script with no openssl 2020-04-03 09:47:46 +01:00
Ryan Tandy
2b01b8dd56 ITS#6035 Create test script 2020-04-02 09:10:51 -07:00
Ondřej Kuzník
9835662927 ITS#9160 OOM handling in test programs 2020-02-07 09:46:52 +00:00
Quanah Gibson-Mount
e67edd9895 This test no longer valid after the fix for ITS#9015, skip it 2020-01-30 16:08:50 +00:00
Ondřej Kuzník
373e497b0e ITS#9156 Add some ppolicy v10 tests 2020-01-23 23:47:09 +00:00
Ondřej Kuzník
44191183be ITS#9156 Move ppolicy schema into the module 2020-01-23 23:45:41 +00:00
Quanah Gibson-Mount
f6ad222e41 Happy New Year! 2020-01-09 16:50:21 +00:00
Ondřej Kuzník
2a301c3040 ITS#9124 Cancel exop test, piggybacking on syncrepl tests 2020-01-03 11:49:17 +00:00
Howard Chu
2ad87f4235 ITS#9121 extend test cases
Test for filtered dynamic attrs, memberOf, filtered memberOf
2019-12-18 20:31:21 +00:00
Howard Chu
90b0abd894 ITS#9121 dynlist enhancements
1) allow filtering on dynamic attribute values
2) populate an optionally configured memberOf attribute

test044 script still needs to be extended to test these
enhancements. We need to define an interim attributeType
for testing memberOf functionality.
2019-12-16 18:31:12 +00:00
Ondřej Kuzník
39fc8a7c96 ITS#8427 Set up a regression test 2019-07-15 17:01:08 +02:00
Ondřej Kuzník
15137bf76f ITS#9038 Another test028 typo 2019-07-08 23:29:04 +00:00
Ondřej Kuzník
12f0242589 ITS#9038 Fix typo in test script 2019-06-24 16:37:23 +02:00
Ondřej Kuzník
75e0eba1f7 ITS#9000 memberof: noop a noop rename 2019-06-20 16:55:13 +02:00
Ondřej Kuzník
eb5a58487b ITS#9038 Update test028 to test this is enforced 2019-06-19 18:47:32 +02:00
Quanah Gibson-Mount
86bffa713e ITS#9010 - More BDB/HDB cleanup
Remove some remaining documentation bits referencing bdb/hdb databases
Remove regression test specific to back-bdb
2019-06-07 17:31:53 +00:00
Quanah Gibson-Mount
70b57c5667 ITS#8734 - Fix testsuite for asyncmeta
Some portions of the test suite did not correctly handle asyncmeta, fix
those issues.  Tests execute and pass after this change
2019-05-13 23:08:33 +00:00
Quanah Gibson-Mount
262a074303 ITS#9010 - Fix test suite
Some additional fixes for the testsuite now that back-bdb/hdb are no
longer present.
2019-05-13 19:41:36 +00:00
Quanah Gibson-Mount
ec2cb12e68 ITS#9010 - Delete back-bdb/back-hdb
This commits deletes all references and code for back-bdb and back-hdb.
There is some follow up work still necessary to flush out the admin
guide for back-mdb.
2019-05-13 17:20:28 +00:00
Ondřej Kuzník
593512bb7b Do not leak lds in slapd-* tools 2019-03-27 10:54:42 +00:00
Howard Chu
47102fcced Add persist support 2019-03-20 08:47:48 -07:00
Nadezhda Ivanova
bb7e14d201 ITS#8734 Fixes for many back-asyncmeta issues
Includes all the changes necessary to fix back-asyncmeta issues
discovered during on-site testing since the start of 2016.
These include:
Issues with stability - crashes and assetion failures
Incorrect behavior during unstable network conditions, such as inability to reset connections
or process responses, or "hanging" to wait for a response that would never be received.
Memory leaks and memory management fixes - major redesign of the way back-asyncmeta
works with memory contexts.
Rewrite was replaced with suffix-massage in configuration, and the network-timeout value was changed to milliseconds.
Incorrect behavior when SASL is used to bind to a target.
Many problems caused by race conditions
Fixes for compiler warnings, and tests.
Cleanup of unused code.
2019-02-28 16:22:11 +00:00
Ondřej Kuzník
64141fda51 ITS#8753 Add pinning tests 2019-02-25 14:28:27 +00:00
Howard Chu
e8c62bf8b4 ITS#8966 add changelog support to syncrepl consumer
Tested against DSEE7. The DSEE binaries must be in your path to run the test script.
2019-01-29 18:51:43 -08:00
Quanah Gibson-Mount
b45a6a7dc7 Happy New Year! 2019-01-14 18:46:16 +00:00
Ondřej Kuzník
8dea22af7e Test updating memberof config works 2019-01-11 15:15:36 +00:00
Howard Chu
ab33121a7b More for test071 2018-12-22 10:41:45 -08:00
Howard Chu
a1bf7f3ddc MSAD add basic test
Requires additional envvars to be set before running.
2018-12-22 09:09:56 -08:00
Quanah Gibson-Mount
f6bf403f1e ITS#8752 - Regression test fix
Increase sleep intervals to avoid test failures on slower/busy systems
2018-12-18 00:34:31 +00:00
Ondřej Kuzník
ddcb186427 Update ITS#8752 regression test 2018-11-14 14:01:43 +00:00
Ondřej Kuzník
a3a9019883 slapd-addel adds/removes entries that we bind as, silence default warning 2018-10-31 18:23:40 +00:00
Ondřej Kuzník
dfbeb82442 Pass correct credentials in slapd-bind 2018-10-31 18:23:40 +00:00
Ondřej Kuzník
f5bef58cae Use LDIF API in slapd-addel 2018-10-31 18:14:52 +00:00
Ondřej Kuzník
3ab98b2fc9 Update keys to RSA 4096 2018-10-30 15:42:35 +00:00
Ondřej Kuzník
64cef0f985 Let autoca tests pass on Debian (using IP, not 'localhost') 2018-10-18 10:41:43 +01:00
Howard Chu
1e30640037 ITS#8923 fix dyngroup NO_SUCH_OBJECT error handling 2018-10-03 21:58:32 +01:00
Quanah Gibson-Mount
e56964c734 Update test044 to catch ITS#8923 2018-10-03 20:28:54 +00:00
Quanah Gibson-Mount
603a92b5eb ITS#8663 - Regression test
Adds a regression test for 8663 that checks that it is possible to
modify all the cn=config related memberOf overlay settings.
2018-07-09 20:03:36 +00:00
Quanah Gibson-Mount
fee34e098c ITS#8616 - Regression test
Add a regression test for ITS#8616 that verifies the ability to change
the values for olcSpNoPresent and olcSpReloadHint
2018-07-03 21:49:52 +00:00