Commit graph

12863 commits

Author SHA1 Message Date
Howard Chu
09a22d5512 ITS#9678 slapadd: avoid destroying configDB prematurely 2021-09-14 20:01:47 +01:00
Ondřej Kuzník
bfe3d19e95 ITS#8341 Allow normalised values for namingContexts in cn=monitor 2021-09-09 10:26:06 +01:00
Ondřej Kuzník
2958925ca1 ITS#9664 Add normalised suffix into rootDSE for ACL, etc.
This was removed in ITS#5540 since there was no EQUALITY matching rule,
but that situation changed in ITS#8341 and we need to add it back.
2021-09-09 10:26:06 +01:00
Ondřej Kuzník
c2b81a3c5b ITS#6949 Allow for fd 0 2021-09-08 15:53:02 +00:00
Ondřej Kuzník
dc6b6276fc ITS#6949 Save errno 2021-09-08 15:53:02 +00:00
Ondřej Kuzník
2abbf6781d ITS#6949 Extract logging code so lloadd can also use it 2021-09-08 15:53:02 +00:00
Quanah Gibson-Mount
c1f3895412 ITS#9649 - Fix typo compatibilty to compatibility 2021-09-06 19:18:46 +00:00
HAMANO Tsukasa
c66c9f87eb ITS#9631 back-wt: closing cache db politely 2021-09-06 15:19:25 +00:00
Ondřej Kuzník
17394f380a ITS#9641 Grab a new local csn for failed ops 2021-09-05 14:33:59 +00:00
Ondřej Kuzník
781a6c25a7 ITS#9538 Only queue csns for ops that don't get skipped 2021-09-05 14:33:59 +00:00
Ondřej Kuzník
8f8674fc86 ITS#9538 Populate op2.o_hdr earlier 2021-09-05 14:33:59 +00:00
Ondřej Kuzník
c34f2a1b29 ITS#9650 Move ldap_pvt_thread_initialize into main.c 2021-09-04 22:57:00 +00:00
HAMANO Tsukasa
ccb4f4854a ITS#9643 Fix out of bounds read in entry_decode() 2021-09-02 15:25:39 +00:00
Howard Chu
73be971a7d ITS#9659 remove redundant peerbv def 2021-09-01 04:00:57 +01:00
Quanah Gibson-Mount
affa9de311 ITS#9649 - Add information for schema files 2021-08-31 17:34:16 +00:00
Quanah Gibson-Mount
c4d399c203 ITS#9156 - Remove ppolicy.schema from README
Also remove nadf.schema, that got removed some time long ago
2021-08-26 15:43:24 +00:00
Quanah Gibson-Mount
d943d7f2fb ITS#9636 - Delete shell backend 2021-08-17 16:01:29 +00:00
Quanah Gibson-Mount
c6b43dcdc5 ITS#9635 - Delete back-ndb 2021-08-17 16:01:29 +00:00
HAMANO Tsukasa
31b0bf68c2 ITS#9497 fix duplicate ldap control response 2021-08-17 15:45:06 +00: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
49ee5d9b24 ITS#5344 slapo-rwm: fix prev commit
Must always generate newDN
2021-08-13 21:09:28 +01:00
Ondřej Kuzník
4588f4e528 ITS#9597 Fix NoD support 2021-08-13 16:01:13 +01:00
Ondřej Kuzník
e78ecead09 ITS#9600 Support closing connections on request 2021-08-13 10:57:14 +01:00
Ondřej Kuzník
e9dfb7d21d ITS#9600 Rework monitor entry management
Connection entries are now persistent and can be addressed, preparing
the ground so we can process modify operations on individual entries.
2021-08-13 10:57:14 +01:00
Ondřej Kuzník
6d95cc3935 ITS#9599 Online latency tracking 2021-08-13 10:57:14 +01:00
Ondřej Kuzník
8219a3a414 ITS#9599 Push based latency tracking 2021-08-13 10:57:14 +01:00
Ondřej Kuzník
84dab3f961 ITS#9599 Add bestof tier implementation 2021-08-13 10:57:14 +01:00
Ondřej Kuzník
1ca559668f ITS#9599 Add latency tracking 2021-08-13 10:57:14 +01:00
Ondřej Kuzník
ab90bfd95c ITS#9599 Implement tiered load balancing 2021-08-13 10:57:14 +01:00
Ondřej Kuzník
ddc9430727 ITS#9598 Per OID restrictions 2021-08-13 10:57:14 +01:00
Ondřej Kuzník
0190f18b4c ITS#9598 Introduce backend-restricted selection 2021-08-13 10:57:14 +01:00
Ondřej Kuzník
7173e4726e ITS#9598 Factor out upstream checking 2021-08-13 10:57:13 +01:00
Ondřej Kuzník
b66a62799d ITS#9597 Send Notice of Disconnection when shutting down a client connection 2021-08-13 10:57:13 +01:00
Ondřej Kuzník
96d0eec034 ITS#8747 Use the same message when upstream connection is ready 2021-08-13 10:57:13 +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
Ondřej Kuzník
c4ac5b319b ITS#9538 Serialise CSN assignment in slapo-accesslog 2021-08-12 20:48:09 +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
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
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
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
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