]>
git.ipfire.org Git - thirdparty/openldap.git/log
Ondřej Kuzník [Fri, 25 Sep 2020 11:29:14 +0000 (12:29 +0100)]
ITS#9348 Stop using plain strerror()
Quanah Gibson-Mount [Tue, 22 Sep 2020 21:21:19 +0000 (21:21 +0000)]
ITS#8636 - Fix DESC for deltaCRL attribute
Quanah Gibson-Mount [Tue, 22 Sep 2020 19:11:06 +0000 (19:11 +0000)]
ITS#8341 - Add matching rule to the namingContexts attr
Howard Chu [Thu, 24 Sep 2020 14:12:48 +0000 (15:12 +0100)]
ITS#8486 use kbtree for sessionlog
Saves about 20% CPU time and RAM
Ondřej Kuzník [Tue, 22 Sep 2020 20:20:15 +0000 (20:20 +0000)]
ITS#8486 Protect tavl_* calls in play_sessionlog
Howard Chu [Sat, 19 Sep 2020 12:35:47 +0000 (13:35 +0100)]
ITS#8486 Minor play_sessionlog cleanup
Fix logmsg uuidstr.
Shortcut finding start of playback.
Allow dup CSNs in log, but with different UUIDs. All
non-present deletes in a refresh use the same CSN.
Ondřej Kuzník [Thu, 26 Oct 2017 11:00:20 +0000 (12:00 +0100)]
ITS#8486 Switch sessionlog to use TAVL
Quanah Gibson-Mount [Fri, 25 Sep 2020 00:07:23 +0000 (00:07 +0000)]
ITS#9348 - regenerate configure
Ondřej Kuzník [Thu, 24 Sep 2020 14:51:41 +0000 (15:51 +0100)]
ITS#5422 Save errno before passing it to Debug()
Howard Chu [Wed, 16 Sep 2020 21:55:50 +0000 (22:55 +0100)]
ITS#9348 cleanup strerr/sys_errlist detection
Howard Chu [Wed, 16 Sep 2020 14:33:13 +0000 (15:33 +0100)]
ITS#9348 replace all uses of STRERROR with AC_STRERROR_R
Avoid using sys_errlist unless there's no other choice
Howard Chu [Wed, 23 Sep 2020 13:58:37 +0000 (14:58 +0100)]
ITS#9354 cleanup watcher
After initial contact, don't exit if a server goes down.
Also, don't wait forever for responses, use a timeout and
mention when a timeout occurs.
Simplify csn/sid handling, we know the max we expect so just
allocate the space in advance and keep a fixed sid to slot
mapping.
Ondřej Kuzník [Wed, 23 Sep 2020 07:17:56 +0000 (08:17 +0100)]
ITS#9355 Propagate errors from overlay_entry_get_ov
Howard Chu [Tue, 22 Sep 2020 11:18:52 +0000 (12:18 +0100)]
ITS#8102 syncrepl: only use trylock on the cn=config DB
Quanah Gibson-Mount [Mon, 21 Sep 2020 20:55:18 +0000 (20:55 +0000)]
ITS#9351 - Regenerate configure
Quanah Gibson-Mount [Thu, 17 Sep 2020 15:45:23 +0000 (15:45 +0000)]
ITS#9351 - Always build back-monitor as a static backend
Howard Chu [Sat, 19 Sep 2020 23:56:34 +0000 (00:56 +0100)]
ITS#9354 Tool for monitoring slapd status
Howard Chu [Sun, 20 Sep 2020 15:27:34 +0000 (16:27 +0100)]
ITS#9353 fix monitor_back_register_database for empty suffix DB
Use the correct database entry instead of the frontendDB entry
Quanah Gibson-Mount [Thu, 17 Sep 2020 15:37:33 +0000 (15:37 +0000)]
ITS#6749 - Change configure monitor warning to DEBUG CONFIG instead of DEBUG ANY
Howard Chu [Thu, 17 Sep 2020 19:18:20 +0000 (20:18 +0100)]
ITS#9352 syncrepl: fix syncrepl_op_modify on entry with no entryCSN
Gabriel Buades [Wed, 16 Sep 2020 12:11:24 +0000 (14:11 +0200)]
ITS#9349 slapd-mdb: optimize index delete
Performance improvement for indexed attributes removal
Howard Chu [Thu, 17 Sep 2020 14:22:01 +0000 (15:22 +0100)]
ITS#9339 Fix syncrepl_monitor_init for dynamic monitor backend
Calling from backend.c only works if back-monitor is a static backend
Howard Chu [Wed, 16 Sep 2020 22:27:45 +0000 (23:27 +0100)]
Silence stupid warnings
Quanah Gibson-Mount [Wed, 16 Sep 2020 20:32:39 +0000 (20:32 +0000)]
Fix code indentation for recent changes
Howard Chu [Wed, 16 Sep 2020 14:08:52 +0000 (15:08 +0100)]
ITS#9348 don't declare sys_errlist if not present
If HAVE_SYS_ERRLIST is false, nothing uses them anyway, so the
declarations serve no purpose. Just breaks the compile if the
library actually defines them (and we are avoiding using them).
Howard Chu [Mon, 14 Sep 2020 22:21:14 +0000 (23:21 +0100)]
ITS#9345 fix for cmdline cookie
Previous commit could cause cmdline cookie to be ignored
Howard Chu [Mon, 14 Sep 2020 23:35:52 +0000 (00:35 +0100)]
ITS#9015 syncprov: fix for zero-length suffix
If the "" glue entry exists and lacks a contextCSN, must perform
an additional search to be sure the DB is otherwise empty. If so,
skip creating the contextCSN.
Quanah Gibson-Mount [Sat, 12 Sep 2020 04:59:37 +0000 (04:59 +0000)]
ITS#9344 - Fix TLS_PEERKEY_HASH_FAIL evaluation
Howard Chu [Sun, 13 Sep 2020 06:45:28 +0000 (07:45 +0100)]
ITS#9338 alternate fix
Don't resume pending ops unless there are no other threads
waiting to write
Howard Chu [Sun, 13 Sep 2020 07:37:05 +0000 (08:37 +0100)]
ITS#9345 disable test058 again
Howard Chu [Sat, 12 Sep 2020 20:49:43 +0000 (21:49 +0100)]
ITS#9346 Fix test063 to handle more servers
Howard Chu [Sat, 12 Sep 2020 20:38:20 +0000 (21:38 +0100)]
ITS#9345 syncrepl: call check_syncprov on freshly started consumer
Quanah Gibson-Mount [Sat, 12 Sep 2020 04:58:12 +0000 (04:58 +0000)]
ITS#9209 - Fix previous commit for command invocation
Quanah Gibson-Mount [Sat, 12 Sep 2020 04:40:46 +0000 (04:40 +0000)]
ITS#9209 - Fix command invocation
Howard Chu [Fri, 11 Sep 2020 23:14:19 +0000 (00:14 +0100)]
ITS#9043 Fix new log msg crashes
Solaris stdio hates NULL pointers
Howard Chu [Fri, 11 Sep 2020 22:47:15 +0000 (23:47 +0100)]
ITS#8054 fix etime calculation
Was overlooked in
a0cc1d9655da112a4d19cddf821460a4dedeed1c
Quanah Gibson-Mount [Thu, 3 Sep 2020 21:24:09 +0000 (21:24 +0000)]
Issue#9335 - Skip test if compiled without SASL support
Howard Chu [Thu, 10 Sep 2020 14:35:14 +0000 (15:35 +0100)]
ITS#9339 fix connection address handling
valgrind didn't like accesses to si->si_connaddr
Also fix an array bounds check in ITS#9282 merge_state
Howard Chu [Thu, 10 Sep 2020 14:15:52 +0000 (15:15 +0100)]
ITS#8102, #9330 partially revert
Fix a regression in delta-sync, was returning error on old
CSNs instead of ignoring them
Ondřej Kuzník [Thu, 10 Sep 2020 10:04:29 +0000 (11:04 +0100)]
ITS#9043 Only print sessionlog entries we think will apply
Ondřej Kuzník [Thu, 10 Sep 2020 10:03:37 +0000 (11:03 +0100)]
ITS#9043 Nul-terminate csn string
Howard Chu [Sun, 6 Sep 2020 20:24:47 +0000 (21:24 +0100)]
ITS#9339 fix test049 script
Was re-using rid=002, changed to unique rid
Howard Chu [Sun, 6 Sep 2020 15:25:23 +0000 (16:25 +0100)]
ITS#9339 Add cn=monitor to test063
Just for convenience
Howard Chu [Sun, 6 Sep 2020 15:09:35 +0000 (16:09 +0100)]
ITS#9339 Add syncrepl status to cn=monitor
Shows connection address, refresh/persist state, time of last
connect attempt and received data, and last sent and
received cookies per consumer.
Howard Chu [Sun, 6 Sep 2020 12:43:31 +0000 (13:43 +0100)]
ITS#9339 slapd-monitor: Add schema arc for overlays
Not directly related to syncrepl, but adds a necessary schema arc.
Also add a convenience function for obtaining an entry with known ndn.
Also fix to ignore outbound connections.
Howard Chu [Wed, 9 Sep 2020 16:58:56 +0000 (17:58 +0100)]
ITS#9043 tweak syncprov play_sessionlog logging
Don't log cookiecsn at top, it was already logged on receipt.
Only log the "control csn" and "too old" message once for each sid.
Howard Chu [Wed, 9 Sep 2020 10:46:02 +0000 (11:46 +0100)]
ITS#8102 serialize plain syncrepl
Using cs_pmutex. Reverts the addition of cs_modmutex in ITS#9330,
use cs_pmutex for both delta and plain writes.
Note that plain syncrepl already used cs_pmutex when a cookie CSN
was present in the op. Now it is used for all writes, regardless
of presence of cookie.
Howard Chu [Tue, 8 Sep 2020 20:25:30 +0000 (21:25 +0100)]
ITS#9342 delta-sync: ignore error if deleting an already deleted entry
Lukas Juhrich [Sat, 4 Nov 2017 01:50:44 +0000 (02:50 +0100)]
Issue#8769 - Fix oid search extension syntax in documentation
The option string, e.g. '<oid>=:dn:' is parsed like a LDIF entry starting from
the '=' and replacing the '=' with a dummy variable 'x'. In this case, said
string is 'x:dn:', so the resulting effective value is 'dn:'. This also implies
that base64 values have to be passed in the form '<oid>=::<b64value>'.
Quanah Gibson-Mount [Thu, 3 Sep 2020 18:10:30 +0000 (18:10 +0000)]
ITS#9209 - Use portable command instead of which for determining if binaries are present
Quanah Gibson-Mount [Wed, 2 Sep 2020 18:56:53 +0000 (18:56 +0000)]
Issue#9333 - Delete unused TIMING variable left over from OpenLDAP 2.0
Howard Chu [Fri, 4 Sep 2020 18:44:06 +0000 (19:44 +0100)]
ITS#9338 add regression test
Howard Chu [Fri, 4 Sep 2020 16:49:38 +0000 (17:49 +0100)]
ITS#9338 Add backlog control for testing slapd write waits
Howard Chu [Fri, 4 Sep 2020 13:28:44 +0000 (14:28 +0100)]
ITS#9338 Make sure connection gets rescheduled after write blockage clears up
Howard Chu [Fri, 4 Sep 2020 12:39:00 +0000 (13:39 +0100)]
ITS#9338 syncrepl: Don't reuse existing connection on Refresh fallback
Howard Chu [Thu, 3 Sep 2020 20:30:35 +0000 (21:30 +0100)]
ITS#9334 slapo-ppolicy re-fix ITS#9302
The mutex_lock was being skipped in the lockout case,
but still calling mutex_unlock at the end.
Howard Chu [Thu, 3 Sep 2020 20:08:17 +0000 (21:08 +0100)]
ITS#9201 partial revert
Howard Chu [Thu, 3 Sep 2020 20:00:39 +0000 (21:00 +0100)]
ITS#9201 additional fixes
Howard Chu [Thu, 3 Sep 2020 11:37:32 +0000 (12:37 +0100)]
ITS#9201 fix LDAP_THREAD_DEBUG
Add missing defs to ldap_thr_debug.h.
slap tools must init libldap so internal mutexes get inited.
Quanah Gibson-Mount [Wed, 2 Sep 2020 19:33:03 +0000 (19:33 +0000)]
Revert "Tweak prev commit for RE24 style debug"
This reverts commit
d224e576a93cbeb904e01ca9f326248fe55b34eb .
Revert, wrong branch
Quanah Gibson-Mount [Wed, 2 Sep 2020 19:31:59 +0000 (19:31 +0000)]
Tweak prev commit for RE24 style debug
Ondřej Kuzník [Wed, 2 Sep 2020 15:51:03 +0000 (16:51 +0100)]
ITS#9282 Extend test to cover the second issue fixed
Howard Chu [Wed, 2 Sep 2020 00:34:07 +0000 (01:34 +0100)]
ITS#9121 fix for URLs with no filter
Quanah Gibson-Mount [Tue, 1 Sep 2020 17:45:34 +0000 (17:45 +0000)]
ITS#8159 - Add missing "hard" parameter to size.prtotal
Howard Chu [Tue, 1 Sep 2020 19:24:30 +0000 (20:24 +0100)]
ITS#9332 add placeholder in LDAP_LDO_TLS_NULLARG
Quanah Gibson-Mount [Tue, 1 Sep 2020 17:00:36 +0000 (17:00 +0000)]
ITS#8175 - Fix missing descriptions for olcDisallows for proxy_authz_non_critical and dontusecopy_non_critical
Howard Chu [Mon, 31 Aug 2020 19:09:52 +0000 (20:09 +0100)]
ITS#9282 more for merge_state
Don't assume si_cookieState is always newer
Howard Chu [Mon, 31 Aug 2020 18:36:10 +0000 (19:36 +0100)]
ITS#9282 fix crash in nonpresent_callback
In a standard Refresh present phase, the provider sends no cookie
since it is only listing the entries that existed as of the time
in the cookie the consumer sent. In this case the consumer only
needs to check entryCSNs against its last sent cookie.
Howard Chu [Mon, 31 Aug 2020 12:33:19 +0000 (13:33 +0100)]
ITS#9327 fix prev commit
Howard Chu [Wed, 19 Aug 2020 15:37:46 +0000 (16:37 +0100)]
ITS#9330 Fully serialize delta-sync
Don't depend on accesslog overlay's serialization
Howard Chu [Fri, 28 Aug 2020 23:39:36 +0000 (00:39 +0100)]
ITS#7639 fix crash in config_delete
Additional fix to
41352ea34da225375b77254efdcde8e6e5a1a515
The overlay must be deleted from the backend before the
callback can execute. In particular, it must be done before
the threadpool is unpaused.
Howard Chu [Fri, 28 Aug 2020 17:43:54 +0000 (18:43 +0100)]
ITS#8427 don't set tls_ctx if TLS wasn't requested
Also, set any remaining TLS options that weren't carried along
in the TLS ctx.
Howard Chu [Fri, 28 Aug 2020 10:08:17 +0000 (11:08 +0100)]
ITS#9054, #9318 document new TLS options in slapd
Quanah Gibson-Mount [Thu, 27 Aug 2020 15:16:38 +0000 (15:16 +0000)]
ITS#9282 - Fix hard coded backend
Howard Chu [Thu, 27 Aug 2020 10:22:12 +0000 (11:22 +0100)]
ITS#9054 fix typo
Quanah Gibson-Mount [Wed, 26 Aug 2020 21:58:05 +0000 (21:58 +0000)]
Last commit was for ITS#8725, not ITS#8845
Quanah Gibson-Mount [Wed, 26 Aug 2020 21:55:39 +0000 (21:55 +0000)]
More for ITS#8845, skip cleanup on async op with extended operations
Quanah Gibson-Mount [Wed, 26 Aug 2020 21:43:21 +0000 (21:43 +0000)]
ITS#9323 - Regenerate configure
Howard Chu [Wed, 26 Aug 2020 12:22:52 +0000 (13:22 +0100)]
ITS#9328 cldap: check for error on connected socket
libldap doesn't use a connected socket for UDP sessions, but 3rd
parties can, passed in with ldap_init_fd().
Howard Chu [Wed, 26 Aug 2020 19:17:41 +0000 (20:17 +0100)]
ITS#9329 Re-fix merge_state
A bit uglier but more straightforward.
Quanah Gibson-Mount [Tue, 25 Aug 2020 18:32:24 +0000 (18:32 +0000)]
ITS#9323 - Limit to OpenSSL 1.0.2 or later
Howard Chu [Tue, 25 Aug 2020 13:39:35 +0000 (14:39 +0100)]
ITS#9329 syncrepl: fix regression from ITS#9282
Fabrice Fontaine [Tue, 28 Jul 2020 21:06:08 +0000 (23:06 +0200)]
ITS#9327 - Fix stripping when cross-compiling
Probably-Signed-off-by: Dave Bender <bender@benegon.com>
[yann.morin.1998@free.fr: patch was made by Dave, but he
forgot his SoB line, so I added it]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[Retrieved from:
https://git.buildroot.net/buildroot/tree/package/openldap/0001-fix_cross_strip.patch]
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Howard Chu [Sat, 22 Aug 2020 09:45:02 +0000 (10:45 +0100)]
ITS#9324 syncrepl: don't wait forever in Refresh mode
Just poll for available data, same as Persist mode.
Clarify retry/return states from do_syncrep2
Howard Chu [Sat, 22 Aug 2020 11:38:10 +0000 (12:38 +0100)]
ITS#9249 librewrite: fix malloc/free corruption
If substitution parsing fails, would attempt to free a mapping
that hadn't been allocated yet.
Also, on failure, caller in saslauthz would attempt to free a
rwinfo struct that hadn't been allocated.
Fredrik Roubert [Sun, 19 Apr 2020 18:16:06 +0000 (20:16 +0200)]
ITS#9232 - Implement caseIgnoreListSubstringsMatch.
Quanah Gibson-Mount [Tue, 11 Aug 2020 19:05:19 +0000 (19:05 +0000)]
ITS#9311 - Contrib modules to be singular
Quanah Gibson-Mount [Tue, 11 Aug 2020 18:51:14 +0000 (18:51 +0000)]
ITS#9311 - Correctly mark overlays as singular
Howard Chu [Fri, 21 Aug 2020 19:06:56 +0000 (20:06 +0100)]
ITS#9054, #9318 add new TLS options to slapd bindconf
For use with back-ldap/back-meta/syncrepl/etc
Howard Chu [Fri, 21 Aug 2020 08:15:15 +0000 (09:15 +0100)]
ITS#9318 add TLS_REQSAN option
Add an option to specify how subjectAlternativeNames should be
handled when validating the names in a server certificate.
Howard Chu [Thu, 20 Aug 2020 14:07:55 +0000 (15:07 +0100)]
ITS#9054 Add support for multiple EECDH curves
Requires OpenSSL 1.0.2 or newer
Quanah Gibson-Mount [Wed, 19 Aug 2020 19:50:21 +0000 (19:50 +0000)]
ITS#9121 - Use memberOf instead of dgMemberOf
Howard Chu [Tue, 18 Aug 2020 22:19:56 +0000 (23:19 +0100)]
ITS#9121 slapo-dynlist, -memberof: define memberOf if needed
Ignore if it's defined already. Make it no-user-mod.
Howard Chu [Tue, 18 Aug 2020 19:14:38 +0000 (20:14 +0100)]
ITS#7926 dynamic changes to olcListenerThreads
Reallocates sockets from old to new listener threads
Howard Chu [Tue, 18 Aug 2020 19:10:43 +0000 (20:10 +0100)]
ITS#7926 support multiple config cleanup functions per op
Prep for main changes
Howard Chu [Thu, 13 Aug 2020 17:17:45 +0000 (18:17 +0100)]
ITS#9135 fix index error on collapsed range
Quanah Gibson-Mount [Tue, 11 Aug 2020 18:28:02 +0000 (18:28 +0000)]
Merge remote-tracking branch 'origin/mdb.RE/0.9' into master
Quanah Gibson-Mount [Tue, 11 Aug 2020 18:24:07 +0000 (18:24 +0000)]
Release 0.9.26
Quanah Gibson-Mount [Mon, 10 Aug 2020 22:55:38 +0000 (22:55 +0000)]
ITS#9133 - Fix syncprov to be singular.
Howard Chu [Mon, 10 Aug 2020 22:18:48 +0000 (23:18 +0100)]
ITS#9309 fix exit status on prev commit