Commit graph

1664 commits

Author SHA1 Message Date
Ondřej Kuzník
9dc687528d ITS#10517 libldap+mbedtls: Check cert validation result 2026-06-08 18:07:16 +00:00
Howard Chu
4c4ed49386 ITS#10515 tests: don't use mkfifo in test079
Just use ordinary pipes.
2026-06-03 22:42:18 +00:00
Howard Chu
a5c60eb6a5 ITS#10515 tests: use existing WINDOWS check from autoconf 2026-06-03 22:42:11 +00:00
Howard Chu
8aa84f98f5 ITS#10515 tests: export AC_OS_WINDOWS
Was missing from test environment
2026-06-03 22:42:04 +00:00
Howard Chu
3f8346f44d ITS#10515 slapd/config: Windows compat
Newer gcc insists on arguments matching prototypes
2026-06-03 22:41:57 +00:00
Howard Chu
15b73ef9a3 ITS#10515 tests: Windows compat
We use MSYS(2) to build on Windows. To run the test suite we need
to use Windows-compatible pathnames.
2026-06-03 22:40:15 +00:00
Ondřej Kuzník
2fac374d16 ITS#10502 lloadd: Add enable/disable keywords and enable proxyauthz by default 2026-05-21 01:23:08 +00:00
Quanah Gibson-Mount
214ec70c95 ITS#10506 - Remove back-sql 2026-05-19 19:51:54 +00:00
Ondřej Kuzník
9cbcfe748a ITS#10499 tests: record test results as junit.xml 2026-05-14 19:58:38 +00:00
Ondřej Kuzník
9e9e6b8c11 ITS#10472 Make sure we kill background jobs on every path 2026-05-01 15:13:53 +00:00
Ondřej Kuzník
0073224bdf ITS#10472 Check server are still running when we expect them to 2026-05-01 15:13:53 +00:00
Ondřej Kuzník
d9d6eb085d ITS#10472 Check exit code of background jobs
Also improve KILLPIDS tracking.

Waiting on multiple jobs and relying on wait exit code being != 0 if at
least one process returned != 0 might not be portable but is the best we
can do for now. We can address that in the future.
2026-05-01 15:13:53 +00:00
Ondřej Kuzník
7fa8221df5 ITS#10472 Check tool return codes when missing 2026-05-01 15:13:53 +00:00
Ondřej Kuzník
85c8e67127 ITS#6825 slapo-constraint: also use modify_entry 2026-04-30 19:50:52 +00:00
Ondřej Kuzník
a7dd52a96a ITS#6825 slapo-unique: adjust test 2026-04-30 19:50:52 +00:00
Ondřej Kuzník
aefd96f8c3 ITS#6198 Introduce restrictop functionality 2026-04-30 16:41:28 +00:00
Ondřej Kuzník
fbf682a6c6 ITS#6198 Allow extop and control restrictions in ACLs 2026-04-30 16:41:28 +00:00
Howard Chu
bd2509a612 ITS#10478 autoca: reject commas in email/ipaddr 2026-04-21 18:02:51 +00:00
Ondřej Kuzník
16529497b3 ITS#10250 tests: Do not silently succeed anymore 2026-04-14 17:21:01 +00:00
Ondřej Kuzník
67d17724b4 ITS#10250 tests: Accept changes in attribute ordering in here as well 2026-04-14 17:21:01 +00:00
Ondřej Kuzník
d05103dd56 ITS#9888 fix regression test 2026-04-14 17:21:01 +00:00
Nadezhda Ivanova
5db976f6d3 ITS#10363 Add some re-checks so that the test does not fail on slower machines 2026-04-09 20:34:44 +00:00
Ondřej Kuzník
ff744ba11e ITS#10475 Escape asserted value before pasting into filter 2026-04-08 15:54:44 +00:00
Tero Saarni
6052b6331e ITS#10464 Add tests for ppolicy reject cases
Signed-off-by: Tero Saarni <tero.saarni@est.tech>
2026-04-07 15:48:49 +01:00
Ondřej Kuzník
24d6949a5f ITS#9596 Allow monitor to be loaded 2026-03-31 15:45:17 +00:00
Ondřej Kuzník
455b58fb70 ITS#9596 Request only DN for now 2026-03-31 15:45:17 +00:00
Ondřej Kuzník
a1feec162a ITS#9596 Also load backends that aren't compiled in 2026-03-31 15:45:17 +00:00
Ondřej Kuzník
fecf388917 ITS#9596 Do not delete test data unless requested 2026-03-31 15:45:17 +00:00
Ondřej Kuzník
ee33f39fbb ITS#10278 Port testsuite to python-ldap 2026-03-31 15:45:17 +00:00
Nadezhda Ivanova
d1fd1a385b ITS#10363 Fixed the broken asyncmeta con-ttl test
Fixed the incorrect filespaths, added the correct test statements
and added some comments
2026-03-12 15:33:50 +00:00
Nadezhda Ivanova
745503ec3b ITS#10364 back-asyncmeta should process a notice-of-disconnect and close the target connection
Asyncmeta will now accept a Notice of Disconnect unsolicited message, but still ignore all
other unsolicited messages. When an NoD is received, asyncmeta will stop using the connection
to proxy requests. It will wait until all pending operations receive a response or time-out
and then close the connection, unless the target does it first.
2026-03-11 14:42:47 +02:00
Ondřej Kuzník
1528f88794 ITS#10436 Make sure to stop servers if test fails 2026-02-10 00:04:08 +00:00
Ondřej Kuzník
80a75662ae ITS#10250 Accept changes in attribute ordering for replication tests 2026-02-03 16:49:45 +00:00
Quanah Gibson-Mount
1136fabf06 ITS#10433 - Update copyright year 2026-01-28 17:43:12 +00:00
Nadezhda Ivanova
1cbc8353c2 ITS#10388 Fixed an error in the regression test from previous commit 2026-01-06 15:12:28 +02:00
Ondřej Kuzník
b8df689969 ITS#9640 Introduce the increment privilege 2025-12-11 20:42:19 +00:00
Ondřej Kuzník
0f2d23066e ITS#10361 Standardise CONFIGPWF usage 2025-12-05 18:47:39 +00:00
Ondřej Kuzník
9c025b8aff ITS#10361 Remove bashism 2025-12-05 18:47:39 +00:00
Nadezhda Ivanova
138422cbe9 ITS#10388 ldif_parse_line2 is not compliant with RFC2849 2025-10-21 18:22:05 +00:00
Ondřej Kuzník
bbe436d012 ITS#10313 Add a chaining test 2025-10-21 03:15:43 +00:00
Nadezhda Ivanova
2a66e3be35 ITS#10393 Duplicate test names test090-asyncmeta-conttl and test090-auditlog 2025-09-26 16:34:44 +03:00
Ondřej Kuzník
0734bc3373 ITS#10254 Do not trigger pwdReset when rehashing 2025-08-05 15:35:34 +00:00
Ondřej Kuzník
06480123b1 ITS#10254 Fix rehashing logic and add tests 2025-08-05 15:35:34 +00:00
Nadezhda Ivanova
add3df9da4 ITS#10363 - Implement a target connection time-to-live in asyncmeta 2025-07-31 19:01:56 +00:00
Arran Cudbard-Bell
163da8d217
slapo-auditlog: Add olcAuditlogNonBlocking to avoid blocking when logging to named pipes
The default behaviour of fopen() when called on a named pipe which does not have any reader, is to block, until a reader opens the pipe.  This blocks slapo-auditlog when it attempts to write output.  Depending on how critical the audit log  is, it may be preferable to discard audit log output and continue processing requests if there's no reader available.

For clarity the call to fopen() is removed and replaced with open()/fdopen(), allowing us to specify O_* flags as opposed to using fopen() or open()/fdopen(). 0666 are the base permissions used by fopen() when files are created.
2025-07-03 11:18:51 -06:00
Arran Cudbard-Bell
b6bed508f5
build: Set OS_WINDOWS in scripts/defines.sh to aid with Windows detection in test cases
This uses the result AC_CANONICAL_HOST and a pre-existing case statement checking for mingw32, cygwin, interix to determine if the build system is Windows based... We make the not unreasonable assumption that if the build system is Windows based, the tests will also be running on a Windows system.
2025-07-01 07:57:59 -04:00
Ondřej Kuzník
14d47146b0 ITS#10169 Allow a Compare against oathSecret 2025-06-20 23:45:43 +00:00
Ondřej Kuzník
68bd743cfe ITS#10266 Adding a test script 2025-02-19 19:59:42 +00:00
Alexandre Jousset
068881efb4 ITS#10160 - Add "neguri" and "negset" constraint types to slapo-constraint 2025-02-12 17:46:55 +00:00
Ondřej Kuzník
64021967b5 ITS#10272 Request all attributes from remote
Fixes a regression introduced in fc1bcaf9de
leaving us unable to check the full filter after we recreate the entry.
2024-10-29 12:43:37 +00:00