Commit graph

12964 commits

Author SHA1 Message Date
Howard Chu
e29ba72c56 ITS#9809: pcache, mdb: fix SEGV in monitor shutdown 2022-03-15 17:04:42 +00:00
Ondřej Kuzník
a9d98407d2 ITS#9808 Store the correct value in olcLastBind 2022-03-14 09:35:12 +00:00
Ondřej Kuzník
34ebfac7ef ITS#9799 Drop a bind connection if there's a timeout 2022-03-07 15:39:09 +00:00
Ondřej Kuzník
fbfb5454cd ITS#9343 Allow Compare to check pwdPolicySubentry 2022-03-07 14:54:39 +00:00
Ondřej Kuzník
6a903a8cf1 ITS#9343 Switch ppolicy_get to rely on ppolicy_operational 2022-03-07 14:54:39 +00:00
Ondřej Kuzník
db9da05171 ITS#9343 Provide effective value of pwdPolicySubentry 2022-03-07 14:54:39 +00:00
Ondřej Kuzník
950ff8a5f0 ITS#9343 Allow a list of default policies 2022-03-07 14:54:39 +00:00
Ondřej Kuzník
1fac13d239 ITS#9343 Let backend_attribute read operational attributes
back-mdb checks requested attribute is present in the entry which
can obstruct the fallback to backend_operational.
2022-03-07 14:54:39 +00:00
Howard Chu
4996d42277 ITS#9801 syncrepl/dsee init punlock 2022-02-22 17:11:45 +00:00
Ondřej Kuzník
0806f69c8c ITS#9799 Clear c_n_ops_pending after we've flushed c_pending_ops 2022-02-14 17:32:01 +00:00
Ondřej Kuzník
1800a1f10c ITS#9794 Synchronise how Adds and Modifies are handled 2022-02-08 17:04:40 +00:00
Howard Chu
62bf31e966 ITS#9584 bconfig: protect cf entries with rwlock
Since not all config writes pause the server, must prevent
searches from seeing intermediate states.
2022-02-03 18:40:39 +00:00
Howard Chu
868c7953d7 ITS#9436 OpenSSL 3.0 compat 2022-02-03 16:42:44 +00:00
Ondřej Kuzník
87ffc60006 ITS#9584 Do not rely on retry=.* to reschedule new syncrepl sessions 2022-01-28 17:49:30 +00:00
Ondřej Kuzník
ca19a774f6 ITS#9785 clear runqueue task as soon as it's getting started 2022-01-27 15:59:39 +00:00
Ondřej Kuzník
f5d86968c7 ITS#9789 slapd-asyncmeta: Reset op->o_counters every time we migrate to a new thread 2022-01-26 18:55:41 +00:00
Ondřej Kuzník
ebc7369727 ITS#9789 slapo-syncprov: Reset op->o_counters every time we migrate to a new thread 2022-01-26 18:55:41 +00:00
Ondřej Kuzník
ebfbf8281a ITS#9789 Expose operation_counter_init 2022-01-26 18:55:41 +00:00
Howard Chu
38e16e3b39 ITS#9787 init global_host earlier so tools see it too 2022-01-23 14:08:24 +00:00
Ondřej Kuzník
7e923c723e ITS#7239 Do not log internal ops 2022-01-18 20:11:46 +00:00
Ondřej Kuzník
a6c110d16d ITS#7080 cn=config postread support for modrdn when back-ldif not used 2022-01-18 18:31:32 +00:00
Ondřej Kuzník
67f7f98ca5 ITS#7080 Fix debug message 2022-01-18 18:31:32 +00:00
Ondřej Kuzník
6ccc0974e1 ITS#8039 Free resinfo even if opcookie is the last owner 2022-01-18 16:46:09 +00:00
Howard Chu
e73cdc55e0 ITS#9779 slapo-dynlist: fix static group filter with multiple members 2022-01-18 15:11:28 +00:00
Ondřej Kuzník
2443e986d1 ITS#9772 Allow objectClass edits that don't actually change them 2022-01-18 05:12:53 +00:00
Ondřej Kuzník
4b18c2be00 ITS#5972 Consider all deletes for syncInfo messages
A delete of an entry that didn't match filter would be skipped
altogether and the cookie would never be sent to that consumer.
2022-01-18 03:34:27 +00:00
Ondřej Kuzník
6f31d73dc0 ITS#9776 Fix check on what backend we're operating on 2022-01-11 08:45:44 +00:00
Ondřej Kuzník
414866b888 ITS#9580 Propagate a present-phase cookie flush into accesslog 2022-01-11 06:47:00 +00:00
Ondřej Kuzník
bc28e7950d ITS#9538 Actually skip internal searches 2022-01-10 22:25:33 +00:00
Ondřej Kuzník
87b78f2060 ITS#9538 Do not attach csn on (internal) searches 2022-01-10 22:25:33 +00:00
Ondřej Kuzník
95df37d101 ITS#9538 Populate op2.o_hdr earlier 2022-01-10 22:25:33 +00:00
Ondřej Kuzník
70e6bd6777 ITS#9751 Do not drop out of order deletes completely 2022-01-10 18:44:28 +00:00
Quanah Gibson-Mount
788e9592ba Happy New Year! 2022-01-07 18:40:00 +00:00
Ondřej Kuzník
3ca8d6d388 ITS#9770 slapo-constraint: Maintain values in order of insertion 2022-01-06 16:28:52 +00:00
Ondřej Kuzník
2bf59ff63a ITS#7080 Find config entry before processing pre-read on delete 2022-01-06 03:05:45 +00:00
Ondřej Kuzník
d8331e1b81 ITS#9768 Enforce single name per olcTranslucentLocal/olcTranslucentRemote value 2022-01-05 21:24:07 +00:00
Ondřej Kuzník
711ebba53c ITS#9767 Enforce single name per olcUniqueIgnore/olcUniqueAttribute value 2022-01-05 19:21:17 +00:00
Ondřej Kuzník
0ecaa025d2 ITS#9764 slapo-valsort: Maintain values in order of insertion 2022-01-05 05:07:34 +00:00
Ondřej Kuzník
52bba704e7 ITS#9763 Make sure we keep cn=config values separate 2022-01-04 22:34:32 +00:00
Ondřej Kuzník
e87569f983 ITS#9763 Maintain values in order of insertion 2022-01-04 22:34:32 +00:00
Ondřej Kuzník
a5e7fdce48 ITS#9762 slapo-dyngroup: Maintain values in order of insertion 2022-01-04 20:10:01 +00:00
Ondřej Kuzník
a8467b8b15 ITS#9761 Fix olcSyncrepl position based insertion 2022-01-04 17:53:26 +00:00
HAMANO Tsukasa
30917b984c ITS#9760 back-wt: SLAP_DBFLAG_CLEAN is always set. 2022-01-03 18:00:00 +00:00
Ondřej Kuzník
edf7ef4948 ITS#9642 Lloadd standalone doesn't use rq 2021-12-15 20:40:53 +00:00
Ondřej Kuzník
bc37a9fdfa ITS#9642 Remove redundant calls to slap_wake_listener() 2021-12-15 20:40:53 +00:00
Ondřej Kuzník
19d4a69882 ITS#9642 Notify runner of any changes to the runqueue 2021-12-15 20:40:53 +00:00
Ondřej Kuzník
fbd4f9abdd ITS#9556 Send INVALID_SYNTAX for invalid schema elements 2021-12-15 18:39:46 +00:00
Ondřej Kuzník
def3a958ec ITS#9556 Allow handlers to set result code 2021-12-15 18:39:46 +00:00
Ondřej Kuzník
9e3184763c ITS#9691 Allow empty DB to host a persistent syncrepl session 2021-12-15 16:50:43 +00:00
Ondřej Kuzník
75636a407e ITS#9584 Track refreshing status explicitly
A refresh can jump across multiple threads, we cannot just lock a
mutex, we need to track who that is and clear when finished.

In addition to that, fix our internal syncrepl session tracking pulling
it closer to RFC 4533, refreshDone now represents the receipt of
refreshDone flag. Refreshing status is maintained for plain refreshes
(and times when we might be starting one but don't know for sure).

We still reschedule a new sync with a delay if there is another one
running but tracking refreshes this way paves the way to being able to
wake them up if we start tracking them somehow.
2021-12-15 01:22:38 +00:00