Commit graph

1647 commits

Author SHA1 Message Date
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
Michael Nolta
dd621781f0 ITS#10248 Regression test script 2024-09-26 17:56:59 +00:00
Ondřej Kuzník
8bad3eb380 ITS#10249 slapo-nestgroup: plug leak in nestgroup_memberFilter 2024-09-25 17:10:09 +01:00
Howard Chu
a7007b7f64 ITS#10163 More configure munging
Streamline configuration of slapd modules. Just use the
appropriate OL_ARG_ENABLE_xx, then almost no other edits
will be needed in configure.ac when adding new modules.

Backends will still have to add their Makefile to the
AC_CONFIG_FILES() list.
2024-04-05 15:42:04 +00:00
Quanah Gibson-Mount
073232bbc7 Happy New Year! 2024-03-26 19:45:07 +00:00
Howard Chu
ddd42a2af3 ITS#10161 Add nestgroup overlay 2024-03-21 17:12:53 +00:00
Howard Chu
b3bbbb39cd ITS#10167 slapo-memberof: add addcheck option
Check memberships of newly added entries.
2024-02-06 01:22:58 +00:00
Howard Chu
62a5944640 Review tweaks (squash this) 2024-02-05 21:13:35 +00:00
Howard Chu
7e21081f6d ITS#10163 cleanup configure/tests integration
Streamline backend/overlay definition.
2024-02-05 21:13:35 +00:00
Hiroyuki Homma
212fdc5196 ITS#10080 Fix typo in test script and add checks for ADD and MODRDN. 2024-01-11 04:45:08 +00:00
Hiroyuki Homma
5cbb29cfcf ITS#10080 Fix refreshAndPersist synchronization problem with glue + rwm 2024-01-11 04:45:08 +00:00
Stacey Marshall
8139458b39 ITS#10130 Several callers of getpassphrase() ignore NULL returns 2024-01-10 18:47:36 +00:00
Ondřej Kuzník
f141416f32 ITS#10142 Link tiers in on cn=config startup 2023-12-19 14:47:34 +00:00
Ondřej Kuzník
38791abdc9 ITS#9959 Adjust tests 2023-09-27 14:44:52 +00:00
Ondřej Kuzník
100def6487 ITS#10084 Switch MECH default away from DIGEST-MD5 2023-09-26 17:16:29 +01:00
Ondřej Kuzník
9691d02268 ITS#10085 Disable the client SASL part of test029
When identity assertion is not done (e.g. cn=People which is Bjorn's
direct backend) we need to store the client's password to bind as them
but that only works if they did a simple bind. Might be enabled again if
identity assertion rules change in the future.
2023-09-26 17:15:55 +01:00
Quanah Gibson-Mount
52ee3e23a4 ITS#10086 - Fix incorrect configurations in test
Fix test to be valid
2023-07-28 20:02:35 +00:00
Ondřej Kuzník
7aaee92f0a ITS#9343 More policy selection criteria 2023-06-06 11:46:17 +01:00