Commit Graph

12819 Commits

Author SHA1 Message Date
Howard Chu
d877251b2c (From ITS#8958) allow 2.5 slapcat to read 2.4 DB 2021-08-06 22:50:23 +01:00
Howard Chu
6237ae17db ITS#9611 bconfig: canonicalize structuralObjectclass 2021-08-06 22:13:47 +01:00
Ondřej Kuzník
94b361ed45 ITS#9620 Freeze cache while we search 2021-08-06 18:51:51 +00:00
Ondřej Kuzník
60c219243b ITS#9620 Turn mi_cache_mutex into a RW lock 2021-08-06 18:51:51 +00:00
Ondřej Kuzník
8d235737c8 ITS#9620 Only persistent entries are stored in the cache 2021-08-06 18:51:51 +00: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
27a5424371 ITS#9625 - Fix handling when pwdChangedTime is not present
Add a check to see if pwdChangedTime was actually present on the entry. If not, skip the expiry check.

Additionally change the debug log statement to TRACE instead of ANY, as the message is informational.
2021-08-04 19:58:01 +00:00
Ondřej Kuzník
8b24104d1a ITS#9624 Read state while holding relevant mutex, cache if needed 2021-08-04 15:30:36 +00:00
Ondřej Kuzník
71de64fac4 ITS#9624 Make sure we reset only for Binds 2021-08-04 15:30:36 +00:00
Ondřej Kuzník
7c17f06197 ITS#9624 We've already checked before we call request_extended 2021-08-04 15:30:36 +00:00
Howard Chu
e700dc03ee ITS#9615 move CheckModule from policy to overlay config
And fix errmsg FIXME
2021-08-03 16:31:49 +00:00
Howard Chu
a54f99858c ITS#6138 let frontend handle all exop responses 2021-08-03 15:19:49 +00:00
Howard Chu
66ed15a288 ITS#6138 FIx exop handler to ignore SLAPD_ASYNCOPs 2021-08-03 15:19:49 +00:00
Howard Chu
658e526bb0 ITS#6138 drop unnecessary use of o_abandon 2021-08-03 15:19:49 +00:00
Howard Chu
795add7b96 ITS#6138 use SLAPD_NO_REPLY for persistent searches
The particular code doesn't matter, any result besides
SLAP_CB_CONTINUE always halts overlay/response processing.
2021-08-03 15:19:49 +00:00
Howard Chu
e9e6fd71e1 ITS#6138 don't overwrite rs->sr_err after sending response 2021-08-03 15:19:49 +00:00
Howard Chu
5a61175deb ITS#6138 add lock flag to connection_op_finish() 2021-08-03 15:19:49 +00:00
Howard Chu
d3bd4aa76d ITS#6138 don't allow redundant abandon/cancel ops 2021-08-03 15:19:49 +00:00
Howard Chu
bc29154c62 ITS#8649 syncrepl: fix backend selection in glued DBs 2021-08-03 13:10:27 +01:00
Howard Chu
5cd45ec937 ITS#9621 fix for multival with NULL mr 2021-08-02 20:24:58 +01:00
Quanah Gibson-Mount
417accbce4 ITS#9616 - Make example slapd.conf and slapd.ldif files functional 2021-07-30 17:30:19 +00:00
Quanah Gibson-Mount
6cfed41537 ITS#9616 - Always define olcModuleList for slapd-config 2021-07-30 17:29:51 +00:00
Nadezhda Ivanova
6463280d8c Enable addition of targets to back-asyncmeta via cn=config 2021-07-29 15:05:36 +00:00
Howard Chu
79d33fe40e ITS#9584 avoid busy-loop while refresh is serialized 2021-07-29 13:28:34 +01:00
Howard Chu
92ea88ec1f ITS#9569 make reqMod optional in modify ops 2021-07-29 12:02:22 +01:00
Howard Chu
e1c90d0977 ITS#9584 serialize refresh phase
Only allow one consumer at a time to perform a refresh on a database.
2021-07-27 16:12:14 +01:00
Howard Chu
2c0707cf13 ITS#9157 save TLS errmsg in ld->ld_error 2021-07-22 15:27:31 +01:00
Howard Chu
81076a7f7c ITS#8775 for passwordMod, pass real DN thru
Since conn->c_dn is the real DN, need to see real DN for <self>
ACLs to work.
2021-07-20 19:27:45 +01:00
Howard Chu
4bd6a6d49d ITS#6916 unique: internal ops shouldn't have user's controls 2021-07-20 17:54:26 +01:00
Howard Chu
0ae71bafcf ITS#9608 fix delete of nonexistent sessionlog 2021-07-13 12:10:28 +01:00
Howard Chu
a464a6e98f ITS#9603 fix IPv6 addrs with tcpd 2021-07-01 16:16:19 +01: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
5e4f1e862f ITS#7080 Move slap_read_controls Debug message to STATS 2021-06-27 17:39:46 +00:00
Ondřej Kuzník
4cd096deff ITS#9156 Do not spam the logs on account of lastbind 2021-06-21 18:37:30 +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
2d78b6274f ITS#8747 Allow olcBkLloadClientMaxPending in cn=config 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
Quanah Gibson-Mount
362fbedc51 ITS#8333 - Update internationalISDNNumber for RFC4519 2021-06-15 18:18:03 +00:00
Tero Saarni
3e45c71d29 ITS#9468 do not arm expire timer for connections that are already tainted 2021-06-08 15:41:40 +00:00
Howard Chu
2f880087c9 ITS#9468 always init lc_time and lc_create_time
Doesn't cost us anything and guarantees expiry will work if conn_ttl
or idletimeout are configured at a later time.
2021-06-08 15:41:40 +00:00
Howard Chu
4de2314555 ITS#9561 slapd init.c: fix copy/paste error
Added in 629cafc98d for ITS#8707
2021-06-03 21:28:36 +01:00
Ondřej Kuzník
0ea78fde20 ITS#6467 Indicate which operation is lost if we fail to add log entry 2021-06-03 10:23:43 +01:00
Ondřej Kuzník
726a203133 ITS#6467 Free uuid list after we're finished 2021-06-03 10:22:14 +01:00
Howard Chu
3ca790514f ITS#9557 back-mdb: fix mdb_waitfixup for candidate-based searches
Off-by-one left last scope unrefreshed
2021-05-27 12:48:36 +01:00