Commit Graph

17605 Commits

Author SHA1 Message Date
Pierangelo Masarati
faddae3a0e check for overflows 2008-10-22 23:37:34 +00:00
Pierangelo Masarati
543a75355c slight fixes and improvements to previous commit 2008-10-22 23:01:20 +00:00
Pierangelo Masarati
91e14ca638 add support for (experimental) dereference control (ITS#5768); need to re-run autoconf (and autoheader?) 2008-10-22 22:19:49 +00:00
Pierangelo Masarati
382bb4de11 save one copy (please review) 2008-10-22 21:58:59 +00:00
Pierangelo Masarati
2b95616768 missing $OpenLDAP$ header 2008-10-22 21:57:28 +00:00
Hallvard Furuseth
677a11ad26 ITS#5748: tavl_find3(NULL,,,) returned undefined data 2008-10-22 19:39:42 +00:00
Pierangelo Masarati
a4598d1df7 olcLogFile missing from olcGlobal (ITS#5765) 2008-10-22 11:54:46 +00:00
Hallvard Furuseth
ee6a9f238e ITS#4467: Fix buffer overflow tests with snprintf / 'unsigned WHATSLEFT'<=0.
Add ptr_APPEND_*. Rename limits_unparse:lm->style, make type/style unsigned.
2008-10-21 19:00:44 +00:00
Hallvard Furuseth
59c4d9fad9 Cleanup:
Add lmpats_out[] to simplify limits2str().  Wrap both in #ifdef LDAP_DEBUG.
Change char *lmpats[] to struct berval[].  Remove always-true compare.
Readability: Add STRSTART, rearrange limits_get, fix comments & long lines.
2008-10-21 18:57:16 +00:00
Ralf Haferkamp
e8c1147b77 reset ld->ld_errno to avoid returning error codes of previously API calls (ITS#5762) 2008-10-21 16:17:41 +00:00
Pierangelo Masarati
09cb340f67 add optional URI to allow restricting the scope of application of a specific dynamic list expansion rule (ITS#5761) 2008-10-21 11:30:04 +00:00
Pierangelo Masarati
363f75ca5f preserve objectClasses not to be removed (ITS#5760) 2008-10-21 07:56:17 +00:00
Howard Chu
49ed07558b ITS#5755 values from slapd.conf aren't all strictly validated; detect and
report syntax errors when generating LDAP format.
2008-10-21 04:42:25 +00:00
Hallvard Furuseth
34e8048136 ITS#5734: Search limits by baseDN - limits dn.this="..." 2008-10-21 00:04:44 +00:00
Pierangelo Masarati
4edb6c96e7 deal with known controls that need special handling of response (ITS#5757) 2008-10-20 23:51:59 +00:00
Pierangelo Masarati
c1119ec9b3 backout ITS#5758 commit 2008-10-20 23:19:07 +00:00
Pierangelo Masarati
e233a8e9ee NO-OP must be critical and apply to selected operations (ITS#5758) 2008-10-20 23:16:40 +00:00
Pierangelo Masarati
18e3573c81 declare support for read controls (ITS#5757) 2008-10-20 21:15:13 +00:00
Pierangelo Masarati
c1c16618a4 return LDAP_OTHER if the filter cannot be parsed (ITS#5751) 2008-10-19 21:23:06 +00:00
Pierangelo Masarati
eba56f0ec9 default to simple bind when -D is specified and no SASL-related options are used (ITS#5753) 2008-10-19 21:15:24 +00:00
Pierangelo Masarati
4cef770d2b add ldapurl command 2008-10-19 20:35:18 +00:00
Hallvard Furuseth
3fff0a7919 Warning cleanup: signed meets unsigned: SASL struct propval {unsigned nvalues}. 2008-10-18 23:59:53 +00:00
Hallvard Furuseth
7cd654253e ITS#4467: Fix snprintf buffer overflow test for olcDbQuarantine output.
Overrides previous patch which partly fixed it: it was a no-op test before.
2008-10-18 23:49:28 +00:00
Hallvard Furuseth
db2172c5c9 Warning cleanup to ITS#5695/rev 1.453: signed meets unsigned. 2008-10-18 20:25:57 +00:00
Hallvard Furuseth
4e616dced8 Fix Debug format (%d, size_t) => (%lu, (unsigned long)value).
Warning cleanup: signed meets unsigned.
2008-10-18 11:42:13 +00:00
Gavin Henry
90705eb26e Spell check 2008-10-18 11:20:44 +00:00
Hallvard Furuseth
d68ba23ab8 ITS#5750: Fix nameUIDPretty() bitstring in Name and Optional UID syntax.
Also update a comment about parsing this syntax.
2008-10-18 11:09:55 +00:00
Pierangelo Masarati
5d90231d2a apply Luca Tamburo's patch for Attribute Certificate and X.509 PMI support (with modifications, ITS#5695) 2008-10-18 08:33:40 +00:00
Hallvard Furuseth
e0952945d0 Warning cleanup: signed meets unsigned. 2008-10-18 07:21:27 +00:00
Howard Chu
0e4ff5f497 ITS#5746 - add olcLimits to example, reorganize, enhance uniformity /
consistency of language
2008-10-18 02:41:14 +00:00
Hallvard Furuseth
6fbd42a90a Warning cleanup: Signed meets unsigned:
Change insertion index bdb_attr_slot(,, unsigned *ins) to int *ins.  This
index is signed elsewhere, including the index returned by the same function.
2008-10-17 23:35:44 +00:00
Hallvard Furuseth
08852acb80 Warning cleanup: signed meets unsigned, remove assert(unsigned >= 0). 2008-10-17 23:24:48 +00:00
Howard Chu
ef8bcff39c work in progress. Expand introduction, move slurpd-replacement lower.
More to come.
2008-10-17 22:24:19 +00:00
Howard Chu
d4dd1b6db0 Fix typo 2008-10-17 22:02:34 +00:00
Hallvard Furuseth
d55d5fadf9 ITS#5747: Simplify previous fix. Just use the struct hack. 2008-10-17 21:58:09 +00:00
Hallvard Furuseth
b464a790b8 Fix Debug(%d, scred->bv_len or -1) -> Debug(%ld, (long) scred->bv_len or -1L).
Cast sasl_encode() arg from unsigned char* to char*.
Warning cleanup: signed meets unsigned.
2008-10-17 20:46:44 +00:00
Hallvard Furuseth
036e7dac59 ITS#5747: Only use C99 flexible array member when supported 2008-10-17 18:43:10 +00:00
Hallvard Furuseth
670ec4f938 Warning cleanup: signed meets unsigned. 2008-10-17 18:05:00 +00:00
Hallvard Furuseth
05bbe7833b Fix typo in assertion: j1 + j1 -> j1 + j2. (Not a crasher, just wrong test.)
Warning cleanup: signed meets unsigned.
2008-10-17 18:02:09 +00:00
Hallvard Furuseth
e3bc5b64c6 Warning cleanup: Remove no-op bv_len < 0 and bv_len >= 0 tests 2008-10-17 17:40:48 +00:00
Hallvard Furuseth
0d7ee548e1 Warning cleanup: signed meets unsigned. (Adds variable dosearch():outlen.) 2008-10-17 16:35:24 +00:00
Hallvard Furuseth
9a542f526d Warning cleanup: signed meets unsigned: Replace BVICMP() with !BV_CASEMATCH().
BVICMP() tried (unnecessarily) to return <0 / 0 / >0, but could be unsigned.
2008-10-17 16:34:04 +00:00
Pierangelo Masarati
c2090e9944 check dangling reference (ITS#5742) 2008-10-17 00:07:15 +00:00
Pierangelo Masarati
23f78d1bba leave rs struct untouched (ITS#5742) 2008-10-17 00:06:12 +00:00
Pierangelo Masarati
bbe6e77876 fix indentation 2008-10-17 00:03:53 +00:00
Pierangelo Masarati
515733a656 make sure sr_entry is not used if unset (ITS#5742) 2008-10-17 00:03:17 +00:00
Pierangelo Masarati
4f26be5cf6 fix parsing of read entry control (ITS#5741) 2008-10-17 00:02:13 +00:00
Pierangelo Masarati
9ebcd375e4 minor clarifications 2008-10-17 00:00:46 +00:00
Howard Chu
56097361d8 Default pagesize is FS dependent 2008-10-15 10:56:28 +00:00
Howard Chu
72a9d87fec BDB_PAGESIZE not used any more, use BDB/FS default instead 2008-10-15 10:45:31 +00:00