]> git.sur5r.net Git - openldap/log
openldap
22 years agoITS#1659 - forgot to define n_a
Luke Howard [Tue, 16 Apr 2002 04:04:40 +0000 (04:04 +0000)]
ITS#1659 - forgot to define n_a

22 years agoITS#1659: s/na/n_a/
Luke Howard [Tue, 16 Apr 2002 03:59:22 +0000 (03:59 +0000)]
ITS#1659: s/na/n_a/

22 years agoITS#1729, #1659
Luke Howard [Tue, 16 Apr 2002 03:58:21 +0000 (03:58 +0000)]
ITS#1729, #1659

22 years agoITS#1729
Luke Howard [Tue, 16 Apr 2002 03:56:23 +0000 (03:56 +0000)]
ITS#1729

22 years agoITS#1676
Luke Howard [Tue, 16 Apr 2002 03:51:51 +0000 (03:51 +0000)]
ITS#1676

22 years agoITS#1659
Luke Howard [Tue, 16 Apr 2002 03:47:39 +0000 (03:47 +0000)]
ITS#1659

22 years agoPatch: aclparse.c bugs (ITS#1752)
Kurt Zeilenga [Mon, 15 Apr 2002 20:44:05 +0000 (20:44 +0000)]
Patch: aclparse.c bugs  (ITS#1752)

================
Written by Hallvard B. Furuseth and placed into the public domain.
This software is not subject to any license of the University of Oslo.
================

Bug fixes:
- acl_regex_normalized_dn(pattern):
  * used pattern->bv_len even though it claimed not to,
  * would walk past the end of strings that ended (incorrectly)
    with a single '\'.
- style=regex checked for "^.*$$" twice but not for "^.*$".
- the code did not notice if dnNormalize2() failed, and would
  (at least in one case) treat a bad DN as '*'.
Some cleanup:
- changed regtest() to return void, since the return value was unused.
- changed acl_regex_normalized_dn() to take a string input argument
  instead of a half-filled berval, it looks saner that way.

Hallvard B. Furuseth <h.b.furuseth@usit.uio.no>, April 2002.

22 years agoRe: Patch: ctype functions require 'unsigned char' args (ITS#1678)
Kurt Zeilenga [Mon, 15 Apr 2002 20:42:42 +0000 (20:42 +0000)]
Re: Patch: ctype functions require 'unsigned char' args  (ITS#1678)

================
Written by Hallvard B. Furuseth and placed into the public domain.
This software is not subject to any license of the University of Oslo.
================

Here are fixes for more places where the argument to ctype.h functions
should be in the range of `unsigned char'.

Explanation of the last patch (to schema_init.c:bvcasechr()):
TOLOWER() and TOUPPER() return values in the range of `unsigned char',
but bvcasechr() then compares those values with a plain `char'.  So I
convert the return values from TOLOWER()/TOUPPER() to `char' first.

Hallvard B. Furuseth <h.b.furuseth@usit.uio.no>, April 2002.

22 years agoAdded LDAP_LOG Messages
Julius Enarusai [Mon, 15 Apr 2002 20:40:15 +0000 (20:40 +0000)]
Added LDAP_LOG Messages

22 years agoPatch: ucdata 2.4 bugs (ITS#1751)
Kurt Zeilenga [Mon, 15 Apr 2002 20:39:22 +0000 (20:39 +0000)]
Patch: ucdata 2.4 bugs  (ITS#1751)

================
Written by Hallvard B. Furuseth and placed into the public domain.
This software is not subject to any license of the University of Oslo.
================

ucgendat.c accessed unallocated memory when i == ncodes_size.

The changes others are trivial, I just include them since I'm patching
ucdata anyway:

ucdata.c   had some pointless '0 <= unsigned' comparisons.

ucstr.c    assigned a long* to an unsigned long*.  Since malloc()
           returns void*, the result need not be cast at all.

I'll send the ucgendat.c and ucdata.c patches to Mark Leisher
<mleisher@crl.nmsu.edu>.

Hallvard B. Furuseth <h.b.furuseth@usit.uio.no>, April 2002.

22 years agoAdded LDAP_LOG Messages
Julius Enarusai [Mon, 15 Apr 2002 20:28:16 +0000 (20:28 +0000)]
Added LDAP_LOG Messages

22 years agoAdded LDAP_LOG Messages
Julius Enarusai [Mon, 15 Apr 2002 20:18:47 +0000 (20:18 +0000)]
Added LDAP_LOG Messages

22 years agoAdded LDAP_LOG Messages
Julius Enarusai [Mon, 15 Apr 2002 20:05:06 +0000 (20:05 +0000)]
Added LDAP_LOG Messages

22 years agoAdded LDAP_LOG Messages
Julius Enarusai [Mon, 15 Apr 2002 19:37:49 +0000 (19:37 +0000)]
Added LDAP_LOG Messages

22 years agodocument the -t switch
Pierangelo Masarati [Mon, 15 Apr 2002 19:18:54 +0000 (19:18 +0000)]
document the -t switch

22 years agoAdded LDAP_LOG Messages
Julius Enarusai [Mon, 15 Apr 2002 19:16:32 +0000 (19:16 +0000)]
Added LDAP_LOG Messages

22 years agoAdded LDAP_LOG Messages
Julius Enarusai [Mon, 15 Apr 2002 18:59:20 +0000 (18:59 +0000)]
Added LDAP_LOG Messages

22 years agoPatch: Escape character troubles (ITS#1753)
Kurt Zeilenga [Mon, 15 Apr 2002 18:29:39 +0000 (18:29 +0000)]
Patch: Escape character troubles  (ITS#1753)

================
Written by Hallvard B. Furuseth and placed into the public domain.
This software is not subject to any license of the University of Oslo.
================

maildap could address buf[-1] if len was < 2.

REWRITE_SUBMATCH_ESCAPE is '%', not '\'.

librewrite and saslautz could walk past the end of a string which
ended with an escape character.

Hallvard B. Furuseth <h.b.furuseth@usit.uio.no>, April 2002.

22 years agotrim finger from release
Kurt Zeilenga [Mon, 15 Apr 2002 18:14:02 +0000 (18:14 +0000)]
trim finger from release

22 years agoTrim finger from HEAD
Kurt Zeilenga [Mon, 15 Apr 2002 18:12:42 +0000 (18:12 +0000)]
Trim finger from HEAD

22 years agoAdded LDAP_LOG messages
Julius Enarusai [Mon, 15 Apr 2002 17:57:44 +0000 (17:57 +0000)]
Added LDAP_LOG messages

22 years agoadd '-t' switch for clean config check; cleanup usage() messages
Pierangelo Masarati [Mon, 15 Apr 2002 17:32:08 +0000 (17:32 +0000)]
add '-t' switch for clean config check; cleanup usage() messages

22 years agoAlign --help
Kurt Zeilenga [Mon, 15 Apr 2002 17:17:34 +0000 (17:17 +0000)]
Align --help

22 years agoFix include order
Kurt Zeilenga [Mon, 15 Apr 2002 16:45:02 +0000 (16:45 +0000)]
Fix include order

22 years agoconcurrent cache access: separation of cache lock (reader/writer) and lru lock (mutex)
Jong Hyuk Choi [Mon, 15 Apr 2002 16:40:04 +0000 (16:40 +0000)]
concurrent cache access: separation of cache lock (reader/writer) and lru lock (mutex)

22 years agoFix name canonicalization and authorization for Cyrus SASL 2.x
Howard Chu [Sun, 14 Apr 2002 04:27:46 +0000 (04:27 +0000)]
Fix name canonicalization and authorization for Cyrus SASL 2.x

22 years agoPrevious commit included undesired changes.
Howard Chu [Sun, 14 Apr 2002 04:15:17 +0000 (04:15 +0000)]
Previous commit included undesired changes.

22 years agoFix previous commit, == instead of !=
Howard Chu [Sat, 13 Apr 2002 17:27:02 +0000 (17:27 +0000)]
Fix previous commit, == instead of !=

22 years agoupdates SEE ALSO section
Pierangelo Masarati [Sat, 13 Apr 2002 15:08:03 +0000 (15:08 +0000)]
updates SEE ALSO section

22 years agofix typo
Pierangelo Masarati [Sat, 13 Apr 2002 15:07:40 +0000 (15:07 +0000)]
fix typo

22 years agoITS#1740
Howard Chu [Sat, 13 Apr 2002 10:56:16 +0000 (10:56 +0000)]
ITS#1740

22 years agofix: changing bdb_cache_return_entry_w() to bdb_cache_return_entry_r()
Jong Hyuk Choi [Thu, 11 Apr 2002 23:17:36 +0000 (23:17 +0000)]
fix: changing bdb_cache_return_entry_w() to bdb_cache_return_entry_r()

22 years agoFix ITS#1722 - IPv4 addresses also need to be massaged for sasl_server_new.
Howard Chu [Thu, 11 Apr 2002 10:04:29 +0000 (10:04 +0000)]
Fix ITS#1722 - IPv4 addresses also need to be massaged for sasl_server_new.

22 years agoITS#1727 return allids on unknown filters to allow extended filtering
Howard Chu [Thu, 11 Apr 2002 08:59:30 +0000 (08:59 +0000)]
ITS#1727 return allids on unknown filters to allow extended filtering

22 years agoITS#1734 return error on bad config file
Howard Chu [Thu, 11 Apr 2002 08:51:35 +0000 (08:51 +0000)]
ITS#1734 return error on bad config file

22 years agoITS#1732 signed/unsigned fixes
Howard Chu [Thu, 11 Apr 2002 08:47:37 +0000 (08:47 +0000)]
ITS#1732 signed/unsigned fixes

22 years agoITS#1732 signed/unsigned integers
Howard Chu [Thu, 11 Apr 2002 08:46:34 +0000 (08:46 +0000)]
ITS#1732 signed/unsigned integers

22 years agoITS#1733 eliminate o_abandonmutex
Howard Chu [Thu, 11 Apr 2002 08:08:42 +0000 (08:08 +0000)]
ITS#1733 eliminate o_abandonmutex

22 years agoITS#1733 eliminate o_abandonmutex
Howard Chu [Thu, 11 Apr 2002 08:03:40 +0000 (08:03 +0000)]
ITS#1733 eliminate o_abandonmutex

22 years agoITS#1570 - avoid overflowing array when dups are present in IDLs
Howard Chu [Thu, 11 Apr 2002 08:01:56 +0000 (08:01 +0000)]
ITS#1570 - avoid overflowing array when dups are present in IDLs

22 years agoITS#1735 unused conn.c_uthc_backend, include ldap_pvt.h
Howard Chu [Thu, 11 Apr 2002 07:42:57 +0000 (07:42 +0000)]
ITS#1735 unused conn.c_uthc_backend, include ldap_pvt.h

22 years agoITS#1735 fix typos
Howard Chu [Thu, 11 Apr 2002 07:39:51 +0000 (07:39 +0000)]
ITS#1735 fix typos

22 years agoITS#1736 slapd_shutdown can be unsigned
Howard Chu [Thu, 11 Apr 2002 07:28:30 +0000 (07:28 +0000)]
ITS#1736 slapd_shutdown can be unsigned

22 years agoITS#1613, call ldap_pvt_tls_init after config file is read. ldap.conf doesn't
Howard Chu [Thu, 11 Apr 2002 07:04:12 +0000 (07:04 +0000)]
ITS#1613, call ldap_pvt_tls_init after config file is read. ldap.conf doesn't
get read until much later, too late for TLS_RANDFILE to be useful.

22 years agoAdded/Updated LDAP_LOG messages
Julius Enarusai [Wed, 10 Apr 2002 22:17:09 +0000 (22:17 +0000)]
Added/Updated LDAP_LOG messages

22 years agoAdded/Updated LDAP_LOG messages
Julius Enarusai [Wed, 10 Apr 2002 22:10:22 +0000 (22:10 +0000)]
Added/Updated LDAP_LOG messages

22 years agoSLAP_OP_LAST dependent code needs to be behind SLAP_MONITOR
Kurt Zeilenga [Tue, 9 Apr 2002 23:54:45 +0000 (23:54 +0000)]
SLAP_OP_LAST dependent code needs to be behind SLAP_MONITOR

22 years agoRebuild for ando
Kurt Zeilenga [Tue, 9 Apr 2002 17:27:02 +0000 (17:27 +0000)]
Rebuild for ando

22 years agoITS#1681 - detect bad filter in slap_parseURI() - from Hallvard Furuseth
Howard Chu [Tue, 9 Apr 2002 10:41:15 +0000 (10:41 +0000)]
ITS#1681 - detect bad filter in slap_parseURI() - from Hallvard Furuseth

22 years agodon't count operations per request if back-monitor is not built
Pierangelo Masarati [Mon, 8 Apr 2002 19:13:13 +0000 (19:13 +0000)]
don't count operations per request if back-monitor is not built

22 years ago... and log initiated/completed operations divided per request
Pierangelo Masarati [Mon, 8 Apr 2002 18:41:47 +0000 (18:41 +0000)]
... and log initiated/completed operations divided per request

22 years agocount initiated/completed operations divided per request
Pierangelo Masarati [Mon, 8 Apr 2002 18:41:15 +0000 (18:41 +0000)]
count initiated/completed operations divided per request

22 years agoITS#1730
Pierangelo Masarati [Mon, 8 Apr 2002 18:39:23 +0000 (18:39 +0000)]
ITS#1730

22 years agouse BVC() macro (changed in BER_BVC) to initialize constant bervals
Pierangelo Masarati [Mon, 8 Apr 2002 18:37:37 +0000 (18:37 +0000)]
use BVC() macro (changed in BER_BVC) to initialize constant bervals

22 years agoremoved default arguments from cpp-Files (to build on newer gcc)
Ralf Haferkamp [Mon, 8 Apr 2002 11:51:22 +0000 (11:51 +0000)]
removed default arguments from cpp-Files (to build on newer gcc)

22 years agouniform temporary buf sizes; use automatic buffers instead of heap
Pierangelo Masarati [Mon, 8 Apr 2002 11:09:34 +0000 (11:09 +0000)]
uniform temporary buf sizes; use automatic buffers instead of heap

22 years agoITS#1730 and completion of ITS#1701
Pierangelo Masarati [Mon, 8 Apr 2002 10:34:04 +0000 (10:34 +0000)]
ITS#1730 and completion of ITS#1701

22 years agoMostly based on patches provided by Hallvard B. Furuseth
Pierangelo Masarati [Mon, 8 Apr 2002 09:43:22 +0000 (09:43 +0000)]
Mostly based on patches provided by Hallvard B. Furuseth

ITS#1677 - cast away const warnings
ITS#1678 - unsigned char args to ctype funcs
ITS#1682 - don't redefine ldap_debug
ITS#1683 - uninitialized vars
ITS#1703 - ldo_debug initialization
ITS#1705 - unsigned testing
ITS#1706 - socklen_t args
ITS#1719 - back-tcl update (other cleanups/fixes/improvements; yet untested)
ITS#1724 - integerNormalize/integerFilter/integerIndexer bugs
ITS#1725 - libdes not required

Implement back-null (/dev/null style backend)
Cleanup some misc warnings ("%lu" format, unused/uninitialized vars,
        ambiguous operator precedence)

Kurt, please regenerate configure

22 years agofix ambiguous use of && and || (please check :)
Pierangelo Masarati [Sat, 6 Apr 2002 09:30:24 +0000 (09:30 +0000)]
fix ambiguous use of && and || (please check :)

22 years agoAdded LDAP_LOG messages
Julius Enarusai [Fri, 5 Apr 2002 18:38:59 +0000 (18:38 +0000)]
Added LDAP_LOG messages

22 years agoITS#1709 j was logged uninitialized
Howard Chu [Fri, 5 Apr 2002 06:55:25 +0000 (06:55 +0000)]
ITS#1709 j was logged uninitialized

22 years agoITS#1711 txn was uninitialized
Howard Chu [Fri, 5 Apr 2002 06:54:39 +0000 (06:54 +0000)]
ITS#1711 txn was uninitialized

22 years agoITS#1708 ldap_pvt_tls_sb_ctx() et al
Howard Chu [Fri, 5 Apr 2002 06:48:03 +0000 (06:48 +0000)]
ITS#1708 ldap_pvt_tls_sb_ctx() et al

22 years agoITS#1714 dn->bv_val malloc len+1
Howard Chu [Fri, 5 Apr 2002 06:34:15 +0000 (06:34 +0000)]
ITS#1714 dn->bv_val malloc len+1

22 years agoITS#1716 is_entry_subentr/ies/y/
Howard Chu [Fri, 5 Apr 2002 06:28:52 +0000 (06:28 +0000)]
ITS#1716 is_entry_subentr/ies/y/

22 years agoITS#1726, always use bdb_db_hash().
Howard Chu [Fri, 5 Apr 2002 05:59:04 +0000 (05:59 +0000)]
ITS#1726, always use bdb_db_hash().

22 years agoChange slap_parseURI to use ldap_parse_url. Other struct berval changes.
Howard Chu [Fri, 5 Apr 2002 05:37:01 +0000 (05:37 +0000)]
Change slap_parseURI to use ldap_parse_url. Other struct berval changes.

22 years agoChanged to use lower case for case folding
Stig Venaas [Thu, 4 Apr 2002 12:50:46 +0000 (12:50 +0000)]
Changed to use lower case for case folding

22 years agouse ber_bvcmp where appropriate
Pierangelo Masarati [Wed, 3 Apr 2002 15:43:41 +0000 (15:43 +0000)]
use ber_bvcmp where appropriate

22 years agomissing description in current cunnections number
Pierangelo Masarati [Wed, 3 Apr 2002 15:42:54 +0000 (15:42 +0000)]
missing description in current cunnections number

22 years agovarious acl improvements/cleanups/speedups (need to be documented, though)
Pierangelo Masarati [Wed, 3 Apr 2002 15:42:19 +0000 (15:42 +0000)]
various acl improvements/cleanups/speedups (need to be documented, though)

22 years agoadd a switch that enables/disables reverse lookups if configured with rlookups
Pierangelo Masarati [Wed, 3 Apr 2002 15:40:49 +0000 (15:40 +0000)]
add a switch that enables/disables reverse lookups if configured with rlookups

22 years agoPatch: More format bugs (ITS#1702)
Kurt Zeilenga [Tue, 2 Apr 2002 18:56:26 +0000 (18:56 +0000)]
Patch: More format bugs  (ITS#1702)

================
Written by Hallvard B. Furuseth and placed into the public domain.
This software is not subject to any license of the University of Oslo.

22 years agoITS#1701. Fix ber_scanf() return tag handling.
Kurt Zeilenga [Tue, 2 Apr 2002 18:40:04 +0000 (18:40 +0000)]
ITS#1701.  Fix ber_scanf() return tag handling.
Based upon patch submitted by Hallvard B. Furuseth <h.b.furuseth@usit.uio.no>.

22 years agoClarify error text
Kurt Zeilenga [Tue, 2 Apr 2002 18:16:13 +0000 (18:16 +0000)]
Clarify error text

22 years agofix last part of ITS#1710 (commented code, though)
Pierangelo Masarati [Tue, 2 Apr 2002 14:38:57 +0000 (14:38 +0000)]
fix last part of ITS#1710 (commented code, though)

22 years agoappropriately detect the required conn
Pierangelo Masarati [Tue, 2 Apr 2002 14:25:01 +0000 (14:25 +0000)]
appropriately detect the required conn

22 years agodon't loop any more if connid is found :)
Pierangelo Masarati [Tue, 2 Apr 2002 13:44:30 +0000 (13:44 +0000)]
don't loop any more if connid is found :)

22 years agopartial fulfilment of ITS#1710
Pierangelo Masarati [Tue, 2 Apr 2002 12:27:06 +0000 (12:27 +0000)]
partial fulfilment of ITS#1710

22 years agominor improvement
Pierangelo Masarati [Tue, 2 Apr 2002 11:51:05 +0000 (11:51 +0000)]
minor improvement

22 years agouse ber_bvcmp() whenever possible
Pierangelo Masarati [Tue, 2 Apr 2002 11:41:56 +0000 (11:41 +0000)]
use ber_bvcmp() whenever possible

22 years agofix ITS#1704
Pierangelo Masarati [Tue, 2 Apr 2002 11:16:00 +0000 (11:16 +0000)]
fix ITS#1704

22 years agothe logic of this check was completely reversed; in case '*' is used, on't test the...
Pierangelo Masarati [Tue, 2 Apr 2002 08:18:30 +0000 (08:18 +0000)]
the logic of this check was completely reversed; in case '*' is used, on't test the regula expression

22 years agoAdded LDAP_LOG Messages
Julius Enarusai [Tue, 2 Apr 2002 00:22:57 +0000 (00:22 +0000)]
Added LDAP_LOG Messages

22 years agoAdded LDAP_LOG messages
Julius Enarusai [Mon, 1 Apr 2002 23:39:36 +0000 (23:39 +0000)]
Added LDAP_LOG messages

22 years agoAdded LDAP_LOG messages
Julius Enarusai [Mon, 1 Apr 2002 22:31:44 +0000 (22:31 +0000)]
Added LDAP_LOG messages

22 years agoAdded LDAP_LOG Messages
Julius Enarusai [Mon, 1 Apr 2002 22:28:02 +0000 (22:28 +0000)]
Added LDAP_LOG Messages

22 years agoAdded LDAP_LOG messages
Julius Enarusai [Mon, 1 Apr 2002 22:08:32 +0000 (22:08 +0000)]
Added LDAP_LOG messages

22 years agofix counting twice the substitution length (caused berval to have wrong length, rejec...
Pierangelo Masarati [Sat, 30 Mar 2002 15:44:30 +0000 (15:44 +0000)]
fix counting twice the substitution length (caused berval to have wrong length, rejected by subsequent dnNormalize)

22 years agoallow attribute exclusion list in selective replica
Pierangelo Masarati [Sat, 30 Mar 2002 08:57:41 +0000 (08:57 +0000)]
allow attribute exclusion list in selective replica

22 years agoallow attribute exclusion list in selective replica
Pierangelo Masarati [Sat, 30 Mar 2002 08:52:20 +0000 (08:52 +0000)]
allow attribute exclusion list in selective replica

22 years agoinitialize temporaries
Pierangelo Masarati [Sat, 30 Mar 2002 08:47:13 +0000 (08:47 +0000)]
initialize temporaries

22 years agofix typo
Pierangelo Masarati [Sat, 30 Mar 2002 08:46:35 +0000 (08:46 +0000)]
fix typo

22 years agodo not print -1 as %lu
Pierangelo Masarati [Sat, 30 Mar 2002 08:45:21 +0000 (08:45 +0000)]
do not print -1 as %lu

22 years agodo not return a pointer to an automatic variable in case of success
Pierangelo Masarati [Sat, 30 Mar 2002 08:44:29 +0000 (08:44 +0000)]
do not return a pointer to an automatic variable in case of success

22 years agoSystem loading can now be done in one place...
Kurt Zeilenga [Sat, 30 Mar 2002 01:28:34 +0000 (01:28 +0000)]
System loading can now be done in one place...

22 years agoadd si_syn_octetString to keep syntax load checks in one place.
Kurt Zeilenga [Sat, 30 Mar 2002 01:07:20 +0000 (01:07 +0000)]
add si_syn_octetString to keep syntax load checks in one place.

22 years agomove ldap_int_put_filter to ldap_pvt_put_filter
Kurt Zeilenga [Sat, 30 Mar 2002 00:42:40 +0000 (00:42 +0000)]
move ldap_int_put_filter to ldap_pvt_put_filter
and other cleanup

22 years agomove ldap_int_put_filter to ldap_pvt_put_filter
Kurt Zeilenga [Sat, 30 Mar 2002 00:41:26 +0000 (00:41 +0000)]
move ldap_int_put_filter to ldap_pvt_put_filter

22 years agofinish zapping url_search
Kurt Zeilenga [Fri, 29 Mar 2002 21:06:31 +0000 (21:06 +0000)]
finish zapping url_search