Commit graph

24496 commits

Author SHA1 Message Date
Nadezhda Ivanova
2a66e3be35 ITS#10393 Duplicate test names test090-asyncmeta-conttl and test090-auditlog 2025-09-26 16:34:44 +03:00
Howard Chu
0270cdfe8e ITS#10381 fix logformat config 2025-09-23 18:58:39 +00:00
Howard Chu
5fd86869f3 ITS#10191 back-mdb: check for pool pause in search
Also related, cancel any ops on a DB that is being deleted.
2025-09-23 17:30:51 +00:00
Lenka Klement
442b2c84f8 ITS#10372 last-bind configuration manual updates 2025-09-23 15:54:31 +00:00
Quanah Gibson-Mount
eae9c380d0 Merge remote-tracking branch 'origin/mdb.RE/0.9' 2025-09-17 17:39:20 +00:00
Ondřej Kuzník
52a8419bae ITS#10379 slapo-lastbind: Use a fresh timestamp for lastbind mod 2025-09-02 20:37:51 +00:00
Ondřej Kuzník
ce9ee22c7a ITS#10385 Set correct rootDN for accesslog replay 2025-09-02 19:20:46 +00:00
Ondřej Kuzník
7c6e35f94b ITS#10369 Merge duplicate attributes properly 2025-09-02 15:27:06 +00:00
Ondřej Kuzník
bb60d30ef5 ITS#10384 Free attributes on error 2025-09-02 15:27:06 +00:00
Howard Chu
75ac8a4145 ITS#10387 lloadd: more for previous commit 2025-09-01 17:22:42 +01:00
Howard Chu
83030cacbc ITS#10387 daemon: fix reverselookup of proxied IPv6 address 2025-09-01 15:05:53 +01:00
Ondřej Kuzník
6d9f99e5f5 ITS#10380 Log server version on logfile change 2025-08-22 14:23:19 +01:00
Ondřej Kuzník
5002604537 ITS#10379 Use a fresh timestamp for lastbind mod 2025-08-05 15:35:34 +00: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
Ondřej Kuzník
a73e45dff5 ITS#10254 Fill in documentation 2025-08-05 15:35:34 +00:00
Ondřej Kuzník
cadbcc629c ITS#9343 Fix the minimum number of ppolicy_rules arguments check 2025-08-05 15:35:34 +00:00
Howard Chu
053ca6b656 ITS#10304 slapd-mdb: fix spurious error when deleting last child of a branch 2025-08-05 16:26:23 +01:00
Howard Chu
87b3f20742 ITS#10371 clients: print actual error code when ldap_result fails
Added a tool_perror2() to avoid some redundant calls.
2025-08-04 19:10:38 +00:00
Nadezhda Ivanova
add3df9da4 ITS#10363 - Implement a target connection time-to-live in asyncmeta 2025-07-31 19:01:56 +00:00
Nadezhda Ivanova
d1848e54ae ITS#10363 Removed unused arguments and unused code in asyncmeta_getconn and asyncmeta_clear_one_msc 2025-07-31 19:01:56 +00:00
Nadezhda Ivanova
4fbdbf388b ITS#10308 Implement cn=monitor for back-asyncmeta
Provide some target connection statistics such as target connections
status and target status
2025-07-31 19:01:56 +00:00
Howard Chu
0ff74659c0 ITS#10374 pcache: fix config emit of noattr attrset
Support for configuring an empty attrset was added in add25c2f45
for ITS#5074 but code to emit the config wasn't updated accordingly.
2025-07-31 16:43:31 +01:00
Howard Chu
216562d19d ITS#10361 slapo-auditlog (empty commit)
Note that 163da8d217 and
b6bed508f5 were for this ITS#.
Those commit messages didn't include the required ITS#.
2025-07-28 15:22:57 +01:00
Caolán McNamara
f584da2fe7 ITS#10375 libldap/tls2: const up oids
to move it out of the .data section
2025-07-28 15:19:04 +01:00
Howard Chu
ed2e55711b ITS#10377 adminguide: fix typos
Introduced same time as ITS#10376
2025-07-28 15:13:12 +01:00
Howard Chu
9dc7fdeb0a ITS#10376 adminguide: fix typo
Introduced in 20e24e1517
2025-07-28 15:11:07 +01:00
Howard Chu
7d2805f27c ITS#10370 libldap: don't assert on network input 2025-07-23 22:05:25 +01:00
Howard Chu
8d37106817 ITS#10367 admin: fix column layout 2025-07-08 17:54:28 +01:00
Howard Chu
c80fd40a18 ITS#10366 admin: fix typo 2025-07-08 16:09:33 +01: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
Howard Chu
fcf6cb40b7 ITS#10359 note that logbase must exist on all providers in delta MPR 2025-06-24 16:01:53 +00:00
Howard Chu
6e559efd85 ITS#10360 delta MPR: internal search should use logDB's rootDN 2025-06-23 22:07:55 +00:00
Ondřej Kuzník
dcd60d1d0a ITS#10254 Let slapo-ppolicy rehash user's password 2025-06-23 16:47:48 +00:00
Ondřej Kuzník
406836540c ITS#10254 Fix password_scheme to return full hash specification 2025-06-23 16:47:48 +00:00
Ondřej Kuzník
d0d07810eb ITS#7981 Allow setting a default hash per policy 2025-06-23 16:47:48 +00:00
Ondřej Kuzník
dad90d66c5 ITS#7981 Move default hash selection to slap_passwd_hash_type 2025-06-23 16:47:48 +00:00
Ondřej Kuzník
9d90f55c83 ITS#9343 Fix uninitialised variable 2025-06-23 16:47:48 +00: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
9496132d28 ITS#10347 Be explicit about managing attr_bv storage 2025-06-20 14:52:19 +00:00
Ondřej Kuzník
dda3ab74db ITS#10345 Remove spurious strdup 2025-06-20 14:52:19 +00:00
Ondřej Kuzník
47e9cd7313 ITS#10349 Do not leak memberof_t 2025-06-20 14:52:19 +00:00
Ondřej Kuzník
b4ed8cf783 ITS#10349 Free bv_effective if unused 2025-06-20 14:52:19 +00:00
jinyaoguo
8cf1812431 ITS#10348 Relase memory allocated from ch_malloc in 2 error handling branches. 2025-06-20 14:52:19 +00:00
jinyaoguo
ddea2bc669 ITS#10343 Fix a memory leak in function slap_uuidstr_from_normalized 2025-06-20 14:52:19 +00:00
jinyaoguo
f00339df9e ITS#10344 Ensure the first argument passed to ber_dupbv_x is not NULL. 2025-06-20 14:52:19 +00:00
Howard Chu
76e1492809 ITS#10356 libldap: implement LDAP_OPT_REFHOPLIMIT 2025-06-20 02:35:44 +00:00
Michael Kourlas
585e6aa9a5 ITS#10330 keep socket non-blocking during polling in ldap_int_tls_start
During TLS negotiation, if a timeout is set, ldap_int_tls_start sets the
socket to non-blocking and calls ldap_int_poll in a loop if
ldap_int_tls_connect does not succeed the first time it is called.

However, ldap_int_poll sets the socket back to blocking and we currently
do not set it back to non-blocking. This means that a subsequent call to
ldap_int_tls_connect may hang and the configured timeout will not be
enforced. To fix this, we now set the socket back to non-blocking after
ldap_int_poll is called.
2025-06-19 13:49:40 +00:00
Michael Kourlas
76b9c476dd ITS#10330 do not poll socket in ldap_int_tls_start if no timeout set
This probably had no effect, but is unnecessary.
2025-06-19 13:49:40 +00:00