]>
git.sur5r.net Git - openldap/log
Pierangelo Masarati [Sat, 25 Oct 2008 11:06:29 +0000 (11:06 +0000)]
don't rely on attribute values in the returned entry: the control may act on attribute values not requested
Hallvard Furuseth [Fri, 24 Oct 2008 18:57:38 +0000 (18:57 +0000)]
ITS#4467: Fix a few wrong uses of snprintf. Also drop an unneeded array init.
Hallvard Furuseth [Fri, 24 Oct 2008 18:22:54 +0000 (18:22 +0000)]
Plug memory leak with dn.regex. Force error for "dn.=pattern". Cleanup.
Hallvard Furuseth [Fri, 24 Oct 2008 18:16:43 +0000 (18:16 +0000)]
More ITS#5734: Handle empty o_req_ndn. flags=>flags&LDAP_LIMITS_MASK in a test.
Hallvard Furuseth [Fri, 24 Oct 2008 17:52:05 +0000 (17:52 +0000)]
ITS#5770: Fix unaligned BerElements: Use BerElementBuffer, not char[size].
Hallvard Furuseth [Fri, 24 Oct 2008 13:16:06 +0000 (13:16 +0000)]
ITS#4467: Fix snprintf/WHATSLEFT buffer overflow tests.
Also make WHATSLEFT unsigned.
Hallvard Furuseth [Fri, 24 Oct 2008 13:11:10 +0000 (13:11 +0000)]
ITS#4467: Fix ptr += snprintf buffer overflow tests (made out-of-range ptr).
Also avoid a buf[BUFSIZ] initialization.
Pierangelo Masarati [Fri, 24 Oct 2008 10:34:04 +0000 (10:34 +0000)]
forgot access control...
Pierangelo Masarati [Thu, 23 Oct 2008 00:14:34 +0000 (00:14 +0000)]
fix examples
Pierangelo Masarati [Wed, 22 Oct 2008 23:38:09 +0000 (23:38 +0000)]
tag optional stuff
Pierangelo Masarati [Wed, 22 Oct 2008 23:37:34 +0000 (23:37 +0000)]
check for overflows
Pierangelo Masarati [Wed, 22 Oct 2008 23:01:20 +0000 (23:01 +0000)]
slight fixes and improvements to previous commit
Pierangelo Masarati [Wed, 22 Oct 2008 22:19:49 +0000 (22:19 +0000)]
add support for (experimental) dereference control (ITS#5768); need to re-run autoconf (and autoheader?)
Pierangelo Masarati [Wed, 22 Oct 2008 21:58:59 +0000 (21:58 +0000)]
save one copy (please review)
Pierangelo Masarati [Wed, 22 Oct 2008 21:57:28 +0000 (21:57 +0000)]
missing $OpenLDAP$ header
Hallvard Furuseth [Wed, 22 Oct 2008 19:39:42 +0000 (19:39 +0000)]
ITS#5748: tavl_find3(NULL,,,) returned undefined data
Pierangelo Masarati [Wed, 22 Oct 2008 11:54:46 +0000 (11:54 +0000)]
olcLogFile missing from olcGlobal (ITS#5765)
Hallvard Furuseth [Tue, 21 Oct 2008 19:00:44 +0000 (19:00 +0000)]
ITS#4467: Fix buffer overflow tests with snprintf / 'unsigned WHATSLEFT'<=0.
Add ptr_APPEND_*. Rename limits_unparse:lm->style, make type/style unsigned.
Hallvard Furuseth [Tue, 21 Oct 2008 18:57:16 +0000 (18:57 +0000)]
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.
Ralf Haferkamp [Tue, 21 Oct 2008 16:17:41 +0000 (16:17 +0000)]
reset ld->ld_errno to avoid returning error codes of previously API calls (ITS#5762)
Pierangelo Masarati [Tue, 21 Oct 2008 11:30:04 +0000 (11:30 +0000)]
add optional URI to allow restricting the scope of application of a specific dynamic list expansion rule (ITS#5761)
Pierangelo Masarati [Tue, 21 Oct 2008 07:56:17 +0000 (07:56 +0000)]
preserve objectClasses not to be removed (ITS#5760)
Howard Chu [Tue, 21 Oct 2008 04:42:25 +0000 (04:42 +0000)]
ITS#5755 values from slapd.conf aren't all strictly validated; detect and
report syntax errors when generating LDAP format.
Hallvard Furuseth [Tue, 21 Oct 2008 00:04:44 +0000 (00:04 +0000)]
ITS#5734: Search limits by baseDN - limits dn.this="..."
Pierangelo Masarati [Mon, 20 Oct 2008 23:51:59 +0000 (23:51 +0000)]
deal with known controls that need special handling of response (ITS#5757)
Pierangelo Masarati [Mon, 20 Oct 2008 23:19:07 +0000 (23:19 +0000)]
backout ITS#5758 commit
Pierangelo Masarati [Mon, 20 Oct 2008 23:16:40 +0000 (23:16 +0000)]
NO-OP must be critical and apply to selected operations (ITS#5758)
Pierangelo Masarati [Mon, 20 Oct 2008 21:15:13 +0000 (21:15 +0000)]
declare support for read controls (ITS#5757)
Pierangelo Masarati [Sun, 19 Oct 2008 21:23:06 +0000 (21:23 +0000)]
return LDAP_OTHER if the filter cannot be parsed (ITS#5751)
Pierangelo Masarati [Sun, 19 Oct 2008 21:15:24 +0000 (21:15 +0000)]
default to simple bind when -D is specified and no SASL-related options are used (ITS#5753)
Pierangelo Masarati [Sun, 19 Oct 2008 20:35:18 +0000 (20:35 +0000)]
add ldapurl command
Hallvard Furuseth [Sat, 18 Oct 2008 23:59:53 +0000 (23:59 +0000)]
Warning cleanup: signed meets unsigned: SASL struct propval {unsigned nvalues}.
Hallvard Furuseth [Sat, 18 Oct 2008 23:49:28 +0000 (23:49 +0000)]
ITS#4467: Fix snprintf buffer overflow test for olcDbQuarantine output.
Overrides previous patch which partly fixed it: it was a no-op test before.
Hallvard Furuseth [Sat, 18 Oct 2008 20:25:57 +0000 (20:25 +0000)]
Warning cleanup to ITS#5695/rev 1.453: signed meets unsigned.
Hallvard Furuseth [Sat, 18 Oct 2008 11:42:13 +0000 (11:42 +0000)]
Fix Debug format (%d, size_t) => (%lu, (unsigned long)value).
Warning cleanup: signed meets unsigned.
Gavin Henry [Sat, 18 Oct 2008 11:20:44 +0000 (11:20 +0000)]
Spell check
Hallvard Furuseth [Sat, 18 Oct 2008 11:09:55 +0000 (11:09 +0000)]
ITS#5750: Fix nameUIDPretty() bitstring in Name and Optional UID syntax.
Also update a comment about parsing this syntax.
Pierangelo Masarati [Sat, 18 Oct 2008 08:33:40 +0000 (08:33 +0000)]
apply Luca Tamburo's patch for Attribute Certificate and X.509 PMI support (with modifications, ITS#5695)
Hallvard Furuseth [Sat, 18 Oct 2008 07:21:27 +0000 (07:21 +0000)]
Warning cleanup: signed meets unsigned.
Howard Chu [Sat, 18 Oct 2008 02:41:14 +0000 (02:41 +0000)]
ITS#5746 - add olcLimits to example, reorganize, enhance uniformity /
consistency of language
Hallvard Furuseth [Fri, 17 Oct 2008 23:35:44 +0000 (23:35 +0000)]
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.
Hallvard Furuseth [Fri, 17 Oct 2008 23:24:48 +0000 (23:24 +0000)]
Warning cleanup: signed meets unsigned, remove assert(unsigned >= 0).
Howard Chu [Fri, 17 Oct 2008 22:24:19 +0000 (22:24 +0000)]
work in progress. Expand introduction, move slurpd-replacement lower.
More to come.
Howard Chu [Fri, 17 Oct 2008 22:02:34 +0000 (22:02 +0000)]
Fix typo
Hallvard Furuseth [Fri, 17 Oct 2008 21:58:09 +0000 (21:58 +0000)]
ITS#5747: Simplify previous fix. Just use the struct hack.
Hallvard Furuseth [Fri, 17 Oct 2008 20:46:44 +0000 (20:46 +0000)]
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.
Hallvard Furuseth [Fri, 17 Oct 2008 18:43:10 +0000 (18:43 +0000)]
ITS#5747: Only use C99 flexible array member when supported
Hallvard Furuseth [Fri, 17 Oct 2008 18:05:00 +0000 (18:05 +0000)]
Warning cleanup: signed meets unsigned.
Hallvard Furuseth [Fri, 17 Oct 2008 18:02:09 +0000 (18:02 +0000)]
Fix typo in assertion: j1 + j1 -> j1 + j2. (Not a crasher, just wrong test.)
Warning cleanup: signed meets unsigned.
Hallvard Furuseth [Fri, 17 Oct 2008 17:40:48 +0000 (17:40 +0000)]
Warning cleanup: Remove no-op bv_len < 0 and bv_len >= 0 tests
Hallvard Furuseth [Fri, 17 Oct 2008 16:35:24 +0000 (16:35 +0000)]
Warning cleanup: signed meets unsigned. (Adds variable dosearch():outlen.)
Hallvard Furuseth [Fri, 17 Oct 2008 16:34:04 +0000 (16:34 +0000)]
Warning cleanup: signed meets unsigned: Replace BVICMP() with !BV_CASEMATCH().
BVICMP() tried (unnecessarily) to return <0 / 0 / >0, but could be unsigned.
Pierangelo Masarati [Fri, 17 Oct 2008 00:07:15 +0000 (00:07 +0000)]
check dangling reference (ITS#5742)
Pierangelo Masarati [Fri, 17 Oct 2008 00:06:12 +0000 (00:06 +0000)]
leave rs struct untouched (ITS#5742)
Pierangelo Masarati [Fri, 17 Oct 2008 00:03:53 +0000 (00:03 +0000)]
fix indentation
Pierangelo Masarati [Fri, 17 Oct 2008 00:03:17 +0000 (00:03 +0000)]
make sure sr_entry is not used if unset (ITS#5742)
Pierangelo Masarati [Fri, 17 Oct 2008 00:02:13 +0000 (00:02 +0000)]
fix parsing of read entry control (ITS#5741)
Pierangelo Masarati [Fri, 17 Oct 2008 00:00:46 +0000 (00:00 +0000)]
minor clarifications
Howard Chu [Wed, 15 Oct 2008 10:56:28 +0000 (10:56 +0000)]
Default pagesize is FS dependent
Howard Chu [Wed, 15 Oct 2008 10:45:31 +0000 (10:45 +0000)]
BDB_PAGESIZE not used any more, use BDB/FS default instead
Howard Chu [Wed, 15 Oct 2008 08:24:32 +0000 (08:24 +0000)]
Fix typo in prev commit
Howard Chu [Wed, 15 Oct 2008 08:19:33 +0000 (08:19 +0000)]
Add checksum keyword for enabling checksum validation of DB pages
Howard Chu [Wed, 15 Oct 2008 08:13:56 +0000 (08:13 +0000)]
Add checksum keyword to enable DB checksum validation
Howard Chu [Wed, 15 Oct 2008 07:58:48 +0000 (07:58 +0000)]
Add dbpagesize keyword for configuring DB file page sizes
Howard Chu [Wed, 15 Oct 2008 07:41:57 +0000 (07:41 +0000)]
Add dbpagesize keyword for configuring DB file page sizes
Hallvard Furuseth [Mon, 13 Oct 2008 14:54:27 +0000 (14:54 +0000)]
Warning cleanup: signed meets unsigned.
Hallvard Furuseth [Mon, 13 Oct 2008 10:18:15 +0000 (10:18 +0000)]
Warning cleanup: signed meets unsigned. ber_flatten2() returns -1 on
error, not LBER_ERROR.
Hallvard Furuseth [Mon, 13 Oct 2008 09:17:36 +0000 (09:17 +0000)]
Warning cleanup: signed meets unsigned. ber_flatten2() returns -1 on
error, not LBER_DEFAULT.
Hallvard Furuseth [Mon, 13 Oct 2008 08:44:54 +0000 (08:44 +0000)]
Warning cleanup: signed meets unsigned. ber_flatten2() returns -1 on
error, not LBER_ERROR.
Hallvard Furuseth [Mon, 13 Oct 2008 08:35:31 +0000 (08:35 +0000)]
Warning cleanup: signed meets unsigned.
Hallvard Furuseth [Mon, 13 Oct 2008 08:29:21 +0000 (08:29 +0000)]
Warning cleanup: signed meets unsigned.
Hallvard Furuseth [Mon, 13 Oct 2008 08:19:13 +0000 (08:19 +0000)]
Warning cleanup: signed meets unsigned.
Hallvard Furuseth [Mon, 13 Oct 2008 08:13:27 +0000 (08:13 +0000)]
Warning cleanup: signed meets unsigned.
Hallvard Furuseth [Mon, 13 Oct 2008 08:09:52 +0000 (08:09 +0000)]
Warning cleanup: signed meets unsigned. ber_printf() returns -1 on
error, not LBER_ERROR.
Hallvard Furuseth [Mon, 13 Oct 2008 07:55:02 +0000 (07:55 +0000)]
Fix typo in assertion: j1 + j1 -> j1 + j2. (Not a crasher, just wrong test.)
Warning cleanup: Missing braces in initialization. signed meets unsigned.
Hallvard Furuseth [Mon, 13 Oct 2008 06:20:12 +0000 (06:20 +0000)]
Warning cleanup: Missing braces in initialization.
Hallvard Furuseth [Mon, 13 Oct 2008 05:44:55 +0000 (05:44 +0000)]
Warning cleanup: Missing braces in initialization.
Hallvard Furuseth [Mon, 13 Oct 2008 05:31:52 +0000 (05:31 +0000)]
Fix r1.86 (LDAP_DEVEL:SLAP_CONFIG_DELETE): No declarations after code.
Pierangelo Masarati [Sun, 12 Oct 2008 20:20:46 +0000 (20:20 +0000)]
fix overlays with private instances of databases (ITS#5736)
Pierangelo Masarati [Sun, 12 Oct 2008 20:20:01 +0000 (20:20 +0000)]
allow private databases to be instantiated by global overlays (ITS#5735)
Gavin Henry [Fri, 10 Oct 2008 17:44:52 +0000 (17:44 +0000)]
Fix broken link
Pierangelo Masarati [Thu, 9 Oct 2008 22:34:43 +0000 (22:34 +0000)]
don't free and reuse filter structure; don't rewrite undefined filter values (ITS#5731,ITS#5732)
Howard Chu [Thu, 9 Oct 2008 11:33:49 +0000 (11:33 +0000)]
Cleanup unused defs
Howard Chu [Thu, 9 Oct 2008 11:10:28 +0000 (11:10 +0000)]
ITS#5369 SASL/GSSAPi refactoring from Stefan Metzmacher <metze@samba.org>
and Rafal Szczeniak <mimir@samba.org>, with minor cleanups
Howard Chu [Thu, 9 Oct 2008 10:52:31 +0000 (10:52 +0000)]
Regenerate for ITS#5369
Howard Chu [Thu, 9 Oct 2008 10:51:28 +0000 (10:51 +0000)]
ITS#5369 SASL/GSSAPi refactoring from Stefan Metzmacher <metze@samba.org>
and Rafal Szczeniak <mimir@samba.org>, with minor cleanups
Howard Chu [Thu, 9 Oct 2008 09:28:39 +0000 (09:28 +0000)]
Add SASL_MECHLIST option to retrieve list of known SASL mechs
Howard Chu [Wed, 8 Oct 2008 22:00:20 +0000 (22:00 +0000)]
Fix prev commit
Howard Chu [Wed, 8 Oct 2008 21:33:45 +0000 (21:33 +0000)]
ITS#5730, patch for #5728 broke referrals
Gavin Henry [Wed, 8 Oct 2008 21:16:09 +0000 (21:16 +0000)]
Clarify MM config example.
Howard Chu [Tue, 7 Oct 2008 22:52:59 +0000 (22:52 +0000)]
Fix dn2idl when suffix = ""
Howard Chu [Tue, 7 Oct 2008 22:16:15 +0000 (22:16 +0000)]
ITS#5729 check for NULL bei_parent
Howard Chu [Tue, 7 Oct 2008 03:13:00 +0000 (03:13 +0000)]
Accept X-starttls for prev commit
Howard Chu [Tue, 7 Oct 2008 03:06:44 +0000 (03:06 +0000)]
Handle StartTLS in URL extensions
Howard Chu [Tue, 7 Oct 2008 01:59:52 +0000 (01:59 +0000)]
More #5728 fallout
Howard Chu [Tue, 7 Oct 2008 01:45:42 +0000 (01:45 +0000)]
Fix: use overlay_entry_release_ov in overlay environment
Howard Chu [Tue, 7 Oct 2008 00:29:54 +0000 (00:29 +0000)]
ITS#5728 release entries before send_ldap_ber()
Quanah Gibson-Mount [Mon, 6 Oct 2008 19:58:52 +0000 (19:58 +0000)]
s/LOOPS/TESTLOOPS/
Rein Tollevik [Sun, 5 Oct 2008 22:35:44 +0000 (22:35 +0000)]
ITS#5726: Revert 1.392, the runqueue must always be inspected.
Pierangelo Masarati [Sun, 5 Oct 2008 21:29:16 +0000 (21:29 +0000)]
s/LOOPS/TESTLOOPS/