Howard Chu
14ea115209
ITS#2827 patch from Masato Taruishi
2003-11-13 08:22:03 +00:00
Jong Hyuk Choi
2d7481d662
adjust cookie precedence : command line cookie has higer precedence over stored cookie
2003-11-13 01:11:07 +00:00
Jong Hyuk Choi
64dd6a0760
fix for the cascading replication (reenabling test019)
2003-11-13 00:11:44 +00:00
Jong Hyuk Choi
0db0d4e005
fix typo
2003-11-12 07:05:12 +00:00
Jong Hyuk Choi
e36f1398f0
misc cleanup
2003-11-12 00:24:11 +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
Kurt Zeilenga
bfafd42163
Code and logging cleanup
2003-11-06 03:42:46 +00:00
Jong Hyuk Choi
cc5e417234
second level interval support, interval=dd:hh:mm:ss
...
changed the test scripts and test conf files accordingly
2003-11-05 16:10:43 +00:00
Howard Chu
d46195d08d
ITS#2805 fix core dump using LDBM
2003-11-03 09:54:28 +00:00
Howard Chu
ccf224a759
ITS#2808 fix UUIDNormalize, use it.
2003-11-03 08:22:13 +00:00
Howard Chu
f2e1d7434b
Fix ASCII_HEX tests
2003-11-03 07:00:16 +00:00
Howard Chu
8acb1a0466
Fix refresh mode rescheduling
2003-11-03 06:57:13 +00:00
Howard Chu
fab84134ba
ITS#2806 fix abort
2003-11-01 23:03:44 +00:00
Kurt Zeilenga
80fa73bf8c
Update entryUUID to latest draft specification
2003-10-31 17:41:31 +00:00
Hallvard Furuseth
701f6b9d5d
cast isdigit argument to unsigned char.
2003-10-30 22:55:02 +00:00
Kurt Zeilenga
4eb36216db
ITS#2801: fix str2entry trace
2003-10-30 22:45:18 +00:00
Kurt Zeilenga
b1a1f46d64
cleanup
2003-10-30 22:44:45 +00:00
Howard Chu
5ed0318b79
Fix retry on failure
2003-10-25 22:07:31 +00:00
Howard Chu
782d1be0ad
Fix prev commit, don't timeout outbound connections
2003-10-25 21:14:07 +00:00
Pierangelo Masarati
b51cd87a22
this should be the intended behavior
2003-10-25 16:32:17 +00:00
Kurt Zeilenga
c7f1e6e83c
More naming checks
2003-10-25 02:26:19 +00:00
Kurt Zeilenga
9e7749541b
Provide more descriptive naming violation error messages
2003-10-25 01:40:55 +00:00
Kurt Zeilenga
802671cad7
fix compile error
2003-10-24 17:34:33 +00:00
Howard Chu
941d1e5c72
Outbound connection management
2003-10-24 12:58:13 +00:00
Howard Chu
08676eb49d
Add support for outbound connections in main listener.
...
Restructure syncrepl/persist to use outbound connection manager.
2003-10-24 12:57:24 +00:00
Howard Chu
645c2bcb02
Drop unused arguments from syncrepl_add_glue
2003-10-24 08:10:16 +00:00
Howard Chu
f9a8093c83
Drop SLAPI support
2003-10-24 06:06:55 +00:00
Howard Chu
df74409d97
Fix prev commit
2003-10-24 06:01:55 +00:00
Howard Chu
01f7a7466b
SLAPI fix - no-op when slapi_plugins_used == 0
2003-10-24 05:58:42 +00:00
Kurt Zeilenga
d0c05e814d
Add a basic DIT content rule test.
...
Fix DIT rules to allow extensibleObject in AUX
unifdef -DSLAP_EXTENDED_SCHEMA
2003-10-24 04:40:32 +00:00
Howard Chu
ac7404eabd
Fix error recovery, cleanup session handles. Always reschedule task
...
at end of do_syncrepl; this fixes the problem of syncrepl never starting
if the master isn't up. Set sync interval to 60 seconds in persist mode;
it will retry connecting to the master when the master isn't up. Fail on
SASL at config time instead of at runtime when SASL is not enabled.
2003-10-24 04:11:28 +00:00
Howard Chu
7126ccf569
Fix caseExact/caseIgnore IA5 normalization
2003-10-23 05:28:22 +00:00
Howard Chu
bd1356f01e
ITS#2781 don't worry about missing updateref if SLAPD_MULTIMASTER
2003-10-23 01:50:12 +00:00
Howard Chu
b0a1f2e956
(clean up o_groups anyway)
2003-10-23 01:30:54 +00:00
Howard Chu
6ad5fd16ca
Use tmpmem for group cache, doesn't need cleanup
2003-10-23 01:29:56 +00:00
Howard Chu
102d8159a7
ITS#2779, cache group ACLs per operation instead of per-connection
2003-10-23 01:23:45 +00:00
Kurt Zeilenga
e81d17e357
cleanup
2003-10-23 01:16:06 +00:00
Kurt Zeilenga
25f2985024
Don't return garbage when plist is empty.
2003-10-23 01:15:36 +00:00
Howard Chu
942320dca1
Fix dnPrettyNormalize mem usage
2003-10-22 10:35:49 +00:00
Howard Chu
72ace288e8
Fix prev commit, avoid abort when entry is NULL
2003-10-22 07:57:25 +00:00
Howard Chu
95a5866965
Shortcut syncrepl candidate selection if CSN is up to date
2003-10-22 07:53:28 +00:00
Jong Hyuk Choi
11e23f6903
syncrepl_entry() return code fix (returns 1 when e needs to be freed)
2003-10-22 06:28:34 +00:00
Kurt Zeilenga
ce4b199485
Syncrepl code cleanup (namely prefix struct field names)
2003-10-22 05:19:30 +00:00
Jong Hyuk Choi
8b8383a85d
fix for changing si->syncCookie to bvarray
2003-10-21 22:02:30 +00:00
Howard Chu
ab2a7195d0
Fix cookie search
2003-10-21 08:26:58 +00:00
Kurt Zeilenga
4821c2c6ed
Avoid questionable use of strlen(), strcpy(), and strcat().
2003-10-20 22:23:11 +00:00
Howard Chu
7710791382
ITS#2684 keep psearch operations on the connection's active list so they
...
can be located by connection_abandon() during an unexpected close. Remove
the operations in bdb_abandon() etc.
2003-10-19 11:20:34 +00:00
Howard Chu
56498a59dd
ITS#2780, redundant cache add
2003-10-19 09:55:31 +00:00
Howard Chu
91ebcd87bd
Fix prev commit, syncrepl_add_glue must start from sufix
2003-10-19 08:57:30 +00:00