]> git.sur5r.net Git - openldap/log
openldap
15 years agoITS#4467: Fix snprintf/WHATSLEFT buffer overflow tests.
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.

15 years agoITS#4467: Fix ptr += snprintf buffer overflow tests (made out-of-range ptr).
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.

15 years agoforgot access control...
Pierangelo Masarati [Fri, 24 Oct 2008 10:34:04 +0000 (10:34 +0000)]
forgot access control...

15 years agofix examples
Pierangelo Masarati [Thu, 23 Oct 2008 00:14:34 +0000 (00:14 +0000)]
fix examples

15 years agotag optional stuff
Pierangelo Masarati [Wed, 22 Oct 2008 23:38:09 +0000 (23:38 +0000)]
tag optional stuff

15 years agocheck for overflows
Pierangelo Masarati [Wed, 22 Oct 2008 23:37:34 +0000 (23:37 +0000)]
check for overflows

15 years agoslight fixes and improvements to previous commit
Pierangelo Masarati [Wed, 22 Oct 2008 23:01:20 +0000 (23:01 +0000)]
slight fixes and improvements to previous commit

15 years agoadd support for (experimental) dereference control (ITS#5768); need to re-run autocon...
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?)

15 years agosave one copy (please review)
Pierangelo Masarati [Wed, 22 Oct 2008 21:58:59 +0000 (21:58 +0000)]
save one copy (please review)

15 years agomissing $OpenLDAP$ header
Pierangelo Masarati [Wed, 22 Oct 2008 21:57:28 +0000 (21:57 +0000)]
missing $OpenLDAP$ header

15 years agoITS#5748: tavl_find3(NULL,,,) returned undefined data
Hallvard Furuseth [Wed, 22 Oct 2008 19:39:42 +0000 (19:39 +0000)]
ITS#5748: tavl_find3(NULL,,,) returned undefined data

15 years agoolcLogFile missing from olcGlobal (ITS#5765)
Pierangelo Masarati [Wed, 22 Oct 2008 11:54:46 +0000 (11:54 +0000)]
olcLogFile missing from olcGlobal (ITS#5765)

15 years agoITS#4467: Fix buffer overflow tests with snprintf / 'unsigned WHATSLEFT'<=0.
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.

15 years agoCleanup:
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.

15 years agoreset ld->ld_errno to avoid returning error codes of previously API calls (ITS#5762)
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)

15 years agoadd optional URI to allow restricting the scope of application of a specific dynamic...
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)

15 years agopreserve objectClasses not to be removed (ITS#5760)
Pierangelo Masarati [Tue, 21 Oct 2008 07:56:17 +0000 (07:56 +0000)]
preserve objectClasses not to be removed (ITS#5760)

15 years agoITS#5755 values from slapd.conf aren't all strictly validated; detect and
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.

15 years agoITS#5734: Search limits by baseDN - limits dn.this="..."
Hallvard Furuseth [Tue, 21 Oct 2008 00:04:44 +0000 (00:04 +0000)]
ITS#5734: Search limits by baseDN - limits dn.this="..."

15 years agodeal with known controls that need special handling of response (ITS#5757)
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)

15 years agobackout ITS#5758 commit
Pierangelo Masarati [Mon, 20 Oct 2008 23:19:07 +0000 (23:19 +0000)]
backout ITS#5758 commit

15 years agoNO-OP must be critical and apply to selected operations (ITS#5758)
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)

15 years agodeclare support for read controls (ITS#5757)
Pierangelo Masarati [Mon, 20 Oct 2008 21:15:13 +0000 (21:15 +0000)]
declare support for read controls (ITS#5757)

15 years agoreturn LDAP_OTHER if the filter cannot be parsed (ITS#5751)
Pierangelo Masarati [Sun, 19 Oct 2008 21:23:06 +0000 (21:23 +0000)]
return LDAP_OTHER if the filter cannot be parsed (ITS#5751)

15 years agodefault to simple bind when -D is specified and no SASL-related options are used...
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)

15 years agoadd ldapurl command
Pierangelo Masarati [Sun, 19 Oct 2008 20:35:18 +0000 (20:35 +0000)]
add ldapurl command

15 years agoWarning cleanup: signed meets unsigned: SASL struct propval {unsigned nvalues}.
Hallvard Furuseth [Sat, 18 Oct 2008 23:59:53 +0000 (23:59 +0000)]
Warning cleanup: signed meets unsigned: SASL struct propval {unsigned nvalues}.

15 years agoITS#4467: Fix snprintf buffer overflow test for olcDbQuarantine output.
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.

15 years agoWarning cleanup to ITS#5695/rev 1.453: signed meets unsigned.
Hallvard Furuseth [Sat, 18 Oct 2008 20:25:57 +0000 (20:25 +0000)]
Warning cleanup to ITS#5695/rev 1.453: signed meets unsigned.

15 years agoFix Debug format (%d, size_t) => (%lu, (unsigned long)value).
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.

15 years agoSpell check
Gavin Henry [Sat, 18 Oct 2008 11:20:44 +0000 (11:20 +0000)]
Spell check

15 years agoITS#5750: Fix nameUIDPretty() bitstring in Name and Optional UID syntax.
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.

15 years agoapply Luca Tamburo's patch for Attribute Certificate and X.509 PMI support (with...
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)

15 years agoWarning cleanup: signed meets unsigned.
Hallvard Furuseth [Sat, 18 Oct 2008 07:21:27 +0000 (07:21 +0000)]
Warning cleanup: signed meets unsigned.

15 years agoITS#5746 - add olcLimits to example, reorganize, enhance uniformity /
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

15 years agoWarning cleanup: Signed meets unsigned:
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.

15 years agoWarning cleanup: signed meets unsigned, remove assert(unsigned >= 0).
Hallvard Furuseth [Fri, 17 Oct 2008 23:24:48 +0000 (23:24 +0000)]
Warning cleanup: signed meets unsigned, remove assert(unsigned >= 0).

15 years agowork in progress. Expand introduction, move slurpd-replacement lower.
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.

15 years agoFix typo
Howard Chu [Fri, 17 Oct 2008 22:02:34 +0000 (22:02 +0000)]
Fix typo

15 years agoITS#5747: Simplify previous fix. Just use the struct hack.
Hallvard Furuseth [Fri, 17 Oct 2008 21:58:09 +0000 (21:58 +0000)]
ITS#5747: Simplify previous fix.  Just use the struct hack.

15 years agoFix Debug(%d, scred->bv_len or -1) -> Debug(%ld, (long) scred->bv_len or -1L).
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.

15 years agoITS#5747: Only use C99 flexible array member when supported
Hallvard Furuseth [Fri, 17 Oct 2008 18:43:10 +0000 (18:43 +0000)]
ITS#5747: Only use C99 flexible array member when supported

15 years agoWarning cleanup: signed meets unsigned.
Hallvard Furuseth [Fri, 17 Oct 2008 18:05:00 +0000 (18:05 +0000)]
Warning cleanup: signed meets unsigned.

15 years agoFix typo in assertion: j1 + j1 -> j1 + j2. (Not a crasher, just wrong test.)
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.

15 years agoWarning cleanup: Remove no-op bv_len < 0 and bv_len >= 0 tests
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

15 years agoWarning cleanup: signed meets unsigned. (Adds variable dosearch():outlen.)
Hallvard Furuseth [Fri, 17 Oct 2008 16:35:24 +0000 (16:35 +0000)]
Warning cleanup: signed meets unsigned. (Adds variable dosearch():outlen.)

15 years agoWarning cleanup: signed meets unsigned: Replace BVICMP() with !BV_CASEMATCH().
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.

15 years agocheck dangling reference (ITS#5742)
Pierangelo Masarati [Fri, 17 Oct 2008 00:07:15 +0000 (00:07 +0000)]
check dangling reference (ITS#5742)

15 years agoleave rs struct untouched (ITS#5742)
Pierangelo Masarati [Fri, 17 Oct 2008 00:06:12 +0000 (00:06 +0000)]
leave rs struct untouched (ITS#5742)

15 years agofix indentation
Pierangelo Masarati [Fri, 17 Oct 2008 00:03:53 +0000 (00:03 +0000)]
fix indentation

15 years agomake sure sr_entry is not used if unset (ITS#5742)
Pierangelo Masarati [Fri, 17 Oct 2008 00:03:17 +0000 (00:03 +0000)]
make sure sr_entry is not used if unset (ITS#5742)

15 years agofix parsing of read entry control (ITS#5741)
Pierangelo Masarati [Fri, 17 Oct 2008 00:02:13 +0000 (00:02 +0000)]
fix parsing of read entry control (ITS#5741)

15 years agominor clarifications
Pierangelo Masarati [Fri, 17 Oct 2008 00:00:46 +0000 (00:00 +0000)]
minor clarifications

15 years agoDefault pagesize is FS dependent
Howard Chu [Wed, 15 Oct 2008 10:56:28 +0000 (10:56 +0000)]
Default pagesize is FS dependent

15 years agoBDB_PAGESIZE not used any more, use BDB/FS default instead
Howard Chu [Wed, 15 Oct 2008 10:45:31 +0000 (10:45 +0000)]
BDB_PAGESIZE not used any more, use BDB/FS default instead

15 years agoFix typo in prev commit
Howard Chu [Wed, 15 Oct 2008 08:24:32 +0000 (08:24 +0000)]
Fix typo in prev commit

15 years agoAdd checksum keyword for enabling checksum validation of DB pages
Howard Chu [Wed, 15 Oct 2008 08:19:33 +0000 (08:19 +0000)]
Add checksum keyword for enabling checksum validation of DB pages

15 years agoAdd checksum keyword to enable DB checksum validation
Howard Chu [Wed, 15 Oct 2008 08:13:56 +0000 (08:13 +0000)]
Add checksum keyword to enable DB checksum validation

15 years agoAdd dbpagesize keyword for configuring DB file page sizes
Howard Chu [Wed, 15 Oct 2008 07:58:48 +0000 (07:58 +0000)]
Add dbpagesize keyword for configuring DB file page sizes

15 years agoAdd 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

15 years agoWarning cleanup: signed meets unsigned.
Hallvard Furuseth [Mon, 13 Oct 2008 14:54:27 +0000 (14:54 +0000)]
Warning cleanup: signed meets unsigned.

15 years agoWarning cleanup: signed meets unsigned. ber_flatten2() returns -1 on
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.

15 years agoWarning cleanup: signed meets unsigned. ber_flatten2() returns -1 on
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.

15 years agoWarning cleanup: signed meets unsigned. ber_flatten2() returns -1 on
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.

15 years agoWarning cleanup: signed meets unsigned.
Hallvard Furuseth [Mon, 13 Oct 2008 08:35:31 +0000 (08:35 +0000)]
Warning cleanup: signed meets unsigned.

15 years agoWarning cleanup: signed meets unsigned.
Hallvard Furuseth [Mon, 13 Oct 2008 08:29:21 +0000 (08:29 +0000)]
Warning cleanup: signed meets unsigned.

15 years agoWarning cleanup: signed meets unsigned.
Hallvard Furuseth [Mon, 13 Oct 2008 08:19:13 +0000 (08:19 +0000)]
Warning cleanup: signed meets unsigned.

15 years agoWarning cleanup: signed meets unsigned.
Hallvard Furuseth [Mon, 13 Oct 2008 08:13:27 +0000 (08:13 +0000)]
Warning cleanup: signed meets unsigned.

15 years agoWarning cleanup: signed meets unsigned. ber_printf() returns -1 on
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.

15 years agoFix typo in assertion: j1 + j1 -> j1 + j2. (Not a crasher, just wrong test.)
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.

15 years agoWarning cleanup: Missing braces in initialization.
Hallvard Furuseth [Mon, 13 Oct 2008 06:20:12 +0000 (06:20 +0000)]
Warning cleanup: Missing braces in initialization.

15 years agoWarning cleanup: Missing braces in initialization.
Hallvard Furuseth [Mon, 13 Oct 2008 05:44:55 +0000 (05:44 +0000)]
Warning cleanup: Missing braces in initialization.

15 years agoFix r1.86 (LDAP_DEVEL:SLAP_CONFIG_DELETE): No declarations after code.
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.

15 years agofix overlays with private instances of databases (ITS#5736)
Pierangelo Masarati [Sun, 12 Oct 2008 20:20:46 +0000 (20:20 +0000)]
fix overlays with private instances of databases (ITS#5736)

15 years agoallow private databases to be instantiated by global overlays (ITS#5735)
Pierangelo Masarati [Sun, 12 Oct 2008 20:20:01 +0000 (20:20 +0000)]
allow private databases to be instantiated by global overlays (ITS#5735)

15 years agoFix broken link
Gavin Henry [Fri, 10 Oct 2008 17:44:52 +0000 (17:44 +0000)]
Fix broken link

15 years agodon't free and reuse filter structure; don't rewrite undefined filter values (ITS...
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)

15 years agoCleanup unused defs
Howard Chu [Thu, 9 Oct 2008 11:33:49 +0000 (11:33 +0000)]
Cleanup unused defs

15 years agoITS#5369 SASL/GSSAPi refactoring from Stefan Metzmacher <metze@samba.org>
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

15 years agoRegenerate for ITS#5369
Howard Chu [Thu, 9 Oct 2008 10:52:31 +0000 (10:52 +0000)]
Regenerate for ITS#5369

15 years agoITS#5369 SASL/GSSAPi refactoring from Stefan Metzmacher <metze@samba.org>
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

15 years agoAdd SASL_MECHLIST option to retrieve list of known SASL mechs
Howard Chu [Thu, 9 Oct 2008 09:28:39 +0000 (09:28 +0000)]
Add SASL_MECHLIST option to retrieve list of known SASL mechs

15 years agoFix prev commit
Howard Chu [Wed, 8 Oct 2008 22:00:20 +0000 (22:00 +0000)]
Fix prev commit

15 years agoITS#5730, patch for #5728 broke referrals
Howard Chu [Wed, 8 Oct 2008 21:33:45 +0000 (21:33 +0000)]
ITS#5730, patch for #5728 broke referrals

15 years agoClarify MM config example.
Gavin Henry [Wed, 8 Oct 2008 21:16:09 +0000 (21:16 +0000)]
Clarify MM config example.

15 years agoFix dn2idl when suffix = ""
Howard Chu [Tue, 7 Oct 2008 22:52:59 +0000 (22:52 +0000)]
Fix dn2idl when suffix = ""

15 years agoITS#5729 check for NULL bei_parent
Howard Chu [Tue, 7 Oct 2008 22:16:15 +0000 (22:16 +0000)]
ITS#5729 check for NULL bei_parent

15 years agoAccept X-starttls for prev commit
Howard Chu [Tue, 7 Oct 2008 03:13:00 +0000 (03:13 +0000)]
Accept X-starttls for prev commit

15 years agoHandle StartTLS in URL extensions
Howard Chu [Tue, 7 Oct 2008 03:06:44 +0000 (03:06 +0000)]
Handle StartTLS in URL extensions

15 years agoMore #5728 fallout
Howard Chu [Tue, 7 Oct 2008 01:59:52 +0000 (01:59 +0000)]
More #5728 fallout

15 years agoFix: use overlay_entry_release_ov in overlay environment
Howard Chu [Tue, 7 Oct 2008 01:45:42 +0000 (01:45 +0000)]
Fix: use overlay_entry_release_ov in overlay environment

15 years agoITS#5728 release entries before send_ldap_ber()
Howard Chu [Tue, 7 Oct 2008 00:29:54 +0000 (00:29 +0000)]
ITS#5728 release entries before send_ldap_ber()

15 years agos/LOOPS/TESTLOOPS/
Quanah Gibson-Mount [Mon, 6 Oct 2008 19:58:52 +0000 (19:58 +0000)]
s/LOOPS/TESTLOOPS/

15 years agoITS#5726: Revert 1.392, the runqueue must always be inspected.
Rein Tollevik [Sun, 5 Oct 2008 22:35:44 +0000 (22:35 +0000)]
ITS#5726: Revert 1.392, the runqueue must always be inspected.

15 years agos/LOOPS/TESTLOOPS/
Pierangelo Masarati [Sun, 5 Oct 2008 21:29:16 +0000 (21:29 +0000)]
s/LOOPS/TESTLOOPS/

15 years agogive appropriate write permissions for add (ITS#5723)
Pierangelo Masarati [Sun, 5 Oct 2008 21:28:28 +0000 (21:28 +0000)]
give appropriate write permissions for add (ITS#5723)

15 years agoopen database using the real structure (partial fix to ITS#5724)
Pierangelo Masarati [Sun, 5 Oct 2008 21:11:13 +0000 (21:11 +0000)]
open database using the real structure (partial fix to ITS#5724)

15 years agoRevert 1.410, i.e back to lock again. ITS#5725 fixes the lock situation.
Rein Tollevik [Sun, 5 Oct 2008 19:29:00 +0000 (19:29 +0000)]
Revert 1.410, i.e back to lock again.  ITS#5725 fixes the lock situation.

15 years agoITS#5725: Don't enable connection for events twice.
Rein Tollevik [Sun, 5 Oct 2008 19:17:56 +0000 (19:17 +0000)]
ITS#5725: Don't enable connection for events twice.

15 years agoclarify ACL snippet
Pierangelo Masarati [Sat, 4 Oct 2008 10:17:29 +0000 (10:17 +0000)]
clarify ACL snippet