Howard Chu
9a3e63ba00
ITS#9338 alternate fix
...
Don't resume pending ops unless there are no other threads
waiting to write
2020-09-13 08:05:31 +00:00
Howard Chu
cfcf418c94
ITS#9345 disable test058 again
2020-09-13 08:37:05 +01:00
Howard Chu
08b578ce85
ITS#9346 Fix test063 to handle more servers
2020-09-13 08:35:21 +01:00
Howard Chu
57643b4347
ITS#9345 syncrepl: call check_syncprov on freshly started consumer
2020-09-12 21:44:31 +01:00
Quanah Gibson-Mount
47ec168779
ITS#9209 - Fix previous commit for command invocation
2020-09-12 04:58:12 +00:00
Quanah Gibson-Mount
3b2f16e1be
ITS#9209 - Fix command invocation
2020-09-12 04:40:46 +00:00
Howard Chu
ef2b505b20
ITS#9043 Fix new log msg crashes
...
Solaris stdio hates NULL pointers
2020-09-11 23:36:41 +00:00
Howard Chu
fdf6ee5059
ITS#8054 fix etime calculation
...
Was overlooked in a0cc1d9655
2020-09-11 23:01:16 +00:00
Quanah Gibson-Mount
9d48bdd03b
Issue#9335 - Skip test if compiled without SASL support
2020-09-11 21:02:41 +00:00
Howard Chu
72bfa9d488
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
2020-09-10 17:03:32 +00:00
Howard Chu
490273fb97
ITS#8102, #9330 partially revert
...
Fix a regression in delta-sync, was returning error on old
CSNs instead of ignoring them
2020-09-10 16:17:13 +00:00
Ondřej Kuzník
eb5f138650
ITS#9043 Only print sessionlog entries we think will apply
2020-09-10 11:04:29 +01:00
Ondřej Kuzník
fdbeb69fd8
ITS#9043 Nul-terminate csn string
2020-09-10 11:03:37 +01:00
Howard Chu
c91d6df96b
ITS#9339 fix test049 script
...
Was re-using rid=002, changed to unique rid
2020-09-10 02:29:19 +00:00
Howard Chu
76ff2558c0
ITS#9339 Add cn=monitor to test063
...
Just for convenience
2020-09-10 02:29:19 +00:00
Howard Chu
1748ec59a6
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.
2020-09-10 02:29:19 +00:00
Howard Chu
d1283f8161
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.
2020-09-10 02:29:19 +00:00
Howard Chu
bf40306581
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.
2020-09-09 18:02:49 +01:00
Howard Chu
e02b1d94ca
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.
2020-09-09 15:35:59 +00:00
Howard Chu
8bd2d1fee8
ITS#9342 delta-sync: ignore error if deleting an already deleted entry
2020-09-09 00:19:35 +01:00
Lukas Juhrich
c8ba729f84
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>'.
2020-09-04 22:39:53 +00:00
Quanah Gibson-Mount
ce23aee98d
ITS#9209 - Use portable command instead of which for determining if binaries are present
2020-09-04 22:06:15 +00:00
Quanah Gibson-Mount
27e7da68d7
Issue#9333 - Delete unused TIMING variable left over from OpenLDAP 2.0
2020-09-04 21:34:06 +00:00
Howard Chu
c714acb782
ITS#9338 add regression test
2020-09-04 20:48:45 +01:00
Howard Chu
5e8a78fa6c
ITS#9338 Add backlog control for testing slapd write waits
2020-09-04 20:23:44 +01:00
Howard Chu
95c5a1698b
ITS#9338 Make sure connection gets rescheduled after write blockage clears up
2020-09-04 18:22:40 +01:00
Howard Chu
0b20b92ec1
ITS#9338 syncrepl: Don't reuse existing connection on Refresh fallback
2020-09-04 18:22:32 +01:00
Howard Chu
ed356c55d9
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.
2020-09-03 21:30:35 +01:00
Howard Chu
6d7c2511b4
ITS#9201 partial revert
2020-09-03 21:08:17 +01:00
Howard Chu
ccfbb74c62
ITS#9201 additional fixes
2020-09-03 21:01:07 +01:00
Howard Chu
b24ca75993
ITS#9201 fix LDAP_THREAD_DEBUG
...
Add missing defs to ldap_thr_debug.h.
slap tools must init libldap so internal mutexes get inited.
2020-09-03 12:37:32 +01:00
Quanah Gibson-Mount
b51faa5cf0
Revert "Tweak prev commit for RE24 style debug"
...
This reverts commit d224e576a9
.
Revert, wrong branch
2020-09-02 19:33:03 +00:00
Quanah Gibson-Mount
d224e576a9
Tweak prev commit for RE24 style debug
2020-09-02 19:31:59 +00:00
Ondřej Kuzník
d203140ae1
ITS#9282 Extend test to cover the second issue fixed
2020-09-02 17:04:42 +01:00
Howard Chu
4c7787303c
ITS#9121 fix for URLs with no filter
2020-09-02 01:34:07 +01:00
Quanah Gibson-Mount
e749750a8f
ITS#8159 - Add missing "hard" parameter to size.prtotal
2020-09-01 19:40:36 +00:00
Howard Chu
4c74bd0a41
ITS#9332 add placeholder in LDAP_LDO_TLS_NULLARG
2020-09-01 20:25:00 +01:00
Quanah Gibson-Mount
04124c1f70
ITS#8175 - Fix missing descriptions for olcDisallows for proxy_authz_non_critical and dontusecopy_non_critical
2020-09-01 18:04:06 +00:00
Howard Chu
41396248a2
ITS#9282 more for merge_state
...
Don't assume si_cookieState is always newer
2020-08-31 20:09:52 +01:00
Howard Chu
8699e5f32e
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.
2020-08-31 19:36:10 +01:00
Howard Chu
9535e757df
ITS#9327 fix prev commit
2020-08-31 13:33:58 +01:00
Howard Chu
0ce83b26af
ITS#9330 Fully serialize delta-sync
...
Don't depend on accesslog overlay's serialization
2020-08-29 01:13:04 +00:00
Howard Chu
edc94862b7
ITS#7639 fix crash in config_delete
...
Additional fix to 41352ea34d
The overlay must be deleted from the backend before the
callback can execute. In particular, it must be done before
the threadpool is unpaused.
2020-08-29 00:13:19 +00:00
Howard Chu
f883a57593
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.
2020-08-28 18:44:35 +01:00
Howard Chu
d5ed7c5027
ITS#9054, #9318 document new TLS options in slapd
2020-08-28 11:09:25 +01:00
Quanah Gibson-Mount
49b1e8b16f
ITS#9282 - Fix hard coded backend
2020-08-27 15:16:38 +00:00
Howard Chu
536767798b
ITS#9054 fix typo
2020-08-27 11:22:58 +01:00
Quanah Gibson-Mount
baf5571d45
Last commit was for ITS#8725, not ITS#8845
2020-08-26 21:58:05 +00:00
Quanah Gibson-Mount
8d31219647
More for ITS#8845, skip cleanup on async op with extended operations
2020-08-26 21:55:39 +00:00
Quanah Gibson-Mount
8889f905b5
ITS#9323 - Regenerate configure
2020-08-26 21:43:21 +00:00