Commit graph

273 commits

Author SHA1 Message Date
Quanah Gibson-Mount
788e9592ba Happy New Year! 2022-01-07 18:40:00 +00:00
Howard Chu
739081f217 ITS#9753 back-mdb: Fix index updating for replace ops 2021-11-23 17:29:31 +00:00
Howard Chu
2995da7e8d ITS#9712 back-mdb: better fix 2021-10-07 01:42:38 +01:00
Howard Chu
74a5a3a474 ITS#9712 back-mdb: fix multival delete 2021-10-07 01:22:34 +01: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
ac637676f8 ITS#9637 more for idlexp max 2021-08-16 22:56:38 +01:00
Howard Chu
c3aca3d545 ITS#9637 back-mdb fix max idlexp 2021-08-16 22:44:54 +01:00
Howard Chu
973a93036e ITS#9122 expose SLAP_TOOL_DRYRUN to backends
Most backends should no-op everything. back-config will
still parse and process all config directives.
2021-08-13 02:09:48 +00:00
Howard Chu
f6a61ab7fe ITS#8958 back-mdb: checkpoint online indexer
Save old/new indexmasks to allow processing to resume if slapd is
stopped and restarted. Save last entryID indexed to allow resume
after restart or pool pause.
2021-08-12 18:59:06 +00:00
Howard Chu
d877251b2c (From ITS#8958) allow 2.5 slapcat to read 2.4 DB 2021-08-06 22:50:23 +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
e9e6fd71e1 ITS#6138 don't overwrite rs->sr_err after sending response 2021-08-03 15:19:49 +00:00
Howard Chu
5cd45ec937 ITS#9621 fix for multival with NULL mr 2021-08-02 20:24:58 +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
Howard Chu
0c90b8c001 ITS#9531 back-mdb: fix delete of context entry
We already checked if attempting to delete the suffix, but
didn't skip the parent check as we should have.
2021-04-26 18:27:40 +01:00
Howard Chu
8f392914ca ITS#9526 slapd-mdb tools: fix cursor init check 2021-04-18 17:51:30 +01:00
Ondřej Kuzník
e36d1e31c5 ITS#9001 manual changes 2021-03-30 15:46:40 +01:00
Howard Chu
c6e521fa98 ITS#8950 move txn setup to frontend
Backends should just execute when invoked, frontend should
exclusively take care of queueing for txn setup.
2021-03-23 14:58:09 +00:00
Howard Chu
5398d44a36 ITS#8967 additional check 2021-03-22 09:18:32 +00:00
Howard Chu
a3935c7249 ITS#8967 back-mdb: fix adminlimit check 2021-03-22 08:36:49 +00:00
Quanah Gibson-Mount
ce2c5173bd ITS#9161 - Fix various typos
Fix a number of different typos across the code base
2021-02-17 18:42:46 +00:00
Quanah Gibson-Mount
6c469f0793 ITS#7790 - Rename config.h
Rename slapd/config.h to slap-config.h and update accordingly
Rename lloadd/config.h to lload-config.h and update accordingly
2021-02-02 21:26:39 +00:00
Quanah Gibson-Mount
efaf9a4a17 Happy New Year! 2021-01-11 19:25:53 +00:00
Ondřej Kuzník
d9f20cc09e ITS#9363 Set appropriate defaults where needed 2020-12-08 19:11:22 +00:00
Ondřej Kuzník
67d005ee65 ITS#9348 Stop using plain strerror() 2020-09-25 12:47:46 +01:00
Ondřej Kuzník
3f5293e145 ITS#5422 Save errno before passing it to Debug() 2020-09-24 23:34:36 +00:00
Quanah Gibson-Mount
bc021bb244 ITS#6749 - Change configure monitor warning to DEBUG CONFIG instead of DEBUG ANY 2020-09-18 14:56:43 +00:00
Gabriel Buades
984ecd113a ITS#9349 slapd-mdb: optimize index delete
Performance improvement for indexed attributes removal
2020-09-17 18:21:53 +01:00
Howard Chu
2f94318f06 ITS#7926 support multiple config cleanup functions per op
Prep for main changes
2020-08-18 22:00:58 +01:00
Howard Chu
b0d7308371 ITS#9135 fix index error on collapsed range 2020-08-13 18:18:45 +01:00
Quanah Gibson-Mount
c06ac436e2 ITS#9235 Merge libldap_r into libldap 2020-07-03 17:23:14 -07:00
Ondřej Kuzník
799607231d ITS#7796 Move 'not indexed' messages to loglevel filter 2020-06-22 09:28:26 +01:00
grapvar
a5e17673a6 ITS#9214 slapd-mdb: plug cursor leak in dnSuperiorMatch filter 2020-04-15 00:14:37 +01:00
Ryan Tandy
38f9dd2fb8 ITS#7878 Replace uint32_t with unsigned in back-mdb
init.c: align mi_dbenv_flags and flags with mdb_dbi_open, which declares
flags as unsigned int.

search.c: align mi_rtxn_size with ARG_UINT; adjust ww_ctx.nentries to
silence a warning about signed/unsigned comparison.

config.c: parse checkpoint config more carefully. Reject negative or
unreasonably large values for kbytes and minutes. Ensure both values are
parsed successfully before making any changes.

Fixes a compilation failure under MinGW, where stdint.h types are not
implicitly pulled in by other headers.
2020-04-14 10:04:33 -07:00
Quanah Gibson-Mount
0dbbe8c012 ITS#8040 - Fix missing ifdefs for LAZY_COMMIT 2020-02-02 19:00:34 +00:00
Ondřej Kuzník
76c43165ea Remove LDAP_X_TXN and rename accordingly 2020-01-28 12:09:09 +00:00
Howard Chu
e7538fa462 ITS#9154 back-mdb add number of entries to cn=monitor 2020-01-18 12:53:07 +00:00
Howard Chu
9a8d7f305b ITS#9150 fix nosync FALSE config 2020-01-11 04:24:54 +00:00
Quanah Gibson-Mount
f6ad222e41 Happy New Year! 2020-01-09 16:50:21 +00:00
Howard Chu
379f138098 ITS#9091 drop attr mappings added in an aborted txn
If a txn is aborted in id2entry_put, attribute index mappings
added during that txn must also be dropped from memory.
2019-10-14 18:34:07 +01:00
Howard Chu
4bc333c5e7 ITS#9095 insert missing commit at end of slapindex processing 2019-10-11 20:48:51 +01:00
Howard Chu
92b03e82e0 ITS#7657 honor unchecked limit 2019-07-17 10:17:43 +01:00
Howard Chu
e90e8c7d3c ITS#7657 back-mdb improve alias deref
Don't search for scopes of entries with no children
2019-07-15 16:47:18 +01:00
Howard Chu
5fec7b777f ITS#8977 don't use any stack allocated IDLs
Trying again, fixed previous attempt
2019-07-11 15:47:03 +01:00
Howard Chu
f6766f1a1f Revert "ITS#8977 don't use any stack allocated IDLs"
This reverts commit bfe9152c4c.
2019-07-03 17:20:34 +01:00
Howard Chu
bfe9152c4c ITS#8977 don't use any stack allocated IDLs 2019-07-03 16:59:53 +01:00
Howard Chu
ec411582d6 ITS#8977 make sure olcBackend entry is created 2019-06-27 15:33:09 +01:00
Howard Chu
c825edf67e ITS#8989 fix bitshift integer overflow 2019-03-10 14:26:08 +00:00
Ondřej Kuzník
117dcbc54d Silence compiler warnings 2019-02-19 10:28:08 +00:00
Ondřej Kuzník
f4a68297a0 Actually check for mi->bi_extra 2019-02-19 10:28:08 +00:00