Commit Graph

16605 Commits

Author SHA1 Message Date
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
Howard Chu
4d58197880 Add lutil_str2bin() for arbitrary length decimal-to-binary conversion 2007-10-01 06:50:19 +00:00
Gavin Henry
6827d4b33a Add new appendices to main docs and spell check 2007-09-30 22:47:48 +00:00
Gavin Henry
6b913a1927 Port from rfc4511 of LDAP Result codes and example sessions from ldap*/slap* for pointing users at. 2007-09-30 22:47:12 +00:00
Gavin Henry
ab361bb318 To contain a selection of Real World OpenLDAP Deployments and their configurations 2007-09-30 22:46:12 +00:00
Gavin Henry
111124ea13 Start of documenting Contributions to OpenLDAP Software. 2007-09-30 22:45:34 +00:00
Gavin Henry
56000a3b5d Port of Common LDAP errors etc from FAQ-O-MATIC - TBC 2007-09-30 22:44:23 +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
cdc69f8685 use same configuration for back-ldap/meta tests 2007-09-29 11:59:04 +00:00
Pierangelo Masarati
fedcbe9a41 better fix for ITS#5154 2007-09-29 11:45:37 +00:00
Pierangelo Masarati
d50645fc0a dispose of connection when server down (related to ITS#5127) 2007-09-29 11:24:39 +00:00
Pierangelo Masarati
27e747ad48 fix format 2007-09-29 11:22:31 +00:00
Howard Chu
37e295f269 ITS#5070 again, use [-]0x123456789abcdef for big int serial numbers 2007-09-29 09:50:54 +00:00
Howard Chu
6db8d0d1b5 Init/destroy mutex 2007-09-27 19:20:04 +00:00
Howard Chu
e6d027ae8f Microsoft-style Update Sequence Numbers 2007-09-27 02:09:38 +00:00
Ralf Haferkamp
ebd5d088cf Adjustments to make testcase working again after ITS#5113 fixes. 2007-09-26 23:28:38 +00:00
Pierangelo Masarati
7ea665ae74 fix bind tester arglist 2007-09-26 23:08:38 +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
0cfffff4e2 Add sortvals doc 2007-09-24 05:18:42 +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
148afe6aa0 Add Modifications / sml_numvals 2007-09-23 00:22:47 +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
Ralf Haferkamp
8d8f2d4378 Silence compiler warnings 2007-09-21 11:27:23 +00:00
Ralf Haferkamp
7c3476d188 Regenerated 2007-09-21 11:13:12 +00:00
Ralf Haferkamp
89db79cde5 more for out of source builds 2007-09-21 11:05:10 +00:00
Ralf Haferkamp
4f894ffe22 out of source builds should work now 2007-09-21 11:03:14 +00:00
Ralf Haferkamp
0b326103d6 #ifdef LDAP_OPT_DIAGNOSTIC_MESSAGE, to be able to build with older libldap 2007-09-21 11:00:23 +00:00