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
Howard Chu
b144ca2169
ITS#2684 fix bogus entry_free(), connection problem remains
2003-10-19 04:42:02 +00:00
Howard Chu
f0c8dcc331
ITS#2778 use real malloc for new entry, not sl_malloc
2003-10-19 02:18:38 +00:00
Howard Chu
08407b5b00
More malloc cleanup
2003-10-19 00:30:55 +00:00
Luke Howard
a7619c4ce9
Return duplicated entry from entry_dup() - interesting that
...
this was actually working when compiling without optimization
2003-10-18 15:07:51 +00:00
Howard Chu
b6835be962
ITS#2747, Reorganize syncrepl, fix some memleaks. More remain.
2003-10-18 14:13:37 +00:00
Kurt Zeilenga
aa225c2c70
Explicitly mark attribute/assertion syntax of values to be normalized
2003-10-18 06:18:05 +00:00
Howard Chu
dee604c608
ITS#2771 fix memory usage in LDAPDN_rewrite, fix normalizer
2003-10-18 05:49:58 +00:00
Kurt Zeilenga
c57db6c33e
Add basic support for certificateMatch (as an extensible matching rule)
2003-10-18 04:20:19 +00:00
Kurt Zeilenga
3fbe93c704
Rework support for certificate exact matching based, in part,
...
on patch submitted by Mark Ruijter <openldap@siennax.com>.
This addresses (hopefully) ITS 2702, 2703, 2719, 2771.
Additional work:
fix extraneous frees in libldap/getdn.c x509 rewrite routine
indexing
2003-10-18 02:39:08 +00:00
Kurt Zeilenga
e3a0148328
Fix modify attrs= overflow bug
2003-10-18 02:33:15 +00:00
Kurt Zeilenga
3f523b4303
Add a trace message to dnX509normalize
2003-10-17 22:38:19 +00:00
Howard Chu
4c5c632d70
ITS#2769 - NT SIGBREAK handling
2003-10-15 12:16:35 +00:00
Kurt Zeilenga
81ed052186
Improve printing of ACLs
2003-10-15 07:48:01 +00:00
Jong Hyuk Choi
9d59b5a41c
ITS #2766 (remove slap_syncrepl_bvc & slap_syncrepl_cn_bvc from proto-slap.h)
2003-10-14 20:40:44 +00:00
Jong Hyuk Choi
13f981fdd4
remove #include <db.h> (ITS#2765)
2003-10-14 20:22:09 +00:00
Jong Hyuk Choi
490d9e55d4
fix slap_syncrepl_cn_bv
2003-10-14 16:26:01 +00:00
Jong Hyuk Choi
35455699e7
rq_mutex placing fix
2003-10-13 14:08:55 +00:00
Kurt Zeilenga
2d910bf1f8
Fix pdn assert
2003-10-12 22:34:14 +00:00
Jong Hyuk Choi
85ff0377d2
runqueue locking fix (ITS#2746)
2003-10-12 09:13:04 +00:00
Kurt Zeilenga
4f003dbdaf
mv ldap_int_get_controls to ldap_pvt_get_controls
2003-10-12 08:14:28 +00:00
Kurt Zeilenga
10622b1d0a
Further cleanup last commit.
2003-10-12 07:31:31 +00:00
Kurt Zeilenga
535c221599
Tentative fix for last comment (tests still running)
2003-10-12 07:19:27 +00:00
Kurt Zeilenga
dfcd732813
ITS#2757: fix parent-less add bug
2003-10-12 06:32:44 +00:00
Kurt Zeilenga
71f484bad8
Finish off berbuf fix
2003-10-12 06:07:02 +00:00
Kurt Zeilenga
767cf365ea
Initial fix for berbuf alignment bug (ITS#2760)
...
Needs to be applied to other stack allocated berbufs.
2003-10-12 04:45:09 +00:00