Commit graph

24255 commits

Author SHA1 Message Date
Stacey Marshall
8139458b39 ITS#10130 Several callers of getpassphrase() ignore NULL returns 2024-01-10 18:47:36 +00:00
Howard Chu
f5c96f4469 ITS#7420 move entry_naming_check earlier in Add
Make sure RDN is present in e_attrs before passing entry to overlays
2024-01-10 17:05:13 +00:00
Howard Chu
314800db23 ITS#10143 only slapd should use the logfile 2023-12-19 15:49:03 +00:00
Ondřej Kuzník
f141416f32 ITS#10142 Link tiers in on cn=config startup 2023-12-19 14:47:34 +00:00
Howard Chu
e40d3640a7 ITS#10145 ldap_url_parse_ext: fail earlier on bad URL enclosure 2023-12-16 14:01:46 +00:00
Howard Chu
4c80d78dcc ITS#10144 libldap: RDNs must contain at least 1 AVA 2023-12-16 12:47:55 +00:00
Howard Chu
a692941092 ITS#10092 fix prev commit for non-Windows 2023-12-08 03:41:40 +00:00
Howard Chu
595d177473 ITS#10092 logging: fix EOL when logfile-format is explicitly set 2023-12-08 03:25:22 +00:00
Ondřej Kuzník
69a4a03a2e ITS#8826 Allow minimal dsaschema configuration in cn=config 2023-12-05 16:56:29 +00:00
Ondřej Kuzník
d615deb6f6 ITS#10104 Add slapo-alias to contrib 2023-12-05 10:14:50 +00:00
Ondřej Kuzník
2c73d3a534 ITS#10103 Fix contrib module OIDs 2023-12-05 10:14:50 +00:00
Howard Chu
cec59a2860 ITS#10098 fixup passwd module subdirs too
(Squash this)
2023-12-04 18:40:45 +00:00
Howard Chu
19cb306eb8 ITS#10098 contrib: fix Makefiles for Windows
Must build with "make PLAT=NT"
2023-12-04 18:40:45 +00:00
Ondřej Kuzník
8260500e7c ITS#10109 Pass operation to slap_get_csn() 2023-11-27 12:33:29 +00:00
Ondřej Kuzník
860b61f41d ITS#10013 Make freeing controls the job of whoever added it 2023-11-21 17:21:52 +00:00
Ondřej Kuzník
c1f00a8af6 ITS#10013 Introduce slap_add_ctrl, changing slap_add_ctrls signature 2023-11-21 17:21:52 +00:00
Howard Chu
2494ade786 ITS#10025 slapo-dynlist: add option to disable filter support 2023-11-21 16:41:02 +00:00
Howard Chu
0b10f4a5b8 ITS#10092 logging: fix strftime for Windows
Although %T is standard and documented in M$ docs, it actually doesn't work in MSVCRT.
2023-11-16 18:47:34 +00:00
Howard Chu
247e5bcdfb ITS#10092 fix local logger for Windows
Don't use writev, just copy the message to insert prefix
2023-11-16 18:47:34 +00:00
Ondřej Kuzník
9b9469e251 ITS#10080 Fix slapcat when gluing is on 2023-11-16 16:45:26 +00:00
Ondřej Kuzník
8986f99d33 ITS#8852 Optimise attr_cmp for sortval attributes 2023-11-14 18:09:10 +00:00
Howard Chu
66edd34594 ITS#8677 back-sock: return error for CONTINUE
instead of asserting
2023-11-14 17:02:18 +00:00
Howard Chu
64789dd2c7 ITS#8180 back-sock: return error when str2entry fails 2023-11-14 17:02:18 +00:00
Howard Chu
f0c7427ba3 ITS#9660 back-mdb: make startup fail msg less specific 2023-11-09 17:10:31 +00:00
Ondřej Kuzník
722a7b9891 ITS#10129 Fix lloadd.conf manpage 2023-11-09 15:55:53 +00:00
Howard Chu
f196fa17dc ITS#10124 libldap: fix dhparam init with OpenSSL 3.x 2023-11-06 09:08:43 +00:00
Howard Chu
2939df1a1d ITS#8498 slapadd: silence warning for NULL entry 2023-11-02 16:53:26 +00:00
Ondřej Kuzník
543230c9e7 ITS#10089 Fix acl logging 2023-11-02 14:02:15 +00:00
Ondřej Kuzník
1bdb67541a ITS#10123 Adjust our prototypes for both K&R and C2x compatibility 2023-11-02 13:59:33 +00:00
Ondřej Kuzník
92cca70426 ITS#10123 Add a missing include 2023-11-02 13:42:07 +00:00
hyc
0ec664b0da ITS#10100 fix Windows timestamps
Simplify, instead of trying to maintain offset between performance
counter and systemtime, just use performance counter.
2023-10-23 19:47:23 +00:00
Howard Chu
8c482cec9a ITS#10094 libldap/OpenSSL: fix setting ciphersuites
Don't try old-style ciphersuite list if only v1.3 or newer ciphers were specified
2023-10-20 16:33:02 +00:00
Howard Chu
11b3e5946b ITS#10117 build: fix slap-config.h decls for Windows DLLs 2023-10-19 18:46:54 +01:00
Ondřej Kuzník
3cf5db1610 ITS#10080 Preserve original choice of backend for entry_release 2023-10-09 20:22:42 +00:00
Howard Chu
5c7b096b3c ITS#10105 liblber lutil_debug: ensure msg ends with NL 2023-10-02 18:53:23 +01:00
Ondřej Kuzník
38791abdc9 ITS#9959 Adjust tests 2023-09-27 14:44:52 +00:00
Ondřej Kuzník
b13132f2ce ITS#9959 Expose connection endpoints in cn=monitor 2023-09-27 14:44:52 +00:00
Ondřej Kuzník
923483ccea ITS#9959 Track actual connection local/peername 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
Florin Crișan
b7a22d380e ITS#10101 libldap: fix double sb_close when first TLS connection fails 2023-09-21 17:34:59 +01:00
hyc
a7bd0416c8 More windows cleanup for slapi
Fix link dependencies.
Fix file locking in printmsg.c.
2023-09-07 21:13:35 +01:00
Howard Chu
3489931553 Cleanup Windows build
Fix make depend errors in slapi
2023-09-07 20:03:07 +01:00
Ondřej Kuzník
de89b06b03 ITS#10074 Fix type mismatches in lloadd 2023-08-23 01:21:15 +00:00
Ondřej Kuzník
242d1e6d62 ITS#7226 Make olcAuditlogFile SINGLE-VALUE 2023-08-21 12:19:16 +01:00
Ondřej Kuzník
02975a3dc7 ITS#10091 Do not allow dynlist being configured as global 2023-08-15 13:07:46 +01:00
François Kooman
61e4832110 ITS#9827 update Argon2 defaults
- switch to argon2id by default (from argon2i)
- use OWASP recommended parameters as defaults

This only affects builds that use libargon2, e.g. Debian, and
not builds that use libsodium as argon2id is already the
default there, and better parameters are used

References: https://bugs.openldap.org/show_bug.cgi?id=9827
Signed-off-by: François Kooman <fkooman@tuxed.net>
2023-08-11 20:58:56 +00:00
Ondřej Kuzník
39403c9db2 ITS#10073 back-ldap: Make sure we have a suffix configured 2023-08-11 20:00:50 +00:00
Greg Burd
ba90df4dc3
convert Debug to use config args 2023-08-10 15:29:47 -04:00
Howard Chu
2086008a79
Use ConfigArgs in ACL parsing
For better error propagation back to config clients, also
remove unconditional use of stderr.

parse_acl() was only partially converted, the rest remains to be done.
2023-08-08 14:18:33 -04:00