Commit Graph

23749 Commits

Author SHA1 Message Date
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
5ad6ab3568 ITS#8958 rename ldap_pvt_thread_pool_pausecheck()
to ..._pausewait() since that's what it really does.
Add ..._pausequery() that only checks and doesn't wait.
2021-08-12 18:59:06 +00:00
Nadezhda Ivanova
81ed9e0d0e ITS#9628 Fix incorrect c_n_ops_executing counter when backend is asynchronous 2021-08-12 15:57:49 +00:00
Ondřej Kuzník
ee7a87b017 ITS#9631 move slapd-wt tests to alltests 2021-08-12 16:54:18 +01:00
Aapo Romu
5b11591db9 ITS#9630 back-sql: Close transactions after bind and search 2021-08-12 14:40:51 +01:00
Aapo Romu
ab3db65388 ITS#9629 back-sql: Add support for ppolicy opattrs
So that ppolicy rules are applied
2021-08-12 14:40:40 +01:00
Quanah Gibson-Mount
2a6e24e924 ITS#9463 - Fix typo 2021-08-08 02:01:31 +00:00
HAMANO Tsukasa
583db6209d fix timing issue for test086-delta-consumer 2021-08-07 19:27:43 +00:00
HAMANO Tsukasa
4c5a5a7588 fix test025-limits: wait for slapd shutdown 2021-08-07 19:27:43 +00:00
HAMANO Tsukasa
c3a5b2c72d fix test001-slapadd: Wait for slapd shutdown before remove DB 2021-08-07 19:27:43 +00:00
HAMANO Tsukasa
2aaaf98315 ITS#9463 cumulative fix for back-wt
- LDAP MODRDN handling
- support paged response
- add wt_extended
- add config emit
- wt_key_read() return WT_NOTFOUND if not found key.
- add ext_candidates()
- fix idlcache session name
- fix warning
- don't reuse idlcache cursor
- set correct pid when modrdn with newsuperior
- fix condition bug
- fix send_search_entry() error handling
- fix for referral handling
- fix for readonly mode
- fix sizelimit response
- support modrdn
- improve modify handling
- clear ancestor idlcache
- fix for multi-DIT
- IMPORTANT CHANGES: Compatibility is broken with previous database table, please restore database from LDIF.
- checking for scope=children
- sort dn2idl result
- fix cursor leak
- support db_open with readonly mode
- add wt_tool_entry_delete
- initialize comp variable
- support referrals
- implement wt_tool_dn2id_get() and wt_tool_entry_modify() for slapadd -w
- skip redundant scan, and more debug message
- fix OID conflict with back-passwd
- no need to close session, It may cause SEGV.
- fixed wt_dn2entry for empty DN
- support multiple database
- Construct wiredtiger's config parameter. It allow multi line wtconfig settings
- add idlcache
- fix concurrent modification to a entry with multi values
- prevent to add duplicate dn entry
- suppress error message "search_near failed: WT_NOTFOUND"
- update Debug statements
- back-wt does not support subtree rename
- fix for @ondra review
- update slapd-wt.5 and warning for mode option
- add back-wt test into test target
- add scope checking
2021-08-07 19:27:43 +00:00
Quanah Gibson-Mount
f19a1da188 ITS#9200 - Fix typo in prev commit 2021-08-07 19:21:49 +00:00
Quanah Gibson-Mount
8d115969f9 ITS#9200 - Note deprecated options dropped from client utilities 2021-08-07 04:40:40 +00:00
Quanah Gibson-Mount
359d383a13 ITS#9200 - Fix upgrade requirements for back-mdb 2021-08-06 22:56:33 +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
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
8311c71f3d ITS#6138 fix test timing issue 2021-08-03 15:19: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
Quanah Gibson-Mount
d1707cd47e ITS#9200 - Document that olcMirrorMode should be olcMultiProvider 2021-08-02 19:57:44 +00: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
Quanah Gibson-Mount
0a31f0d31a ITS#9485 - Regenerate configure for contrib ldapc++
using autoconf
2021-07-29 18:24:01 +00:00
Quanah Gibson-Mount
8434638157 ITS#9485 - Regenerate autogenerated files for contrib ldapc++
using autoreconf -f -i
2021-07-29 18:23:25 +00:00
Quanah Gibson-Mount
ef174831b8 ITS#9485 - Update contrib ldapc++ for autoconf-2.71 2021-07-29 18:22:52 +00:00
Quanah Gibson-Mount
c1a99981e8 ITS#9485 - Regenerate configure via autoconf 2021-07-29 18:06:37 +00:00
Quanah Gibson-Mount
a7371850bc ITS#9485 - Regenerate autogenerated file with autoreconf -f -i 2021-07-29 18:06:03 +00:00
Quanah Gibson-Mount
371c29ba34 ITS#9485 - Update for autoconf 2.71
Update for latest autoconf release
2021-07-29 18:02:25 +00:00
Quanah Gibson-Mount
dc5d7f3b88 ITS#9617 - Use valid exit values when an error occurs 2021-07-29 16:13:53 +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
e893e0e8b6 ITS#9569 update schema def in manpage 2021-07-29 12:55:15 +01:00
Howard Chu
92ea88ec1f ITS#9569 make reqMod optional in modify ops 2021-07-29 12:02:22 +01:00