Howard Chu
7a8d72b02b
ITS#10336 slapd-mdb: fix delete on empty DB
...
Don't assume parent of target entry will always exist.
2025-05-13 18:02:27 +01:00
Howard Chu
015f2937ba
ITS#10168 back-mdb: cleanup index setup
...
Nop index setup when index config resulted in no configured indices
2025-04-23 15:16:47 +00:00
Howard Chu
b8f32ec2fc
ITS#9367 back-mdb: add encryption support
...
Enabled if MDB_ENCRYPT is defined, which is currently only in mdb.master3.
2025-03-04 20:31:21 +00:00
Howard Chu
429556c5f6
ITS#10302 slapd-mdb: fix idcursor double-free in slapadd shutdown
...
Caused when calling tool_entry_modify to update ctxcsn after all adds are done.
2025-02-04 17:00:36 +00:00
Nadezhda Ivanova
223a755783
ITS#9914 Add OS pagesize to the back-mdb monitor information
...
Page size is now provided with the olmMDBPageSize attribute.
2024-10-25 18:53:32 +00:00
HAMANO Tsukasa
554e754b3f
fix idl intersection ITS#10233
...
The `mdb_idl_intersection()` and `wt_idl_intersection()` functions derived from back-bdb return wrong results.
expect:
[1, 3] ∩ [2] = []
actual:
[1, 3] ∩ [2] = [2]
also
- Add scope checking for back-wt
- fix compiler warning
2024-07-08 13:06:53 +00:00
Howard Chu
a7007b7f64
ITS#10163 More configure munging
...
Streamline configuration of slapd modules. Just use the
appropriate OL_ARG_ENABLE_xx, then almost no other edits
will be needed in configure.ac when adding new modules.
Backends will still have to add their Makefile to the
AC_CONFIG_FILES() list.
2024-04-05 15:42:04 +00:00
Quanah Gibson-Mount
073232bbc7
Happy New Year!
2024-03-26 19:45:07 +00:00
Ondřej Kuzník
860b61f41d
ITS#10013 Make freeing controls the job of whoever added it
2023-11-21 17:21:52 +00:00
Ondřej Kuzník
c1f00a8af6
ITS#10013 Introduce slap_add_ctrl, changing slap_add_ctrls signature
2023-11-21 17:21:52 +00:00
Howard Chu
f0c7427ba3
ITS#9660 back-mdb: make startup fail msg less specific
2023-11-09 17:10:31 +00: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
Howard Chu
69f52354d2
ITS#9993 fix online_indexer termination/cleanup
2023-02-01 20:30:22 +00:00
Дилян Палаузов
08e1e2c66c
typo unsuccesSful, presense/presence, accessSlog
2023-01-09 17:46:36 +00:00
Howard Chu
5e2fa8a213
ITS#9940 back-mdb: fully init empty DN in tool_entry_get
2022-11-01 17:13:23 +00:00
Howard Chu
2316927dc9
ITS#9942 back-mdb: always release entries from Add ops
2022-10-31 17:30:02 +00:00
Ondřej Kuzník
fa8cb31eb9
ITS#9878 One-shot tasks are now possible with interval == 0
2022-09-08 08:31:22 +01:00
Howard Chu
161ef83927
ITS#9895 slapd-mdb: raise MDB_INDICES from 128 to 256
2022-08-06 18:47:40 +01:00
Howard Chu
395e9b250a
ITS#9858 back-mdb: fix index reconfig
2022-06-03 17:06:39 +01:00
Howard Chu
9e5701cdd7
ITS#9858 back-mdb: delay indexer task startup
...
until after monitor backend is set up.
2022-06-02 16:06:31 +01:00
Howard Chu
205e2f1a3e
ITS#7165 back-mdb: check for stale readers on MDB_READERS_FULL
...
retry opening a read txn if we cleared any stale readers
2022-05-16 13:54:08 +00:00
Howard Chu
e29ba72c56
ITS#9809: pcache, mdb: fix SEGV in monitor shutdown
2022-03-15 17:04:42 +00:00
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