]>
git.sur5r.net Git - openldap/log
Howard Chu [Thu, 18 Apr 2002 15:55:05 +0000 (15:55 +0000)]
Fix memory leak in previous commit
Howard Chu [Thu, 18 Apr 2002 12:29:30 +0000 (12:29 +0000)]
Added ldap_X509dn2bv()
deleted ldap_pvt_tls_get_peer()
changed ldap_pvt_tls_get_peer_dn() to use ldap_X509dn2bv()
added ldap_pvt_tls_get_my_dn()
Howard Chu [Thu, 18 Apr 2002 12:26:36 +0000 (12:26 +0000)]
deleted sasl_external_x509dn_convert; X509 DNs are always converted to
normalized LDAP DNs now.
Changed dnDCEnormalize to dnX509normalize, added dnX509peerNormalize,
based on new ldap_X509dn2bv() etc.
Howard Chu [Thu, 18 Apr 2002 12:21:33 +0000 (12:21 +0000)]
Fix slap_bv2ad initializing with wrong bv_len
Howard Chu [Thu, 18 Apr 2002 12:20:55 +0000 (12:20 +0000)]
Fix warnings from sasl_errdetail
Howard Chu [Thu, 18 Apr 2002 00:48:36 +0000 (00:48 +0000)]
Additional error reporting for Cyrus SASL 2. Attempt to get SASL-EXTERNAL
working ifor Cyrus 2. (Both GSSAPI and EXTERNAL are broken at the moment.)
Howard Chu [Wed, 17 Apr 2002 19:47:34 +0000 (19:47 +0000)]
Delete more unused code, no need to fetch REALM in slap_sasl_bind
Kurt Zeilenga [Wed, 17 Apr 2002 19:03:01 +0000 (19:03 +0000)]
Need to include <ldap_schema.h>.
Kurt Zeilenga [Wed, 17 Apr 2002 17:56:30 +0000 (17:56 +0000)]
Fix ssf declaration
Kurt Zeilenga [Wed, 17 Apr 2002 17:54:52 +0000 (17:54 +0000)]
NEW_LOGGING bugs (ITS#1730)
Here a patch for another: A spurious `"' in back-ldbm.
From Hallvard.
Howard Chu [Wed, 17 Apr 2002 07:56:46 +0000 (07:56 +0000)]
More SASL DN simplification. No more "dn:" prefix used anywhere internally.
Julius Enarusai [Tue, 16 Apr 2002 20:11:09 +0000 (20:11 +0000)]
Added LDAP_LOG Messages
Julius Enarusai [Tue, 16 Apr 2002 19:23:49 +0000 (19:23 +0000)]
Added LDAP_LOG Messages
Jong Hyuk Choi [Tue, 16 Apr 2002 14:03:13 +0000 (14:03 +0000)]
Hallvard B. Furuseth's patch for cache lock and mutex
Howard Chu [Tue, 16 Apr 2002 12:53:13 +0000 (12:53 +0000)]
ITS#818, ITS#980, ITS#1234 ldapsearch/referral hang - set refer_cnt to 0
after v3refs have been chased. They are fully processed by the time we get
back, so we should just return the current result message to the caller.
Howard Chu [Tue, 16 Apr 2002 08:46:25 +0000 (08:46 +0000)]
ITS#1712, rewritten dn_openssl2ldap(). Added dnDCEnormalize(), used by
dn_openssl2ldap() and sasl_external_x509dn_convert. Fixed realm handling
for foreign Kerberos realms embedded in usernames.
Luke Howard [Tue, 16 Apr 2002 05:36:22 +0000 (05:36 +0000)]
correct sponsor name
Howard Chu [Tue, 16 Apr 2002 04:58:41 +0000 (04:58 +0000)]
Add "nentries" to send_search_result() Statslog message. Suggested
by ITS#1360.
Luke Howard [Tue, 16 Apr 2002 04:25:44 +0000 (04:25 +0000)]
ITS#1646
Howard Chu [Tue, 16 Apr 2002 04:05:51 +0000 (04:05 +0000)]
ITS#1720 chk_sasl for Cyrus SASL 2
Luke Howard [Tue, 16 Apr 2002 04:04:40 +0000 (04:04 +0000)]
ITS#1659 - forgot to define n_a
Luke Howard [Tue, 16 Apr 2002 03:59:22 +0000 (03:59 +0000)]
ITS#1659: s/na/n_a/
Luke Howard [Tue, 16 Apr 2002 03:58:21 +0000 (03:58 +0000)]
ITS#1729, #1659
Luke Howard [Tue, 16 Apr 2002 03:56:23 +0000 (03:56 +0000)]
ITS#1729
Luke Howard [Tue, 16 Apr 2002 03:51:51 +0000 (03:51 +0000)]
ITS#1676
Luke Howard [Tue, 16 Apr 2002 03:47:39 +0000 (03:47 +0000)]
ITS#1659
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.
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.
Julius Enarusai [Mon, 15 Apr 2002 20:40:15 +0000 (20:40 +0000)]
Added LDAP_LOG Messages
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.
Julius Enarusai [Mon, 15 Apr 2002 20:28:16 +0000 (20:28 +0000)]
Added LDAP_LOG Messages
Julius Enarusai [Mon, 15 Apr 2002 20:18:47 +0000 (20:18 +0000)]
Added LDAP_LOG Messages
Julius Enarusai [Mon, 15 Apr 2002 20:05:06 +0000 (20:05 +0000)]
Added LDAP_LOG Messages
Julius Enarusai [Mon, 15 Apr 2002 19:37:49 +0000 (19:37 +0000)]
Added LDAP_LOG Messages
Pierangelo Masarati [Mon, 15 Apr 2002 19:18:54 +0000 (19:18 +0000)]
document the -t switch
Julius Enarusai [Mon, 15 Apr 2002 19:16:32 +0000 (19:16 +0000)]
Added LDAP_LOG Messages
Julius Enarusai [Mon, 15 Apr 2002 18:59:20 +0000 (18:59 +0000)]
Added LDAP_LOG Messages
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.
Kurt Zeilenga [Mon, 15 Apr 2002 18:14:02 +0000 (18:14 +0000)]
trim finger from release
Kurt Zeilenga [Mon, 15 Apr 2002 18:12:42 +0000 (18:12 +0000)]
Trim finger from HEAD
Julius Enarusai [Mon, 15 Apr 2002 17:57:44 +0000 (17:57 +0000)]
Added LDAP_LOG messages
Pierangelo Masarati [Mon, 15 Apr 2002 17:32:08 +0000 (17:32 +0000)]
add '-t' switch for clean config check; cleanup usage() messages
Kurt Zeilenga [Mon, 15 Apr 2002 17:17:34 +0000 (17:17 +0000)]
Align --help
Kurt Zeilenga [Mon, 15 Apr 2002 16:45:02 +0000 (16:45 +0000)]
Fix include order
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)
Howard Chu [Sun, 14 Apr 2002 04:27:46 +0000 (04:27 +0000)]
Fix name canonicalization and authorization for Cyrus SASL 2.x
Howard Chu [Sun, 14 Apr 2002 04:15:17 +0000 (04:15 +0000)]
Previous commit included undesired changes.
Howard Chu [Sat, 13 Apr 2002 17:27:02 +0000 (17:27 +0000)]
Fix previous commit, == instead of !=
Pierangelo Masarati [Sat, 13 Apr 2002 15:08:03 +0000 (15:08 +0000)]
updates SEE ALSO section
Pierangelo Masarati [Sat, 13 Apr 2002 15:07:40 +0000 (15:07 +0000)]
fix typo
Howard Chu [Sat, 13 Apr 2002 10:56:16 +0000 (10:56 +0000)]
ITS#1740
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()
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.
Howard Chu [Thu, 11 Apr 2002 08:59:30 +0000 (08:59 +0000)]
ITS#1727 return allids on unknown filters to allow extended filtering
Howard Chu [Thu, 11 Apr 2002 08:51:35 +0000 (08:51 +0000)]
ITS#1734 return error on bad config file
Howard Chu [Thu, 11 Apr 2002 08:47:37 +0000 (08:47 +0000)]
ITS#1732 signed/unsigned fixes
Howard Chu [Thu, 11 Apr 2002 08:46:34 +0000 (08:46 +0000)]
ITS#1732 signed/unsigned integers
Howard Chu [Thu, 11 Apr 2002 08:08:42 +0000 (08:08 +0000)]
ITS#1733 eliminate o_abandonmutex
Howard Chu [Thu, 11 Apr 2002 08:03:40 +0000 (08:03 +0000)]
ITS#1733 eliminate o_abandonmutex
Howard Chu [Thu, 11 Apr 2002 08:01:56 +0000 (08:01 +0000)]
ITS#1570 - avoid overflowing array when dups are present in IDLs
Howard Chu [Thu, 11 Apr 2002 07:42:57 +0000 (07:42 +0000)]
ITS#1735 unused conn.c_uthc_backend, include ldap_pvt.h
Howard Chu [Thu, 11 Apr 2002 07:39:51 +0000 (07:39 +0000)]
ITS#1735 fix typos
Howard Chu [Thu, 11 Apr 2002 07:28:30 +0000 (07:28 +0000)]
ITS#1736 slapd_shutdown can be unsigned
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.
Julius Enarusai [Wed, 10 Apr 2002 22:17:09 +0000 (22:17 +0000)]
Added/Updated LDAP_LOG messages
Julius Enarusai [Wed, 10 Apr 2002 22:10:22 +0000 (22:10 +0000)]
Added/Updated LDAP_LOG messages
Kurt Zeilenga [Tue, 9 Apr 2002 23:54:45 +0000 (23:54 +0000)]
SLAP_OP_LAST dependent code needs to be behind SLAP_MONITOR
Kurt Zeilenga [Tue, 9 Apr 2002 17:27:02 +0000 (17:27 +0000)]
Rebuild for ando
Howard Chu [Tue, 9 Apr 2002 10:41:15 +0000 (10:41 +0000)]
ITS#1681 - detect bad filter in slap_parseURI() - from Hallvard Furuseth
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
Pierangelo Masarati [Mon, 8 Apr 2002 18:41:47 +0000 (18:41 +0000)]
... and log 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
Pierangelo Masarati [Mon, 8 Apr 2002 18:39:23 +0000 (18:39 +0000)]
ITS#1730
Pierangelo Masarati [Mon, 8 Apr 2002 18:37:37 +0000 (18:37 +0000)]
use BVC() macro (changed in BER_BVC) to initialize constant bervals
Ralf Haferkamp [Mon, 8 Apr 2002 11:51:22 +0000 (11:51 +0000)]
removed default arguments from cpp-Files (to build on newer gcc)
Pierangelo Masarati [Mon, 8 Apr 2002 11:09:34 +0000 (11:09 +0000)]
uniform temporary buf sizes; use automatic buffers instead of heap
Pierangelo Masarati [Mon, 8 Apr 2002 10:34:04 +0000 (10:34 +0000)]
ITS#1730 and completion of ITS#1701
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
Pierangelo Masarati [Sat, 6 Apr 2002 09:30:24 +0000 (09:30 +0000)]
fix ambiguous use of && and || (please check :)
Julius Enarusai [Fri, 5 Apr 2002 18:38:59 +0000 (18:38 +0000)]
Added LDAP_LOG messages
Howard Chu [Fri, 5 Apr 2002 06:55:25 +0000 (06:55 +0000)]
ITS#1709 j was logged uninitialized
Howard Chu [Fri, 5 Apr 2002 06:54:39 +0000 (06:54 +0000)]
ITS#1711 txn was uninitialized
Howard Chu [Fri, 5 Apr 2002 06:48:03 +0000 (06:48 +0000)]
ITS#1708 ldap_pvt_tls_sb_ctx() et al
Howard Chu [Fri, 5 Apr 2002 06:34:15 +0000 (06:34 +0000)]
ITS#1714 dn->bv_val malloc len+1
Howard Chu [Fri, 5 Apr 2002 06:28:52 +0000 (06:28 +0000)]
ITS#1716 is_entry_subentr/ies/y/
Howard Chu [Fri, 5 Apr 2002 05:59:04 +0000 (05:59 +0000)]
ITS#1726, always use bdb_db_hash().
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.
Stig Venaas [Thu, 4 Apr 2002 12:50:46 +0000 (12:50 +0000)]
Changed to use lower case for case folding
Pierangelo Masarati [Wed, 3 Apr 2002 15:43:41 +0000 (15:43 +0000)]
use ber_bvcmp where appropriate
Pierangelo Masarati [Wed, 3 Apr 2002 15:42:54 +0000 (15:42 +0000)]
missing description in current cunnections number
Pierangelo Masarati [Wed, 3 Apr 2002 15:42:19 +0000 (15:42 +0000)]
various acl improvements/cleanups/speedups (need to be documented, though)
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
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.
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>.
Kurt Zeilenga [Tue, 2 Apr 2002 18:16:13 +0000 (18:16 +0000)]
Clarify error text
Pierangelo Masarati [Tue, 2 Apr 2002 14:38:57 +0000 (14:38 +0000)]
fix last part of ITS#1710 (commented code, though)
Pierangelo Masarati [Tue, 2 Apr 2002 14:25:01 +0000 (14:25 +0000)]
appropriately detect the required conn
Pierangelo Masarati [Tue, 2 Apr 2002 13:44:30 +0000 (13:44 +0000)]
don't loop any more if connid is found :)
Pierangelo Masarati [Tue, 2 Apr 2002 12:27:06 +0000 (12:27 +0000)]
partial fulfilment of ITS#1710
Pierangelo Masarati [Tue, 2 Apr 2002 11:51:05 +0000 (11:51 +0000)]
minor improvement