Commit Graph

9486 Commits

Author SHA1 Message Date
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