Howard Chu
|
9bf03e0e7c
|
Silence warning
|
2007-11-21 02:52:53 +00:00 |
|
Howard Chu
|
7d060ec8fa
|
ITS#5215 fix Windows slapd.def rules
|
2007-11-20 15:10:52 +00:00 |
|
Howard Chu
|
8429013957
|
Fix test050
|
2007-11-20 14:56:20 +00:00 |
|
Howard Chu
|
f08b26adbc
|
ITS#5183 - better delete index handling
|
2007-11-20 12:06:28 +00:00 |
|
Howard Chu
|
529f818f2b
|
Fix typos
|
2007-11-19 22:17:45 +00:00 |
|
Howard Chu
|
e6568f61b5
|
ITS#5232 report and fail on internal errors
|
2007-11-18 21:49:04 +00:00 |
|
Howard Chu
|
d84f8d9b71
|
Fix prev commit
|
2007-11-18 21:48:26 +00:00 |
|
Howard Chu
|
02f29d51c6
|
ITS#5183 preliminary fix - this whole approach needs re-design
|
2007-11-18 20:50:20 +00:00 |
|
Pierangelo Masarati
|
16460ccbde
|
sync 'c' with RFC4519 (ITS#5236)
|
2007-11-17 13:50:49 +00:00 |
|
Pierangelo Masarati
|
3c6714051e
|
let c_conn_idx be -1 (ITS#5235?)
|
2007-11-17 13:39:19 +00:00 |
|
Pierangelo Masarati
|
d1560750b4
|
treat empty as NULL
|
2007-11-15 22:50:27 +00:00 |
|
Howard Chu
|
89c6b39738
|
Fix rev 1.266, was creating {0}config entry prematurely.
|
2007-11-14 01:28:29 +00:00 |
|
Howard Chu
|
d3531c6d79
|
Eliminate unnecessary Op copies
|
2007-11-13 01:35:58 +00:00 |
|
Howard Chu
|
0e3db5ac3e
|
ITS#4889 fix search. remainder of code needs similar work.
|
2007-11-13 01:22:45 +00:00 |
|
Howard Chu
|
82d4844b81
|
ITS#5231 don't maintain presentlist for entries added in Persist phase
|
2007-11-12 14:38:34 +00:00 |
|
Howard Chu
|
1569fae109
|
Fix prev commit, broke test033
|
2007-11-12 12:16:05 +00:00 |
|
Howard Chu
|
74f54320cd
|
Fix pagedresults resume
|
2007-11-12 11:45:12 +00:00 |
|
Howard Chu
|
7aeb9bf621
|
Fix unlock in prev commit
|
2007-11-12 11:41:45 +00:00 |
|
Howard Chu
|
b4bcc325ee
|
Cache-thrashing protection: if the DB has more entries than the cache,
don't allow large search operations that touch more entries churn the
existing cached entries.
|
2007-11-12 11:16:30 +00:00 |
|
Howard Chu
|
eea5e60bf0
|
Tweak entry parent check
|
2007-11-12 11:14:55 +00:00 |
|
Howard Chu
|
caac5b76fb
|
Cleanup debug msgs
|
2007-11-12 08:34:55 +00:00 |
|
Howard Chu
|
33162c1aef
|
ITS#5230 fix slimit for rootDN w/pagedresults
|
2007-11-12 08:14:50 +00:00 |
|
Howard Chu
|
f8588ff0c3
|
ITS#5225 fix contextCSN updating
|
2007-11-12 03:50:31 +00:00 |
|
Quanah Gibson-Mount
|
9602d401a5
|
cleanup
|
2007-11-11 20:32:18 +00:00 |
|
Howard Chu
|
b8ab61d2ee
|
More for ITS#5212 make conditional explicit
|
2007-11-09 07:28:42 +00:00 |
|
Ralf Haferkamp
|
488af9daa2
|
Fix op->o_abandon handling. Use fake connection to add results to the cache (ITS#5187)
|
2007-11-08 15:43:42 +00:00 |
|
Howard Chu
|
18db111c6b
|
Fix prev commit
|
2007-11-07 04:59:03 +00:00 |
|
Howard Chu
|
8f56be2ce8
|
ITS#5146 better check for single val in modify
|
2007-11-07 04:58:07 +00:00 |
|
Howard Chu
|
0f1bad6fb0
|
ITS#5186 check for multiple suffixes at config time, not open time
|
2007-11-07 04:31:06 +00:00 |
|
Howard Chu
|
33616c51d6
|
fix prev commit (ITS#5212)
|
2007-11-07 04:02:21 +00:00 |
|
Howard Chu
|
f8ad90167b
|
ITS#5209 sasl_host may be different from global_host
|
2007-11-05 09:30:40 +00:00 |
|
Howard Chu
|
005209bfe1
|
ITS#5211 spec says we must ignore invalid cookies
|
2007-11-04 12:34:41 +00:00 |
|
Howard Chu
|
528a30fe87
|
More for prev commit, ITS#5120.
|
2007-11-02 16:40:42 +00:00 |
|
Howard Chu
|
b6570cf867
|
Don't send cookie at end of refresh if nothing changed in refreshAndPersist
|
2007-11-02 00:25:11 +00:00 |
|
Howard Chu
|
8bc46e741a
|
ITS#5191 do all pagedresult control parsing in the frontend, don't
re-parse in the backend. Keep track of pagedresult controls and state
in backglue.
|
2007-11-01 15:11:22 +00:00 |
|
Howard Chu
|
233632fa04
|
Use per-thread slap_counters to eliminate lock contention
|
2007-10-25 08:45:00 +00:00 |
|
Howard Chu
|
a9d35da834
|
Repack Connection structure for alignment
|
2007-10-25 04:29:46 +00:00 |
|
Howard Chu
|
68ebee4726
|
Concurrency tweaks:
store conn->c_sd, don't use ber_sockbuf_ctrl to retrieve it.
use per-thread free lists for operations, no mutexes needed.
|
2007-10-25 02:22:40 +00:00 |
|
Pierangelo Masarati
|
a6a584eaa8
|
further fix of double free (ITS#4860)
|
2007-10-24 10:34:43 +00:00 |
|
Pierangelo Masarati
|
2069092aa5
|
don't compute lengths twice
|
2007-10-24 10:34:04 +00:00 |
|
Howard Chu
|
b9f012377a
|
ITS#5197 fully revert prev commit, use thr_stub
|
2007-10-23 21:14:39 +00:00 |
|
Howard Chu
|
faa76b761d
|
Forced commit, partially revert prev commit
|
2007-10-23 20:57:13 +00:00 |
|
Howard Chu
|
3877fc9359
|
ITS#5197 don't check thread pool if NO_THREADS
|
2007-10-23 20:55:28 +00:00 |
|
Howard Chu
|
d7535d4ddc
|
ITS#5189 revert index.c 1.67, just catch LDAP_OTHER
|
2007-10-23 00:25:51 +00:00 |
|
Howard Chu
|
bb1d8dfcd7
|
Fix prev commit, include errno.h
|
2007-10-23 00:05:03 +00:00 |
|
Howard Chu
|
9965fc5f60
|
ITS#5189 recognize ENOMEM
|
2007-10-23 00:03:56 +00:00 |
|
Howard Chu
|
7404384766
|
Fix typo
|
2007-10-22 09:14:56 +00:00 |
|
Howard Chu
|
38953e2f2c
|
Fix depend dependency for parallel make
|
2007-10-20 04:29:11 +00:00 |
|
Howard Chu
|
874ddbebe9
|
Fix depend/.links dependency for parallel make
|
2007-10-20 04:24:15 +00:00 |
|
Howard Chu
|
539109e4f0
|
Fix prev commit, only defer open for online Add
|
2007-10-16 16:25:56 +00:00 |
|
Howard Chu
|
43359bb02f
|
Don't leak logfiles
|
2007-10-16 00:59:39 +00:00 |
|
Howard Chu
|
e63ac9ac9e
|
Fix error message propagation
|
2007-10-15 10:22:51 +00:00 |
|
Howard Chu
|
a8ba9e2131
|
Check DB directory validity at config time
|
2007-10-15 10:17:04 +00:00 |
|
Howard Chu
|
e9749fcd7b
|
Revert prev commit, bogus
|
2007-10-15 10:16:36 +00:00 |
|
Howard Chu
|
d796273e8f
|
Save return code from cleanup handler
|
2007-10-15 09:56:03 +00:00 |
|
Howard Chu
|
f74d9f6099
|
Partial revert from 1.246, not sure what's the point
|
2007-10-15 09:38:25 +00:00 |
|
Pierangelo Masarati
|
e25169ccce
|
set BINDING appropriately (ITS#5185)
|
2007-10-13 10:13:38 +00:00 |
|
Pierangelo Masarati
|
b6508a1066
|
fix dirsep's in DN (ITS#5172)
|
2007-10-10 18:50:20 +00:00 |
|
Howard Chu
|
a79bc9195d
|
ITS#5177 pass new entries in search_response for Persist mode
|
2007-10-08 18:13:29 +00:00 |
|
Howard Chu
|
8bb39495c7
|
Fix unprotected checks for psearches
|
2007-10-08 13:59:33 +00:00 |
|
Howard Chu
|
d2f75ebaa5
|
Plug leak
|
2007-10-08 13:28:25 +00:00 |
|
Howard Chu
|
883ac70a36
|
Tweak ACL cache messages
|
2007-10-08 12:52:26 +00:00 |
|
Pierangelo Masarati
|
6706ed5d06
|
fix ordering of items on objectClass definition (ITS#5174)
|
2007-10-08 10:38:11 +00:00 |
|
Howard Chu
|
ade1fcff20
|
ITS#5173 simplify defer open behavior
|
2007-10-08 07:37:53 +00:00 |
|
Howard Chu
|
2659caf322
|
ITS#5173 fix for dynamic add in cn=config
|
2007-10-08 07:13:58 +00:00 |
|
Howard Chu
|
dbcf98b4d9
|
Refuse to operate on cacheDB if it hasn't been started yet
|
2007-10-08 06:34:57 +00:00 |
|
Howard Chu
|
e60536c04a
|
Fix for dynamic adds
|
2007-10-08 06:21:13 +00:00 |
|
Howard Chu
|
ec7a05adff
|
Check for cleanup on Adds, not just Modifies
|
2007-10-08 06:19:50 +00:00 |
|
Howard Chu
|
f0468901c6
|
ITS#4884 fix prev commit
|
2007-10-08 05:41:44 +00:00 |
|
Howard Chu
|
a1a63bead0
|
ITS#4188 check for pool pause every 64 entries. (probably should make
this number tunable.)
|
2007-10-08 01:15:49 +00:00 |
|
Howard Chu
|
c103b3c9e9
|
ITS#3864 use sasl_ssf_t where expected
|
2007-10-06 14:50:02 +00:00 |
|
Howard Chu
|
c406042fd6
|
ITS#5072 fix issuer format, use uppercase hex per RFC3641
|
2007-10-05 11:27:20 +00:00 |
|
Pierangelo Masarati
|
c2bbd6d5e7
|
fix typing warnings
|
2007-10-05 10:06:20 +00:00 |
|
Pierangelo Masarati
|
617bd11452
|
de-normalize simple filter values consistently
|
2007-10-05 09:49:19 +00:00 |
|
Pierangelo Masarati
|
c3c3c9c16b
|
support de-normalization
|
2007-10-05 09:26:48 +00:00 |
|
Howard Chu
|
3a1b56192d
|
Fix syncrepl_entry to propagate cookieCSN when present
|
2007-10-05 09:03:44 +00:00 |
|
Pierangelo Masarati
|
7c6c734226
|
fix previous commit (didn't have coffee yet :()
|
2007-10-05 08:34:03 +00:00 |
|
Pierangelo Masarati
|
f7d274e672
|
for consistency, always represent UUIDs correctly (ITS#5168; really, a de-normalize hook would help)
|
2007-10-05 08:24:36 +00:00 |
|
Pierangelo Masarati
|
55a988831a
|
ITS#5168 also affects back-meta
|
2007-10-04 22:18:34 +00:00 |
|
Pierangelo Masarati
|
4cf03ca277
|
fix ITS#5168 (a better fix would probably be a generic handler to de-normalize values)
|
2007-10-04 21:53:49 +00:00 |
|
Howard Chu
|
4c4cb4921b
|
ITS#5060 take care of entry cleanup when using
pblock_set(SLAPI_SEARCH_RESULT_ENTRY)
|
2007-10-03 09:40:08 +00:00 |
|
Howard Chu
|
ae0c57a420
|
ITS#5164 lack of a db_open handler is not an error
|
2007-10-03 09:00:41 +00:00 |
|
Howard Chu
|
a2a83fe239
|
From ITS#5164 - treat monitoredInfo normalization consistently, don't
crash if SLAPI plugin doesn't register a description
|
2007-10-03 08:59:37 +00:00 |
|
Howard Chu
|
9dc35b8997
|
Don't queue zero-length CSNs
|
2007-10-02 23:51:40 +00:00 |
|
Pierangelo Masarati
|
471cd1d848
|
s/strtoul/strtol/ (ITS#5165)
|
2007-10-02 23:45:50 +00:00 |
|
Pierangelo Masarati
|
5653ab8338
|
don't malloc the berval separately for presentlist
|
2007-10-02 23:26:04 +00:00 |
|
Pierangelo Masarati
|
122b184a32
|
also log cookie parsing
|
2007-10-02 18:39:43 +00:00 |
|
Pierangelo Masarati
|
14bcd332ce
|
log cookie (until we find what's going on...)
|
2007-10-02 18:09:15 +00:00 |
|
Pierangelo Masarati
|
cf2cee553e
|
back out hex RID
|
2007-10-02 18:08:41 +00:00 |
|
Howard Chu
|
396b22cfe2
|
Fix uninit'd ld in prev commit (coverity)
|
2007-10-02 13:31:27 +00:00 |
|
Howard Chu
|
925e92dcc9
|
certificateExactNormalize - only check serial encoding if len > 1
|
2007-10-01 16:32:30 +00:00 |
|
Pierangelo Masarati
|
05d2ce40b9
|
s/%d/%x/
|
2007-10-01 16:28:27 +00:00 |
|
Howard Chu
|
291c8d9bd8
|
ITS#5070 unify serialNumberAndIssuer validation
|
2007-10-01 08:43:56 +00:00 |
|
Howard Chu
|
4ad821910c
|
ITS#5070 use lutil_str2bin() for certificate serialNumbers
Still need to fix serialNumberAndIssuerPretty to accept hex
|
2007-10-01 06:55:02 +00:00 |
|
Pierangelo Masarati
|
2de9d97ad2
|
first round of s/sprintf/snprintf/; the rationale is: truncate error messages rather than buffer overflow; otherwise, assert that no buffer overflow occurred. In some cases, error handling could be added. Please note: no real error in the code was found so far, apart from that in syncprov.c and from some config-time error logging; however, errors could slip thru again if things don't change consistently
|
2007-09-29 17:55:33 +00:00 |
|
Pierangelo Masarati
|
e4036af0c8
|
remove potential buffer overflow, now that rids can be up to 4096
|
2007-09-29 16:11:28 +00:00 |
|
Pierangelo Masarati
|
fedcbe9a41
|
better fix for ITS#5154
|
2007-09-29 11:45:37 +00:00 |
|
Howard Chu
|
37e295f269
|
ITS#5070 again, use [-]0x123456789abcdef for big int serial numbers
|
2007-09-29 09:50:54 +00:00 |
|
Pierangelo Masarati
|
24db207196
|
check for ee == NULL
|
2007-09-26 22:37:35 +00:00 |
|
Pierangelo Masarati
|
a0d26ada9c
|
plug leak (ITS#5155)
|
2007-09-26 22:10:16 +00:00 |
|
Pierangelo Masarati
|
ebf7338b8b
|
temporary fix to ITS#5154
|
2007-09-26 20:57:25 +00:00 |
|
Howard Chu
|
9fd4a8582a
|
coverity - a->a_nvals may be NULL
|
2007-09-26 20:26:03 +00:00 |
|
Howard Chu
|
c428a16332
|
coverity - init i
|
2007-09-26 20:21:53 +00:00 |
|
Howard Chu
|
2f3bf07285
|
init rc
|
2007-09-26 20:17:48 +00:00 |
|
Ralf Haferkamp
|
3d1df12527
|
set mod->sm_numvals
|
2007-09-26 01:59:24 +00:00 |
|
Howard Chu
|
81db5651da
|
ITS#5153 fix prev commit, ordering matches can be done in O(1) instead
of O(logn)
|
2007-09-25 05:46:12 +00:00 |
|
Howard Chu
|
d322eb96c3
|
ITS#5151 fix CertificateListValidate
|
2007-09-24 07:55:56 +00:00 |
|
Howard Chu
|
f1065e1780
|
Remove special cases for BigNums in certificateExactNormalize, just
use hex when serial is larger than int. Normalized values need to be
consistent regardless of compile-time environment...
|
2007-09-24 06:26:36 +00:00 |
|
Howard Chu
|
9dd2fbcba6
|
Log the attribute that failed normalization
|
2007-09-24 06:25:34 +00:00 |
|
Howard Chu
|
0f2b1d551b
|
More for Mod.sm_numvals
|
2007-09-24 05:30:53 +00:00 |
|
Howard Chu
|
dcaa5a27f5
|
Partially revert prev commit, unintended.
|
2007-09-24 05:30:36 +00:00 |
|
Howard Chu
|
d2179d885f
|
Use attr_valfind instead of value_find_ex to optimize lookups
|
2007-09-24 05:02:31 +00:00 |
|
Howard Chu
|
e8c2414831
|
Preliminary sorted value support
|
2007-09-24 01:31:23 +00:00 |
|
Howard Chu
|
ebb9e029a7
|
Make slap_passwd_parse non-destructive
|
2007-09-23 04:40:51 +00:00 |
|
Howard Chu
|
a3547e2758
|
More for a_numvals
|
2007-09-23 04:40:16 +00:00 |
|
Howard Chu
|
75df004a04
|
Use OLcfgCt{Oc|At} arc for contrib modules
|
2007-09-22 23:58:54 +00:00 |
|
Hallvard Furuseth
|
aad6555340
|
Update last change: lutil_atoul() -> lutil_atou() for csnsid.
|
2007-09-21 13:11:39 +00:00 |
|
Hallvard Furuseth
|
cea5e5664d
|
assert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL).
|
2007-09-21 13:02:36 +00:00 |
|
Hallvard Furuseth
|
8b7fd262b8
|
Cast away const
|
2007-09-21 12:58:34 +00:00 |
|
Howard Chu
|
8c6d828a1f
|
More for Modification value counter
|
2007-09-21 09:34:31 +00:00 |
|
Howard Chu
|
c4dbe1a274
|
Attribute/Modification value counters
|
2007-09-21 08:43:56 +00:00 |
|
Ralf Haferkamp
|
b99749aba4
|
Use rwlock for CachedQuery to avoid returning incomplete results (ITS#5113)
|
2007-09-20 17:23:56 +00:00 |
|
Ralf Haferkamp
|
af7f86a2cd
|
Fixed memory leak in pcache. Cache is now populated in cleanup handler.
ITS#5112
|
2007-09-20 16:15:23 +00:00 |
|
Howard Chu
|
9281472144
|
Add comment for prev commit
|
2007-09-15 23:40:34 +00:00 |
|
Howard Chu
|
3dfab875e8
|
Fix prev commit
|
2007-09-15 23:38:12 +00:00 |
|
Pierangelo Masarati
|
43c00ab486
|
fix previous commit
|
2007-09-15 18:03:55 +00:00 |
|
Pierangelo Masarati
|
d92e8ad1f7
|
add helper for internal searchs for objectClass=*
|
2007-09-15 17:38:53 +00:00 |
|
Pierangelo Masarati
|
eb51129e29
|
alloc temporaries on slab
|
2007-09-15 17:33:59 +00:00 |
|
Pierangelo Masarati
|
d1c4d6481f
|
further fix ITS#5138 (please review)
|
2007-09-15 17:30:07 +00:00 |
|
Pierangelo Masarati
|
5569180736
|
draft-wahl-ldap-session: append further instances of the control
|
2007-09-15 17:26:09 +00:00 |
|
Pierangelo Masarati
|
06e6e6c053
|
apply Howard's cleanup of database monitoring registration
|
2007-09-15 15:34:49 +00:00 |
|
Howard Chu
|
5cd816f4eb
|
ITS#5138 don't scan past the sequence of attributes
|
2007-09-15 03:08:32 +00:00 |
|
Pierangelo Masarati
|
9c5c20b1b9
|
fix potential double-free (valgrind; ITS#5137)
|
2007-09-14 23:58:00 +00:00 |
|
Pierangelo Masarati
|
9f36fafe55
|
add more sanity checks (ITS#5136)
|
2007-09-14 23:25:15 +00:00 |
|
Pierangelo Masarati
|
927efd4a94
|
fix ITS#5136
|
2007-09-14 23:14:33 +00:00 |
|
Pierangelo Masarati
|
76974d412a
|
add support for dgAuthz --- see discussion on -devel
|
2007-09-14 22:42:16 +00:00 |
|
Pierangelo Masarati
|
f7bda3be0a
|
release entry (ITS#5135)
|
2007-09-14 22:39:49 +00:00 |
|
Pierangelo Masarati
|
e48e3e7503
|
remove unused code
|
2007-09-14 22:24:21 +00:00 |
|
Pierangelo Masarati
|
1845f1b951
|
fix double free - related to ITS#4860 and probably ITS#4873
|
2007-09-13 22:39:33 +00:00 |
|
Pierangelo Masarati
|
60b03d4103
|
don't leak in case of error
|
2007-09-13 18:47:36 +00:00 |
|
Pierangelo Masarati
|
d6baaffbec
|
HEADS-UP: now the list of URIs is better set by using separate arguments
|
2007-09-13 18:34:04 +00:00 |
|
Pierangelo Masarati
|
af9e17379b
|
further rework URI parsing
|
2007-09-13 17:55:45 +00:00 |
|
Pierangelo Masarati
|
6d38af2689
|
improve error message
|
2007-09-13 17:54:49 +00:00 |
|
Pierangelo Masarati
|
a09b4c5f20
|
log unknown message type
|
2007-09-13 17:54:15 +00:00 |
|
Pierangelo Masarati
|
202080dfa1
|
enable unindexed searches monitoring ifdef LDAP_DEVEL
|
2007-09-12 21:26:10 +00:00 |
|
Pierangelo Masarati
|
1157b6dc6a
|
handle sizelimit in caching (in partial fulfilment of ITS#5114)
|
2007-09-12 21:09:04 +00:00 |
|
Howard Chu
|
aec54643c2
|
Don't populate member list unless it was requested
|
2007-09-11 14:10:50 +00:00 |
|
Pierangelo Masarati
|
a4b1ba0b5f
|
use /-* for all parents; ignore /-0; check syntax; better parsing
|
2007-09-10 22:29:10 +00:00 |
|
Pierangelo Masarati
|
4137870344
|
handle empty set, empty string special cases
|
2007-09-10 21:58:12 +00:00 |
|
Pierangelo Masarati
|
1e0794f0ad
|
cleanup sets code; should fix a potential leak and possibly address ITS#4873. Please test
|
2007-09-10 21:30:02 +00:00 |
|