Hallvard Furuseth
3226cdf2a3
bdb_locker_id, bdb_locker_id_free: BerkeleyDB lock ids are u_int32_t, not int.
2005-07-27 12:19:16 +00:00
Hallvard Furuseth
ae385b3af0
Silence "empty statement" warnings
2005-07-14 03:06:58 +00:00
Howard Chu
fbbfac6771
ITS#3857 fix bottom-up modrdn cascades, use a global modrdn counter.
2005-07-12 13:17:56 +00:00
Howard Chu
5de908e7e1
Dynamic indexing support
2005-04-21 19:04:31 +00:00
Howard Chu
eac3fc3737
Added some delete handlers
2005-04-21 12:45:25 +00:00
Howard Chu
41d37a335e
ITS#3660 fix BDB verbose calls
2005-04-16 01:24:00 +00:00
Howard Chu
d9ab73837a
ITS#3647 back-hdb fixes, create unsorted subtree IDLs and sort later.
2005-04-13 11:55:25 +00:00
Howard Chu
74e38c0ad4
More verbmasks cleanup, added index unparsing
2005-03-02 16:35:59 +00:00
Howard Chu
44521fd902
Reorganized config/bconfig. Migrated back-bdb config.
2005-03-02 04:46:50 +00:00
Howard Chu
fc337704c5
Fix redundant index lookups from component matching
2005-01-24 12:25:37 +00:00
Howard Chu
2b66ee44bd
More cleanup of unused stuff
2005-01-14 05:57:58 +00:00
Howard Chu
0bc4b77527
Clean up unused bt_compare references
2005-01-11 22:38:39 +00:00
Howard Chu
98212b7e08
Start removing custom sort functions from hdb
2005-01-11 19:47:05 +00:00
Kurt Zeilenga
dc0eacd40b
Happy New Year!
2005-01-01 20:49:32 +00:00
Jong Hyuk Choi
35c19ef342
misc fix for the component indexing commit
2004-12-20 20:28:30 +00:00
Jong Hyuk Choi
273052b573
adaptive caching implementation
2004-12-14 17:22:22 +00:00
Pierangelo Masarati
bc478dee46
log the right function names
2004-11-17 14:53:03 +00:00
Pierangelo Masarati
b29bf83e7e
remove back-*/external.h
2004-11-15 19:45:49 +00:00
Howard Chu
ab25b43364
Update BDB 4.3 errcall prototype again to silence warnings
2004-11-13 13:22:48 +00:00
Pierangelo Masarati
be32dce97f
rework static backend initialization
2004-11-11 00:38:11 +00:00
Howard Chu
504d7ea261
Assist in cache debugging
2004-11-08 04:23:37 +00:00
Howard Chu
e6a12272cc
BDB 4.3 compatibility
2004-10-16 22:10:32 +00:00
Howard Chu
62b6b32633
Add SLAP_MR_ORDERED_INDEX - support for inequality indexing. Currently
...
only implemented for generalizedTime syntax.
2004-09-28 13:11:11 +00:00
Jong Hyuk Choi
70314bd98b
SLAP_IDL_CACHE macro removed
2004-07-09 03:31:52 +00:00
Jong Hyuk Choi
b459e59394
patch for ITS#3173
...
- passing transaction ptr to psearch
2004-06-22 23:22:16 +00:00
Howard Chu
113870c194
Revert to original code
2004-03-06 19:15:39 +00:00
Howard Chu
896beebadc
unifdef SLAP_IDL_CACHE
2004-03-05 13:43:18 +00:00
Kurt Zeilenga
3c598e89fb
Happy new year
2004-01-01 19:15:16 +00:00
Howard Chu
94f7141dda
Consolidate passwd extop in frontend
2003-12-01 12:38:11 +00:00
Kurt Zeilenga
9d811eb1fa
Notices
2003-11-28 21:08:20 +00:00
Jong Hyuk Choi
f3586499d0
update ldapsync/syncrepl code according to the new version of
...
the protocol (draft-zeilenga-ldup-sync-04)
2003-11-11 20:25:19 +00:00
Jong Hyuk Choi
279760a467
1. Session history support
...
- memory based session history to minimize sync traffic
- when client is covered by a session history, then
[add+delete] mode is used
- when client cookie is not covered by the history because
the cookie is too outdated and/or the history is truncated,
[add+present] mode is used
2. Sync cookie syntax : comma separated name=value pairs
- csn=yyyymmddhh:mm:ssZ#0xSSSS#r#ssssr,sid=nnn
2003-11-10 02:44:25 +00:00
Howard Chu
040a9cf64c
Fix HDB's use of IDL cache
2003-10-03 02:19:09 +00:00
Hallvard Furuseth
b10daf623f
Declare bdb_cache_entry_db_unlock().
2003-09-29 23:32:11 +00:00
Howard Chu
121c73d838
Add EntryInfo free list
2003-09-27 04:58:36 +00:00
Jong Hyuk Choi
eee84463c0
do not cache internal search results for present entry priming
2003-09-25 07:49:50 +00:00
Howard Chu
76dd6bb6da
Revert to previous behavior:
...
always use DB_AUTO_COMMIT when opening a database, don't make it
dependent on an in-progress transaction
use mutex instead of DB lock for db access.
2003-09-25 00:27:22 +00:00
Howard Chu
5fb7ea2294
Cleanup prev commit
2003-09-22 10:11:10 +00:00
Howard Chu
0342904699
back-hdb caching updates, use EntryInfo cache for hdb_dn2idl.
2003-09-22 08:37:32 +00:00
Howard Chu
fddbe13c6e
Revert broken index optimizations
2003-09-21 10:11:46 +00:00
Jong Hyuk Choi
d5be4896a3
add bdb_get_commit_csn() for use in bdb_search
2003-09-10 17:03:01 +00:00
Jong Hyuk Choi
c36f32a9e4
slaptool update for LDAP Sync replication
2003-08-30 15:19:35 +00:00
Jong Hyuk Choi
090ac0a772
unifdef LDAP_SYNC and LDAP_SYNCREPL
2003-08-27 22:16:04 +00:00
Jong Hyuk Choi
9faedad3e5
Context CSN updates for hdb
2003-08-26 18:57:09 +00:00
Jong Hyuk Choi
3be0b77c88
Context CSN Patch (2)
...
- BDB context csn codes moved to a separate function in back-bdb/ctxcsn.c
2003-08-25 19:15:04 +00:00
Luke Howard
3301a31755
Fix symbol name collision when LDAP_SYNC && BDB_HIER
2003-08-23 11:58:33 +00:00
Jong Hyuk Choi
660617ae66
Context CSN patch (1)
...
- currenty works for refreshOnly mode of LDAP Sync
- Context CSN for add / modify is implemented
- code for delete / modrdn / refreshAndPersist will be soon committed
2003-08-23 02:51:33 +00:00
Jong Hyuk Choi
5bc1e1a3c9
Berkeley DB congestion avoidance
2003-07-01 11:55:18 +00:00
Jong Hyuk Choi
262f8bf11f
LCUP primitive routines removed
2003-06-27 17:39:48 +00:00
Howard Chu
0c8a4b1756
More fixes for modify - don't delete index keys that are still being used
...
by other values of the attribute.
Also, filter out duplicate keys to avoid redundant DB operations.
Key collisions due to separate attributes indexed by supertype are still
not safe. Yuck.
2003-06-13 06:09:45 +00:00