Commit Graph

659 Commits

Author SHA1 Message Date
Kurt Zeilenga
8f0bc2d55b cleanup 2003-09-15 21:53:58 +00:00
Howard Chu
aee837c999 More deadlock tweaks. 2003-09-14 10:27:59 +00:00
Howard Chu
61155ca8e8 Fix prev commit 2003-09-12 18:53:59 +00:00
Howard Chu
72adc38cdf Construct ctxcsn entries directly, plug memory leaks, remove
dependency on slap_mods_check and slap_mods2entry
2003-09-12 18:52:34 +00:00
Howard Chu
10811b6f51 Clarify/standardize library version mismatch error messages 2003-09-12 00:54:21 +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
005afc86e4 more EntryInfo handling fix code (overriding the prev fix) 2003-09-09 01:25:58 +00:00
Jong Hyuk Choi
4cda6127ee use of bdb_modify_internal() in bdb_csn_commit()
fix EntryInfo handling in bdb_csn_commit()
2003-09-08 22:55:04 +00:00
Jong Hyuk Choi
7357caac90 memory mgmt cleanup 2003-09-03 23:47:37 +00:00
Jong Hyuk Choi
c36f32a9e4 slaptool update for LDAP Sync replication 2003-08-30 15:19:35 +00:00
Jong Hyuk Choi
853c03e38d more patches for ITS#2692 (Thanks Luke!) 2003-08-29 17:02:53 +00:00
Jong Hyuk Choi
090ac0a772 unifdef LDAP_SYNC and LDAP_SYNCREPL 2003-08-27 22:16:04 +00:00
Jong Hyuk Choi
4559aa06aa cleanup 2003-08-27 20:51:04 +00:00
Jong Hyuk Choi
81a53a9a5c LDAP Sync protocol extension
- do not send updates in state mode when
  syncCookie >= contextCSN (or omitCSN if changelog is used)
2003-08-26 22:49:44 +00:00
Jong Hyuk Choi
74d6415f1e cleanup 2003-08-26 19:04:12 +00:00
Jong Hyuk Choi
9faedad3e5 Context CSN updates for hdb 2003-08-26 18:57:09 +00:00
Jong Hyuk Choi
79b04b12a2 Context CSN Patch (5)
- persistent search patch
- cascading search patch
2003-08-26 00:35:27 +00:00
Jong Hyuk Choi
7ef160494f Context CSN Patch (4)
- context csn management for modrdn
- call slap_mods_opattrs() for moved entries as well
2003-08-25 22:23:49 +00:00
Jong Hyuk Choi
a636f61b01 misc cleanup 2003-08-25 22:18:33 +00:00
Jong Hyuk Choi
fbb8c9da5e Context CSN Patch (3)
- context csn management for delete
- a later patch will take care of inconsistencies caused by
  interactions between outstanding search and scope-outs
2003-08-25 20:20:26 +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
Jong Hyuk Choi
d53c90dc29 Context CSN patch (1) - cleanup
- serialize search_candidates() with the read of search_context_csn
2003-08-25 17:10:18 +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
6659cf3ea1 LDAP Sync protocol change : state mode (add+present) and log mode (add+delete) 2003-08-14 16:27:36 +00:00
Kurt Zeilenga
b54780f940 Add initial support for modify/increment. No over/under flow detection.
Currently discovered via a "feature", but should use a control.
Start of a control made, but needs to be better integrated (with
auto use in ldapmodify(1)).
2003-08-07 16:42:40 +00:00
Jong Hyuk Choi
aaa66d254e Various udpates for SyncRepl 2003-07-15 00:43:39 +00:00
Jong Hyuk Choi
cc6f31782d - partial attribute replication tested ok
- conf file processing udpate
- misc updates
2003-07-02 14:51:23 +00:00
Jong Hyuk Choi
5bc1e1a3c9 Berkeley DB congestion avoidance 2003-07-01 11:55:18 +00:00
Jong Hyuk Choi
ea57395f82 Glueing code changes for replica promotion scenario 2003-06-28 00:52:40 +00:00
Jong Hyuk Choi
262f8bf11f LCUP primitive routines removed 2003-06-27 17:39:48 +00:00
Jong Hyuk Choi
e70377b875 IDL cache AVL tree initialize 2003-06-26 06:24:24 +00:00
Jong Hyuk Choi
5d203d0cc5 not returning glue entries unless manageDSAit is set 2003-06-25 16:22:08 +00:00
Howard Chu
6fc06a7801 ITS#2596 init ID list 2003-06-15 23:10:30 +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
Howard Chu
9004df89d7 ITS#2593 keep entryinfo locked during delete 2003-06-12 22:47:13 +00:00
Howard Chu
aa3b69eb32 ITS#2440 unmunge init_module names 2003-06-12 22:25:20 +00:00
Howard Chu
c3039b66fe Another BDB_HIER redundant modification 2003-06-12 11:17:35 +00:00
Howard Chu
299983eb74 Another BDB_HIER e_name / e_nname fix 2003-06-12 11:14:50 +00:00
Howard Chu
8defa92746 ITS#2593? get entry lock sooner... 2003-06-12 11:11:37 +00:00
Hallvard Furuseth
d61f44fa7c Revert previous patch: Bad time for it. 2003-06-12 09:20:04 +00:00
Jong Hyuk Choi
33b8042bc0 cleanup 2003-06-11 19:35:31 +00:00
Jong Hyuk Choi
3f8bb27a83 a fix for back-bdb entry cache 2003-06-11 17:01:54 +00:00
Kurt Zeilenga
a8e859a401 Add server side assert control support. 2003-06-10 04:44:41 +00:00
Howard Chu
782b481a9a ITS#2580 - avoid cache deadlock 2003-06-09 22:00:00 +00:00
Hallvard Furuseth
93b19fdf9a Fix bdb_db_hash() to handle padding bits in integers. 2003-06-05 11:55:27 +00:00
Kurt Zeilenga
12304f64e5 Merge partial and intermediate responses 2003-05-31 05:01:49 +00:00
Jong Hyuk Choi
732f5501a9 base entry checking for refreshAndPersist as well 2003-05-30 21:47:15 +00:00
Kurt Zeilenga
7ca24a8591 Another round of minor copyright updates 2003-05-25 03:56:57 +00:00
Howard Chu
4a3748b6cf Restructured to avoid direct use of sl_malloc functions. Minimizes impact
of #ifdef USE_SL_MALLOC...
2003-05-25 00:53:08 +00:00