Commit Graph

8684 Commits

Author SHA1 Message Date
Howard Chu
b7351c66bc ITS#2511 use %p to log pointer values 2003-05-14 13:54:15 +00:00
Howard Chu
8e8fbe0908 Fix ldap_get_attribute_ber to get values in-place.
Revert previous memleak fix in ldapsearch.c
2003-05-14 13:16:56 +00:00
Luke Howard
ac7ac5acef Don't crash if attr_find() fails (Howard, you might like to review this) 2003-05-14 07:25:00 +00:00
Luke Howard
eed45f454c Fix content rule validation code -- don't use validation result variable
as an iterator!
2003-05-14 05:29:46 +00:00
Howard Chu
1e49fdc634 ITS#2507, fix *_candidates error return values 2003-05-13 11:39:14 +00:00
Howard Chu
190f161d74 Optimize modify_internal, only reindex the actual modified values, not
the entire attribute.
2003-05-13 03:09:48 +00:00
Howard Chu
9e8bbf129f Fix prev commit, must passthru precomputed scopes 2003-05-13 02:44:22 +00:00
Howard Chu
fb52e37e06 ITS#2506 - fix prev patch, don't ignore undefined filters. treat as False,
test_filter will never match them anyway.
2003-05-13 01:16:26 +00:00
Howard Chu
b6ef8c1876 ITS#2505 - make sr_strings per-op instead of static 2003-05-12 23:57:19 +00:00
Howard Chu
7a720d4b40 plug memleak in alternate print_entry() 2003-05-12 14:29:35 +00:00
Howard Chu
574ca540d4 Revert prev commit 2003-05-11 10:09:51 +00:00
Howard Chu
236321ce9c Plug leak in hdb 2003-05-11 08:42:58 +00:00
Howard Chu
6aa3637545 Added SLAP_TOOL_READMAIN and SLAP_TOOL_READONLY slapMode flags. The rw
arg to tool_entry_open comes too late for back-bdb to use.
2003-05-11 07:03:48 +00:00
Howard Chu
2d22e02ef9 Another idle time tweak 2003-05-11 06:06:22 +00:00
Howard Chu
c84c133c90 Plug mem leak in slapindex 2003-05-10 03:56:01 +00:00
Howard Chu
399572ba50 For ITS#2502 - force release of locks on exiting threads 2003-05-09 22:30:28 +00:00
Kurt Zeilenga
7193d3dd21 rm cruft 2003-05-09 22:12:07 +00:00
Jong Hyuk Choi
5c927a2fcf -Test only valid for bdb 2003-05-09 20:08:08 +00:00
Jong Hyuk Choi
ca1da5b89a -reenabling LDAP_CACHING 2003-05-09 16:48:50 +00:00
Jong Hyuk Choi
986bcd52a9 -syncUUID search in syncrepl
-test017-syncreplication
2003-05-09 06:50:44 +00:00
Kurt Zeilenga
92b99a4133 Add a few more "nice to haves" 2003-05-09 02:12:42 +00:00
Pierangelo Masarati
f2dfb55780 now LDAP_CACHING can be enabled again; not sure it works, though 2003-05-09 00:36:31 +00:00
Jong Hyuk Choi
35d1bd68b9 runqueue restructuring 2003-05-07 23:52:08 +00:00
Jong Hyuk Choi
580ae073e1 runqueue update 2003-05-07 22:29:26 +00:00
Kurt Zeilenga
e64bb13148 minor tweak 2003-05-07 22:22:21 +00:00
Jong Hyuk Choi
45776bff04 a runqueue for periodic thread execution (for syncrepl) 2003-05-07 02:06:01 +00:00
Kurt Zeilenga
2ed0725491 Fix typo in last commit 2003-05-06 15:00:58 +00:00
Kurt Zeilenga
ecb17fc30e ITS#2486: plug leak 2003-05-05 17:35:59 +00:00
Kurt Zeilenga
5d2b493ff3 Blind fix for NGROUPS Tru64 5.1 bug (ITS#2485) 2003-05-05 17:29:26 +00:00
Jong Hyuk Choi
6b0e1b39e5 temporarily disable LDAP_CACHING (till API update) 2003-05-05 16:03:59 +00:00
Luke Howard
8fd23795f8 Don't crash slapi_filter_get_subfilt() if no "any" filter 2003-05-05 10:23:33 +00:00
Luke Howard
1b3007c22c Content rule logic fix 2003-05-05 09:17:10 +00:00
Luke Howard
13f0acfb6a Don't crash if no attributes in slapi_attr_value_find() 2003-05-04 16:59:10 +00:00
Pierangelo Masarati
0864531e58 add network timeout (ITS#2413 reworked) 2003-05-03 11:30:38 +00:00
Luke Howard
8c880563ba Add slapi_x_filter_append(), as a replacement for slapi_filter_join() that
can create compound filters containing multiple filters. Have proposed API
to Sun DS team; until then it should likely be marked LDAP_DEVEL (if SLAPI
is not entirely marked as such already).
2003-05-03 04:16:02 +00:00
Luke Howard
83cb1037a4 Fix slapi_filter_join() behavioural bug.
Fix slapi_filter_dup() crasher.

Add slapi_x_filter_append(), as a replacement for slapi_filter_join() that
can create compound filters containing multiple filters. Will propose API
to Sun DS team; until then it should likely be marked LDAP_DEVEL (if SLAPI
is not entirely marked as such already).
2003-05-03 04:15:35 +00:00
Kurt Zeilenga
a82a6d8403 Junk 2003-05-02 22:14:09 +00:00
Kurt Zeilenga
d2840928c6 Remove junk 2003-05-02 22:12:07 +00:00
Jong Hyuk Choi
9543844d39 strdup cleanup 2003-05-02 18:00:33 +00:00
Howard Chu
2d5d4ecffa ITS#2480 uninit'd vars 2003-05-02 13:38:16 +00:00
Hallvard Furuseth
5ee9264465 Fix assignment of <char/int>* to unsigned <char/int>* and vice versa. 2003-05-02 13:29:28 +00:00
Hallvard Furuseth
c5d60fc043 ctrls[] was initialized with which non-constants. 2003-05-02 13:26:25 +00:00
Hallvard Furuseth
a632038df9 Entry *e could be freed uninitialized after goto return_results; 2003-05-02 13:24:44 +00:00
Hallvard Furuseth
c46cd36088 Insert missing %s in printf format to print ldap_err2string(). 2003-05-02 13:13:30 +00:00
Hallvard Furuseth
3420d12bdc Fix printf/Debug format arguments. 2003-05-02 13:08:47 +00:00
Howard Chu
a54549f1d5 Use pthread_equal to compare thread IDs 2003-05-02 12:23:31 +00:00
Jong Hyuk Choi
e8cd5c2386 - LDAP_SYNCREPL defined in include/ldap.h
- add "updatedn" to the replication specification
- return referral to update to the slave server
2003-05-01 23:39:29 +00:00
Howard Chu
759996c6e9 Fix HDB search_aliases crash, cleanup search scope processing: call dn2idl
directly instead of going thru filter_candidates. Use hdb_ function prefix
in dn2id.c to avoid ambiguities...
2003-05-01 11:59:08 +00:00
Luke Howard
bb9d3ff304 Fix build breakage 2003-05-01 10:13:46 +00:00
Howard Chu
0e8b176d1f Fix prev commit 2003-05-01 09:50:40 +00:00