Commit Graph

9653 Commits

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