Commit graph

1639 commits

Author SHA1 Message Date
Ondřej Kuzník
8b0bdec6da Merge branch 'python-ldap' into 'master'
Port python test suite to python-ldap

See merge request openldap/openldap!732
2026-02-12 00:16:15 +00: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
Ondřej Kuzník
f26d4cd101 ITS#9596 Allow monitor to be loaded 2024-10-28 15:53:17 +00:00
Ondřej Kuzník
33fc2478dd ITS#9596 Request only DN for now 2024-10-28 15:53:17 +00:00
Ondřej Kuzník
0d6e0ead6a ITS#9596 Also load backends that aren't compiled in 2024-10-28 15:53:17 +00:00
Ondřej Kuzník
9b2e20e735 ITS#9596 Do not delete test data unless requested 2024-10-28 15:53:09 +00:00
Ondřej Kuzník
e03fb6f3f3 ITS#10278 Port testsuite to python-ldap 2024-10-28 15:53:09 +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
Ondřej Kuzník
04ca49552e Check slapadd result before continuing with test 2023-05-24 13:46:50 +01:00
johan pascal
f7e6c71e13 ITS#10014: Add TLS handle using MbedTLS 2023-03-31 05:19:30 +00:00
Howard Chu
a359cccbde ITS#10000 slapd-watcher: plug potential leak 2023-02-17 15:52:35 +00:00
Howard Chu
5e15ce57a9 ITS#9999 slapd-search: plug potential leak 2023-02-17 15:52:35 +00:00
Howard Chu
17359b7463 ITS#9998 slapd-mtread: plug potential leak 2023-02-17 15:52:35 +00:00
Quanah Gibson-Mount
b220ba1077 ITS#9718 - Fix nonportable sed usage 2023-01-30 22:06:06 +00:00
Дилян Палаузов
08e1e2c66c typo unsuccesSful, presense/presence, accessSlog 2023-01-09 17:46:36 +00:00
Howard Chu
9d53f7ccbc ITS#9929 preserve e_name for memberOf values 2022-12-01 15:39:03 +00:00