]>
git.sur5r.net Git - openldap/log
Kurt Zeilenga [Sun, 16 Mar 2003 19:09:07 +0000 (19:09 +0000)]
SLAP_NVALUES: still chasing an extranous free... this just saves
an unneccessary malloc. (Actually, we should likely use local
filter structure to read things into and then malloc/copy once
we're sure there are no errors.)
Kurt Zeilenga [Sun, 16 Mar 2003 18:48:44 +0000 (18:48 +0000)]
reorder to statements for debugging purposes
Kurt Zeilenga [Sun, 16 Mar 2003 18:10:16 +0000 (18:10 +0000)]
SLAP_NVALUES changes
and misc cleanup
Howard Chu [Sun, 16 Mar 2003 12:34:40 +0000 (12:34 +0000)]
ITS#2382 use ch_calloc
Kurt Zeilenga [Sun, 16 Mar 2003 06:41:53 +0000 (06:41 +0000)]
SLAP_NVALUES updates
Kurt Zeilenga [Sun, 16 Mar 2003 06:03:23 +0000 (06:03 +0000)]
SLAP_NVALUES updates
Kurt Zeilenga [Sun, 16 Mar 2003 01:39:39 +0000 (01:39 +0000)]
SLAP_NVALUES: value_find v value_find_ex
Kurt Zeilenga [Sat, 15 Mar 2003 23:59:14 +0000 (23:59 +0000)]
Not sure why these asserts are failing... too tired to figure it...
so #ifdef for now.
Kurt Zeilenga [Sat, 15 Mar 2003 23:36:23 +0000 (23:36 +0000)]
Fix typo (ITS#2379)
Kurt Zeilenga [Sat, 15 Mar 2003 23:02:55 +0000 (23:02 +0000)]
Fix test006-acls
Kurt Zeilenga [Sat, 15 Mar 2003 22:47:17 +0000 (22:47 +0000)]
NVALUES: fix a couple of value_find_ex() calls
Kurt Zeilenga [Sat, 15 Mar 2003 19:45:36 +0000 (19:45 +0000)]
Add some additional error checking...
but haven't yet figured out why NVALUES crashes in test003
Howard Chu [Fri, 14 Mar 2003 09:42:18 +0000 (09:42 +0000)]
Plug leaks in controls_destroy()
Howard Chu [Fri, 14 Mar 2003 09:37:27 +0000 (09:37 +0000)]
Plug leaks. (benign. slap_controls and root_dse need a destroy() still,
also still need to clear mr's from the ad_map.)
Kurt Zeilenga [Fri, 14 Mar 2003 04:56:08 +0000 (04:56 +0000)]
just in case <netdb.h> does something like
#define h_errno (* __h_errno())
Howard Chu [Fri, 14 Mar 2003 04:25:39 +0000 (04:25 +0000)]
ITS#2373 add declaration of h_errno
Howard Chu [Thu, 13 Mar 2003 15:53:19 +0000 (15:53 +0000)]
ITS#2371, fix BDB_SUBDIRs
Kurt Zeilenga [Thu, 13 Mar 2003 04:16:18 +0000 (04:16 +0000)]
minor cleanup
Howard Chu [Thu, 13 Mar 2003 02:01:14 +0000 (02:01 +0000)]
Fix version check in previous
Howard Chu [Thu, 13 Mar 2003 01:58:26 +0000 (01:58 +0000)]
ITS#2356 - support Perl newer than 5.6
Kurt Zeilenga [Thu, 13 Mar 2003 01:29:49 +0000 (01:29 +0000)]
Minor tweaks
Kurt Zeilenga [Thu, 13 Mar 2003 01:05:40 +0000 (01:05 +0000)]
Use BER_BVC
Kurt Zeilenga [Thu, 13 Mar 2003 00:53:40 +0000 (00:53 +0000)]
Fix typo in last commit
Kurt Zeilenga [Thu, 13 Mar 2003 00:51:06 +0000 (00:51 +0000)]
Another comment.
Kurt Zeilenga [Thu, 13 Mar 2003 00:50:30 +0000 (00:50 +0000)]
Add comment that this schema is invalid
Howard Chu [Wed, 12 Mar 2003 23:07:09 +0000 (23:07 +0000)]
Fix up lutil_passwd stuff to avoid struct berval definition
Howard Chu [Wed, 12 Mar 2003 21:51:17 +0000 (21:51 +0000)]
ITS#2366 typos
Howard Chu [Wed, 12 Mar 2003 21:18:39 +0000 (21:18 +0000)]
ITS#2368 - fix deleting key from range IDL
Howard Chu [Wed, 12 Mar 2003 21:16:43 +0000 (21:16 +0000)]
Fix error messages
Jong Hyuk Choi [Wed, 12 Mar 2003 16:37:04 +0000 (16:37 +0000)]
Error checking code for ITS#2367
Jong Hyuk Choi [Wed, 12 Mar 2003 16:36:28 +0000 (16:36 +0000)]
declaration of bdb_idl_entry_cmp()
Jong Hyuk Choi [Wed, 12 Mar 2003 16:34:17 +0000 (16:34 +0000)]
AVL delete upon shutdown (ITS#2367)
Kurt Zeilenga [Wed, 12 Mar 2003 16:25:20 +0000 (16:25 +0000)]
clarify "by anonymous auth" semantics
Howard Chu [Wed, 12 Mar 2003 15:20:51 +0000 (15:20 +0000)]
Fix cache consistency problems on txn retry
Howard Chu [Wed, 12 Mar 2003 13:40:54 +0000 (13:40 +0000)]
ITS#2348 - revert previous patch, use patch from ITS
Howard Chu [Wed, 12 Mar 2003 13:10:22 +0000 (13:10 +0000)]
Added lutil_passwd_init(), lutil_passwd_destroy()
Howard Chu [Wed, 12 Mar 2003 13:05:19 +0000 (13:05 +0000)]
#ifndef SLAP_NVALUES asserted berval was leaked
Howard Chu [Wed, 12 Mar 2003 13:04:23 +0000 (13:04 +0000)]
Plug memory leaks:
retrying a modrdn leaked DNs, rdns, etc.
modifying a cached entry leaked attrs
Howard Chu [Wed, 12 Mar 2003 10:45:00 +0000 (10:45 +0000)]
ITS#2348, additional check to prevent re-inserting IDs that are
already present. Hopefully the final fix...
Howard Chu [Wed, 12 Mar 2003 04:38:12 +0000 (04:38 +0000)]
ITS#2253 - when StartTLS fails, slapd closes the connection so slurpd
must unbind and re-initialize the LDAP session.
Howard Chu [Wed, 12 Mar 2003 03:23:09 +0000 (03:23 +0000)]
Add comment to previous
Howard Chu [Wed, 12 Mar 2003 02:33:53 +0000 (02:33 +0000)]
ITS#2365 - preserve internal ber_tag as well as ber_ptr for rewinding.
Pierangelo Masarati [Tue, 11 Mar 2003 18:25:51 +0000 (18:25 +0000)]
use an "unknown" listener name/url when faking connections
Pierangelo Masarati [Tue, 11 Mar 2003 18:09:38 +0000 (18:09 +0000)]
fix ITS#2362 and other leaks/unhandled massaged DN memory
Kurt Zeilenga [Tue, 11 Mar 2003 17:26:57 +0000 (17:26 +0000)]
Tweak SLAP_OP_BLOCKS
Pierangelo Masarati [Tue, 11 Mar 2003 12:26:05 +0000 (12:26 +0000)]
#include reordering
Pierangelo Masarati [Tue, 11 Mar 2003 12:25:39 +0000 (12:25 +0000)]
silence warning
Pierangelo Masarati [Tue, 11 Mar 2003 12:24:38 +0000 (12:24 +0000)]
cleanup cache search
Pierangelo Masarati [Tue, 11 Mar 2003 12:24:14 +0000 (12:24 +0000)]
cleanup bind
Pierangelo Masarati [Tue, 11 Mar 2003 12:23:20 +0000 (12:23 +0000)]
(ultimately?) fix ITS#2361
Howard Chu [Tue, 11 Mar 2003 10:39:32 +0000 (10:39 +0000)]
Added proposed request parameters to Operation. #ifdef'd, not active.
Replaces "be, conn, op" triple with just "op" for most functions. Removes
individual arguments from backend op functions. Please review/comment.
Howard Chu [Tue, 11 Mar 2003 05:58:53 +0000 (05:58 +0000)]
Added lutil_passwd_init, _destroy, _add for dynamically adding passwd
schemes. Declarations in lutil.h require lutil.h never be included before
lber.h, always after.
Howard Chu [Mon, 10 Mar 2003 22:28:35 +0000 (22:28 +0000)]
ITS#2361, skip sockname, peername, peerdomain, sockurl ACLs if the
corresponding conn->field is NULL. (overwrites previous commit.)
Pierangelo Masarati [Mon, 10 Mar 2003 22:19:32 +0000 (22:19 +0000)]
check conn->c_listener before use (hack to fix ITS#2361; need to review this part of slapi)
Howard Chu [Mon, 10 Mar 2003 22:07:21 +0000 (22:07 +0000)]
Added op->o_is_auth_check; use ACL_AUTH instead of ACL_SEARCH/ACL_READ
in access_allowed() if flag is set. Set in sasl/saslauth searches.
Howard Chu [Mon, 10 Mar 2003 19:13:38 +0000 (19:13 +0000)]
Blind fix - remove suffixalias.c
Kurt Zeilenga [Mon, 10 Mar 2003 15:41:55 +0000 (15:41 +0000)]
Add comment about LDAPv2
Kurt Zeilenga [Mon, 10 Mar 2003 15:34:14 +0000 (15:34 +0000)]
LDAPv2 is Historic
Pierangelo Masarati [Mon, 10 Mar 2003 07:36:42 +0000 (07:36 +0000)]
fix log message (ITS#2359)
Kurt Zeilenga [Sun, 9 Mar 2003 20:15:30 +0000 (20:15 +0000)]
need to use ch_malloc/realloc
Kurt Zeilenga [Sun, 9 Mar 2003 20:11:12 +0000 (20:11 +0000)]
Use ch_malloc instead of malloc for unchecked allocations
Howard Chu [Sun, 9 Mar 2003 01:03:41 +0000 (01:03 +0000)]
Add copyright notice
Howard Chu [Fri, 7 Mar 2003 21:10:02 +0000 (21:10 +0000)]
Blind fix, delete obsolete files cache.c, authpasswd.c
Kurt Zeilenga [Fri, 7 Mar 2003 18:57:30 +0000 (18:57 +0000)]
suffixalias is no longer supported
Howard Chu [Fri, 7 Mar 2003 12:40:37 +0000 (12:40 +0000)]
Don't call strlen ourselves, SASL getopt returns the lengths
Kurt Zeilenga [Thu, 6 Mar 2003 20:20:13 +0000 (20:20 +0000)]
Redefine queryid
Jong Hyuk Choi [Thu, 6 Mar 2003 19:44:41 +0000 (19:44 +0000)]
Commit of the Proxy Cache contribution (ITS#2062)
from IBM India Research (Apurva Kumar)
Code review by Pierangelo, Kurt, and Jong.
Howard Chu [Thu, 6 Mar 2003 14:53:01 +0000 (14:53 +0000)]
Chasing a referral needs both the request and response mutexes.
Unlock and relock... (yuck)
Howard Chu [Thu, 6 Mar 2003 14:50:39 +0000 (14:50 +0000)]
Pass correct msgid to ldap_result
Howard Chu [Thu, 6 Mar 2003 12:08:39 +0000 (12:08 +0000)]
Technically, since the authid is expected to be a normalized DN, uidNumber
and gidNumber should be all lower case: uidnumber,gidnumber. Is it too late
to fix this, would it break compatibility for anything major?
Kurt Zeilenga [Thu, 6 Mar 2003 01:00:05 +0000 (01:00 +0000)]
call LDAPv2 what it is (historical)
Kurt Zeilenga [Thu, 6 Mar 2003 00:38:42 +0000 (00:38 +0000)]
rebuild
Howard Chu [Thu, 6 Mar 2003 00:16:32 +0000 (00:16 +0000)]
ITS#2348: fix previous commit
Howard Chu [Wed, 5 Mar 2003 23:10:32 +0000 (23:10 +0000)]
ITS#2348: cont_alloc/cont_free cleanup in idl_insert_key
Jong Hyuk Choi [Wed, 5 Mar 2003 03:34:59 +0000 (03:34 +0000)]
misc : not activating idl cache in tool mode run
Howard Chu [Wed, 5 Mar 2003 02:22:58 +0000 (02:22 +0000)]
Fix LDAP_DEBUG/LDAP_SYSLOG test
Howard Chu [Wed, 5 Mar 2003 01:53:32 +0000 (01:53 +0000)]
Use ldap_pvt_get_hname instead of ldap_pvt_gethostbyaddr_a
Howard Chu [Wed, 5 Mar 2003 01:53:03 +0000 (01:53 +0000)]
Silence warnings in prev commit
Howard Chu [Wed, 5 Mar 2003 01:37:56 +0000 (01:37 +0000)]
Silence warning in prev commit
Howard Chu [Wed, 5 Mar 2003 01:35:39 +0000 (01:35 +0000)]
Added ldap_pvt_get_hname. Use instead of ldap_pvt_gethostbyaddr_a when
all you want is the hostname. Supports IPv6 addresses.
Howard Chu [Wed, 5 Mar 2003 01:34:31 +0000 (01:34 +0000)]
Added ldap_pvt_get_hname. Use instead of ldap_pvt_gethostbyaddr_a when
all you want is the hostname.
Howard Chu [Wed, 5 Mar 2003 01:33:36 +0000 (01:33 +0000)]
Add NI_MAXHOST if not defined; normally in <netdb.h> on IPv6 systems
Howard Chu [Wed, 5 Mar 2003 01:32:41 +0000 (01:32 +0000)]
For IPv6 check for getnameinfo as well as getaddrinfo
Howard Chu [Tue, 4 Mar 2003 22:14:57 +0000 (22:14 +0000)]
Minor cleanup for sendmsg
Kurt Zeilenga [Tue, 4 Mar 2003 21:52:23 +0000 (21:52 +0000)]
Fix initializer
Kurt Zeilenga [Tue, 4 Mar 2003 21:49:21 +0000 (21:49 +0000)]
fix initializer
Kurt Zeilenga [Tue, 4 Mar 2003 21:45:59 +0000 (21:45 +0000)]
Fix initializer
Howard Chu [Tue, 4 Mar 2003 21:17:31 +0000 (21:17 +0000)]
Multiple-suffix fail msg should be logged at ERR/ANY, not ARGS.
Pierangelo Masarati [Tue, 4 Mar 2003 09:46:48 +0000 (09:46 +0000)]
more improvements ...
Pierangelo Masarati [Tue, 4 Mar 2003 09:43:12 +0000 (09:43 +0000)]
improve last commit
Pierangelo Masarati [Tue, 4 Mar 2003 09:16:57 +0000 (09:16 +0000)]
silence warning
Howard Chu [Mon, 3 Mar 2003 23:44:22 +0000 (23:44 +0000)]
Fix ITS#2344, prev commit changed too much.
Pierangelo Masarati [Mon, 3 Mar 2003 23:06:58 +0000 (23:06 +0000)]
apply a different fix for ITS#2342
Pierangelo Masarati [Mon, 3 Mar 2003 22:56:21 +0000 (22:56 +0000)]
improve checks
Pierangelo Masarati [Mon, 3 Mar 2003 22:25:28 +0000 (22:25 +0000)]
fix ITS#2343
Pierangelo Masarati [Mon, 3 Mar 2003 21:33:29 +0000 (21:33 +0000)]
init var
Pierangelo Masarati [Mon, 3 Mar 2003 21:32:58 +0000 (21:32 +0000)]
set return code
Pierangelo Masarati [Mon, 3 Mar 2003 21:32:08 +0000 (21:32 +0000)]
silence warning
Pierangelo Masarati [Mon, 3 Mar 2003 21:31:47 +0000 (21:31 +0000)]
initialize var
Pierangelo Masarati [Mon, 3 Mar 2003 21:31:00 +0000 (21:31 +0000)]
declare ldap_[parse_]passwd