Commit graph

13077 commits

Author SHA1 Message Date
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
Howard Chu
9142da8eaf
Use ConfigArgs in slapi config parsing 2023-08-08 14:18:21 -04:00
Greg Burd
7a4812d2fa
Allow caller to determine if the process should exit or not when the regex is found to be problematic. 2023-08-08 11:08:22 -04:00
Ondřej Kuzník
2738a32de3 ITS#10045 Make sure we only unpause when paused 2023-07-31 16:46:12 +00:00
Ondřej Kuzník
5677a410e6 ITS#10083 Do not mess with a connection that's dying already 2023-07-20 16:21:54 +00:00
Nadezhda Ivanova
6cbcfa0af3 ITS#10076 suffixmassage in back-asyncmeta does not handle empty remote suffix correctly 2023-07-19 16:41:29 +00:00
Ondřej Kuzník
208d68cdd9 ITS#10070 Allow running without a valid resolv.conf file 2023-07-19 14:53:20 +00:00
Ondřej Kuzník
67d3fd3d14 ITS#10068 keep our own copy of the DN 2023-06-21 13:20:18 +01:00
Ondřej Kuzník
5ae48d085f ITS#10067 Account for mods being optional 2023-06-20 01:03:12 +00:00
Ondřej Kuzník
7aaee92f0a ITS#9343 More policy selection criteria 2023-06-06 11:46:17 +01:00
Ondřej Kuzník
34470dd86b ITS#9343 Check for objectclasss when retrieving policy 2023-06-06 11:46:17 +01:00
Ondřej Kuzník
bdbba0748e ITS#10013 Fix slapo-ppolicy control handling 2023-06-06 11:46:17 +01:00
Ondřej Kuzník
f635f9e6d8 ITS#10064 Allow renaming of Cft_Misc entries 2023-06-06 11:46:17 +01:00
Howard Chu
ec3fafd1a6 ITS#10047 back-mdb: fix indexer resume on slapd restart
when overlays are in use on the database
2023-05-15 17:55:46 +00:00
Howard Chu
3271bfa1ea ITS#10047 back-mdb: delete idxckp table after slapindex
Could do it when beginning too, either way an interrupted slapindex
must be rerun completely.
2023-05-15 17:55:46 +00:00
Ondřej Kuzník
992815ced5 ITS#10041 Restrict group searching 2023-05-05 16:55:01 +00:00
Ondřej Kuzník
efe0de0be6 ITS#10042 Call monitor_cache_release exactly once 2023-04-27 21:19:48 +00:00
Ondřej Kuzník
525b631e37 ITS#10045 Also check for abandon when things have settled 2023-04-27 19:37:02 +00:00
Howard Chu
950aa08c31 ITS#10036 slapd: fix parsing of session tracking control
Was erroneously treating IPv6 addrs beginning with ':' as unprintable.
2023-04-24 18:50:38 +00:00
Ondřej Kuzník
95232bc323 ITS#10037 Update argon2 README 2023-04-13 16:12:47 +01:00
johan pascal
f7e6c71e13 ITS#10014: Add TLS handle using MbedTLS 2023-03-31 05:19:30 +00:00
Ondřej Kuzník
6c2164970a ITS#10032 Use the correct ocs field 2023-03-31 04:48:17 +00:00
Ondřej Kuzník
53906655ef ITS#10031 Adjust *err if we free it 2023-03-30 23:12:55 +00:00
HAMANO Tsukasa
0e409f49ec ITS#10028 - crash with pwdMinDelay 2023-03-30 18:19:53 +00:00
Howard Chu
5f934c8c45 ITS#10016: slapo-syncprov: fix Abandon with active qtask 2023-02-27 15:01:23 +00:00
Ondřej Kuzník
2a5eff41b0 ITS#9953 Check for push replication 2023-02-17 21:07:16 +00:00
Howard Chu
4a9e449b24 ITS#9997 syncrepl: plug potential leak in changelog search
Note this is only used with changelog, which is nonstandard and obsolete.
2023-02-17 15:52:35 +00:00
Sam James
b260205fd5 ITS#10011 servers: fix -Wstrict-prototypes
For more information, see LWN.net [0] or LLVM's Discourse [1], the Gentoo wiki [2],
or the (new) c-std-porting mailing list [3].

[0] https://lwn.net/Articles/913505/
[1] https://discourse.llvm.org/t/configure-script-breakage-with-the-new-werror-implicit-function-declaration/65213
[2] https://wiki.gentoo.org/wiki/Modern_C_porting
[3] hosted at lists.linux.dev.

Signed-off-by: Sam James <sam@gentoo.org>
2023-02-10 23:22:54 +00:00
Howard Chu
69f52354d2 ITS#9993 fix online_indexer termination/cleanup 2023-02-01 20:30:22 +00:00
Ondřej Kuzník
fa64703e6c ITS#9990 Preserve callbacks added already 2023-02-01 16:56:37 +00:00
Howard Chu
801297cb77 ITS#9991 send_ldap_ber: make sure we're only closing our own connection 2023-01-30 14:44:27 +00:00
Ondřej Kuzník
868309c90d ITS#8102 Do not continue if deconfigured during pause 2023-01-30 12:06:24 +00:00
Ondřej Kuzník
fa030ef8dc ITS#9930 Do not reschedule consumers that are shutting down 2023-01-30 10:26:23 +00:00
Ondřej Kuzník
12bf5a95ba ITS#9045 rlock only if there may be other threads
We can't rlock if we've registered ourselves as a writer. We can only
figure that out by checking if we're the thread that initiated the
pause: is the server paused already?
2023-01-23 11:53:36 +00:00
Ondřej Kuzník
5ccbe63246 ITS#9930 Just wait until si_mutex is ready
We're in a much better place now and there is only a single task active
for a given syncinfo_t plus the task that's just scheduled it and is
wrapping up. Any remaining times this wouldn't be true are probably bugs
to be fixed.
2023-01-19 15:21:05 +00:00
Ondřej Kuzník
e6e42642ca ITS#9983 Also fix c_refcnt sequencing 2023-01-19 03:17:59 +00:00
Ondřej Kuzník
0df9d9156a ITS#9983 Rework op->o_refcnt decref sequencing
epoch_append should be called at the point the object is not reachable
anymore, otherwise a thread from a "future" might still access it post
reclamation.
2023-01-19 03:17:59 +00:00
Ondřej Kuzník
bd3b6b679f ITS#9984 Keep listener base around even if not active 2023-01-18 12:57:02 +00:00
Дилян Палаузов
08e1e2c66c typo unsuccesSful, presense/presence, accessSlog 2023-01-09 17:46:36 +00:00
Howard Chu
3ebe6625c1 ITS#9966 slapo-pcache: fix crash in consistency_check 2022-12-25 11:21:32 +00:00
Howard Chu
0acf148af2 ITS#9960 slapo-dynlist: mark internal searches as internal 2022-12-15 10:07:06 +00:00
Howard Chu
1f251fa4e6 ITS#9880 slapo-accesslog: fix reqStart ordering filter
Same as ITS#9358 but for ordering matching rule, not just equality
2022-12-07 14:58:35 +00:00
Howard Chu
c8e039aa15 ITS#9929 plug memleaks 2022-12-01 15:39:03 +00:00
Howard Chu
00610ee886 ITS#9121 dynlist: cleanup unused code 2022-12-01 15:39:03 +00:00
Howard Chu
9d53f7ccbc ITS#9929 preserve e_name for memberOf values 2022-12-01 15:39:03 +00:00
Howard Chu
cc79020b42 ITS#9929: more performance tweaks
For simple (non-nested) member compares, avoid unnecessary fetches
of dyngroups that can't match the filter.
cache filter/entry instance info across multiple dyn entries to
avoid refetching each filter entry for each dyngruop test.
2022-12-01 15:39:03 +00:00
Howard Chu
d337ae751f ITS#9929 slapo-dynlist: more performance tweaks
Minimize cost of dynamic lists while still making them filterable:
require their attrs to be explicitly mapped if filtering is to be supported.

Also check config scope in compare op
2022-12-01 15:39:03 +00:00
Ondřej Kuzník
512a99b054 ITS#9951 Postpone releasing a connection reference while in cn=monitor 2022-11-24 10:04:42 +00:00