Commit graph

580 commits

Author SHA1 Message Date
Quanah Gibson-Mount
073232bbc7 Happy New Year! 2024-03-26 19:45:07 +00:00
Howard Chu
ddd42a2af3 ITS#10161 Add nestgroup overlay 2024-03-21 17:12:53 +00:00
Ondřej Kuzník
f5fcbb428c ITS#10139 back-config: Honour disclose in matchedDN handling 2024-01-29 18:43:56 +00: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
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
7aaee92f0a ITS#9343 More policy selection criteria 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
Ondřej Kuzník
525b631e37 ITS#10045 Also check for abandon when things have settled 2023-04-27 19:37:02 +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
a6f3106afc ITS#9045 Do not share cn=config entries with outside code
config_back_entry_get currently returns the entry directly without
securing the rwlock, which is unsafe. However we can't keep holding it
on return in case the caller decides to hold onto the entry
indefinitely, hence rlock+entry_dup+runlock.
2022-10-31 18:16:42 +00:00
Ondřej Kuzník
9014e8bb81 ITS#9907 Do not redefine variables inherited from slapd 2022-09-02 12:56:25 +01:00
Ondřej Kuzník
5d985e0145 ITS#9870 Drop optional overlay configuration option 2022-06-23 11:53:51 +01:00
Ondřej Kuzník
a9d98407d2 ITS#9808 Store the correct value in olcLastBind 2022-03-14 09:35:12 +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
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
2443e986d1 ITS#9772 Allow objectClass edits that don't actually change them 2022-01-18 05:12:53 +00:00
Quanah Gibson-Mount
788e9592ba Happy New Year! 2022-01-07 18:40:00 +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
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
e6347bc1b8 ITS#9729 Allow multiprovider to be set before syncrepl stanzas 2021-12-14 21:10:17 +00:00
Ondřej Kuzník
1a92f417a6 ITS#9576 Populate ca_desc for EMIT too 2021-12-14 19:22:48 +00:00
Ondřej Kuzník
e96bfd088e ITS#9750 olcPasswordHash can only be made global in cn=config 2021-12-14 00:19:17 +00:00
Howard Chu
a1799a6e5e ITS#9745 add config keyword for logfile format 2021-11-16 18:57:54 +00:00
Howard Chu
d76b8cbbef ITS#9715 consolidate logging functionality into logging.c 2021-10-18 17:49:47 +01:00
Ondřej Kuzník
a3dea08ccd ITS#6949 Fix and emit error messages 2021-10-04 14:46:22 +01:00
Howard Chu
66c6284119 ITS#6949 fixup loglevel delete, consolidate redundant code 2021-09-30 04:23:29 +01:00
Howard Chu
10fb8c0ae5 ITS#6949 fix logfile_only regression in prev commit 2021-09-29 14:39:28 +01:00
Howard Chu
77adb19207 ITS#6949 honor specified loglevel, not just debuglevel
But skip calls to syslog() if logfile_only is set.
2021-09-27 16:54:24 +00:00
Howard Chu
42fc772c23 slapd: delete unused entry_schema_check(oldattrs) parameter
Unused since 2001 2ae02fc19b
2021-09-23 17:03:19 +01:00
Howard Chu
09a22d5512 ITS#9678 slapadd: avoid destroying configDB prematurely 2021-09-14 20:01:47 +01:00
Quanah Gibson-Mount
c6b43dcdc5 ITS#9635 - Delete back-ndb 2021-08-17 16:01:29 +00:00
Howard Chu
6237ae17db ITS#9611 bconfig: canonicalize structuralObjectclass 2021-08-06 22:13:47 +01:00
Ondřej Kuzník
1cf39a8568 ITS#5344 Record and maintain new DN on ModRDN ops 2021-08-06 15:30:47 +01:00
Howard Chu
9f4de680e3 ITS#6949 add support for logfile rotation
Uses debuglevel, not sysloglevel.
2021-08-05 15:45:19 +00:00
Quanah Gibson-Mount
6cfed41537 ITS#9616 - Always define olcModuleList for slapd-config 2021-07-30 17:29:51 +00:00
Ondřej Kuzník
a2e9cb1acd ITS#7080 Postread control support for back-ldif/config 2021-06-27 17:39:46 +00:00
Ondřej Kuzník
9e1a961792 ITS#9581 Implement lastbind precision 2021-06-21 18:37:30 +00:00
Ondřej Kuzník
c7f4a5eb28 ITS#7215 Allow cleanups/commits to fail (once)
Some config changes need to be prepared at entry modification time and
then checked/committed at the end. Such a check can fail, so we need to
do this early enough and also commit the opposite change during a revert
step.

The assumption is that the original version is consistent and bconfig
can accurately reconstruct it, so the revert cleanups will not fail and
so all of them get to be run. We set ca->reply.err so that the cleanups
can be made aware and comply with this assumption.
2021-06-21 16:36:06 +00:00
Ondřej Kuzník
4255288ac4 ITS#7215 Postpone index_substr check 2021-06-21 16:36:06 +00:00
Ondřej Kuzník
3dcfffbd00 ITS#9576 Use stored defaults 2021-06-21 16:36:06 +00:00
Ondřej Kuzník
b4afe00942 ITS#9576 Put the used table in ConfigArgs 2021-06-21 16:36:06 +00:00
Ondřej Kuzník
3138c8d5db ITS#9363 Some missed MAGIC defaults 2021-06-21 16:36:06 +00:00
Ondřej Kuzník
f016d88786 ITS#9575 Warn when specifying olcPasswordHash in the cn=config entry 2021-06-21 15:32:03 +00:00
Ondřej Kuzník
e36d1e31c5 ITS#9001 manual changes 2021-03-30 15:46:40 +01:00
Howard Chu
f1ebb45695 ITS#9251 make max filter depth configurable 2021-03-22 17:31:13 +00:00
Howard Chu
cbb6441c30 ITS#8726 check newly registered loglevels immediately
See if they were requested as soon as they are successfully registered.
2021-03-21 16:36:30 +00:00
Howard Chu
7ff1f42f7e ITS#8246 frontend and config DBs are unique
Also make sure config_add_internal errmsg is returned to slapadd
2021-03-21 14:58:22 +00:00