]> git.ipfire.org Git - thirdparty/openldap.git/log
thirdparty/openldap.git
23 years agoNew version.h to replace mkversion
Howard Chu [Tue, 18 Mar 2003 22:50:07 +0000 (22:50 +0000)] 
New version.h to replace mkversion

23 years agoITS#2385 fix typo in comment terminator
Howard Chu [Tue, 18 Mar 2003 17:52:48 +0000 (17:52 +0000)] 
ITS#2385 fix typo in comment terminator

23 years agovalue is parsed in place; minor cleanup
Pierangelo Masarati [Tue, 18 Mar 2003 14:38:40 +0000 (14:38 +0000)] 
value is parsed in place; minor cleanup

23 years agodocument -u option
Pierangelo Masarati [Tue, 18 Mar 2003 10:38:23 +0000 (10:38 +0000)] 
document -u option

23 years agoDon't use DB_AUTO_COMMIT when opening a database
Howard Chu [Tue, 18 Mar 2003 00:04:16 +0000 (00:04 +0000)] 
Don't use DB_AUTO_COMMIT when opening a database

23 years agoreplace get_substring_filter with get_ssa()
Kurt Zeilenga [Mon, 17 Mar 2003 06:06:02 +0000 (06:06 +0000)] 
replace get_substring_filter with get_ssa()

23 years agoSLAP_NVALUES: fix values_find_ex call
Kurt Zeilenga [Mon, 17 Mar 2003 00:30:35 +0000 (00:30 +0000)] 
SLAP_NVALUES: fix values_find_ex call

23 years agoSLAP_NVALUES: more fixes
Kurt Zeilenga [Mon, 17 Mar 2003 00:27:33 +0000 (00:27 +0000)] 
SLAP_NVALUES: more fixes

23 years agoSLAP_NVALUES updates
Kurt Zeilenga [Mon, 17 Mar 2003 00:10:43 +0000 (00:10 +0000)] 
SLAP_NVALUES updates

23 years agoUndo last commit
Kurt Zeilenga [Sun, 16 Mar 2003 23:54:40 +0000 (23:54 +0000)] 
Undo last commit

23 years agoSLAP_NVALUES: remove all the extra frees
Kurt Zeilenga [Sun, 16 Mar 2003 23:54:22 +0000 (23:54 +0000)] 
SLAP_NVALUES: remove all the extra frees

23 years agoSLAP_NVALUES: fix extraneous free bug.
Kurt Zeilenga [Sun, 16 Mar 2003 23:52:44 +0000 (23:52 +0000)] 
SLAP_NVALUES: fix extraneous free bug.

23 years agoFix typos in last commit
Kurt Zeilenga [Sun, 16 Mar 2003 21:58:00 +0000 (21:58 +0000)] 
Fix typos in last commit
Still chasing SLAP_NVALUES trashed filter bug

23 years agoRewrite filter routines to malloc() late.
Kurt Zeilenga [Sun, 16 Mar 2003 21:50:39 +0000 (21:50 +0000)] 
Rewrite filter routines to malloc() late.

23 years agoSLAP_NVALUES: still chasing an extranous free... this just saves
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.)

23 years agoreorder to statements for debugging purposes
Kurt Zeilenga [Sun, 16 Mar 2003 18:48:44 +0000 (18:48 +0000)] 
reorder to statements for debugging purposes

23 years agoSLAP_NVALUES changes
Kurt Zeilenga [Sun, 16 Mar 2003 18:10:16 +0000 (18:10 +0000)] 
SLAP_NVALUES changes
and misc cleanup

23 years agoITS#2382 use ch_calloc
Howard Chu [Sun, 16 Mar 2003 12:34:40 +0000 (12:34 +0000)] 
ITS#2382 use ch_calloc

23 years agoSLAP_NVALUES updates
Kurt Zeilenga [Sun, 16 Mar 2003 06:41:53 +0000 (06:41 +0000)] 
SLAP_NVALUES updates

23 years agoSLAP_NVALUES updates
Kurt Zeilenga [Sun, 16 Mar 2003 06:03:23 +0000 (06:03 +0000)] 
SLAP_NVALUES updates

23 years agoSLAP_NVALUES: value_find v value_find_ex
Kurt Zeilenga [Sun, 16 Mar 2003 01:39:39 +0000 (01:39 +0000)] 
SLAP_NVALUES: value_find v value_find_ex

23 years agoNot sure why these asserts are failing... too tired to figure it...
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.

23 years agoFix typo (ITS#2379)
Kurt Zeilenga [Sat, 15 Mar 2003 23:36:23 +0000 (23:36 +0000)] 
Fix typo (ITS#2379)

23 years agoFix test006-acls
Kurt Zeilenga [Sat, 15 Mar 2003 23:02:55 +0000 (23:02 +0000)] 
Fix test006-acls

23 years agoNVALUES: fix a couple of value_find_ex() calls
Kurt Zeilenga [Sat, 15 Mar 2003 22:47:17 +0000 (22:47 +0000)] 
NVALUES: fix a couple of value_find_ex() calls

23 years agoAdd some additional error checking...
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

23 years agoPlug leaks in controls_destroy()
Howard Chu [Fri, 14 Mar 2003 09:42:18 +0000 (09:42 +0000)] 
Plug leaks in controls_destroy()

23 years agoPlug leaks. (benign. slap_controls and root_dse need a destroy() still,
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.)

23 years agojust in case <netdb.h> does something like
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())

23 years agoITS#2373 add declaration of h_errno
Howard Chu [Fri, 14 Mar 2003 04:25:39 +0000 (04:25 +0000)] 
ITS#2373 add declaration of h_errno

23 years agoITS#2371, fix BDB_SUBDIRs
Howard Chu [Thu, 13 Mar 2003 15:53:19 +0000 (15:53 +0000)] 
ITS#2371, fix BDB_SUBDIRs

23 years agominor cleanup
Kurt Zeilenga [Thu, 13 Mar 2003 04:16:18 +0000 (04:16 +0000)] 
minor cleanup

23 years agoFix version check in previous
Howard Chu [Thu, 13 Mar 2003 02:01:14 +0000 (02:01 +0000)] 
Fix version check in previous

23 years agoITS#2356 - support Perl newer than 5.6
Howard Chu [Thu, 13 Mar 2003 01:58:26 +0000 (01:58 +0000)] 
ITS#2356 - support Perl newer than 5.6

23 years agoMinor tweaks
Kurt Zeilenga [Thu, 13 Mar 2003 01:29:49 +0000 (01:29 +0000)] 
Minor tweaks

23 years agoUse BER_BVC
Kurt Zeilenga [Thu, 13 Mar 2003 01:05:40 +0000 (01:05 +0000)] 
Use BER_BVC

23 years agoFix typo in last commit
Kurt Zeilenga [Thu, 13 Mar 2003 00:53:40 +0000 (00:53 +0000)] 
Fix typo in last commit

23 years agoAnother comment.
Kurt Zeilenga [Thu, 13 Mar 2003 00:51:06 +0000 (00:51 +0000)] 
Another comment.

23 years agoAdd comment that this schema is invalid
Kurt Zeilenga [Thu, 13 Mar 2003 00:50:30 +0000 (00:50 +0000)] 
Add comment that this schema is invalid

23 years agoFix up lutil_passwd stuff to avoid struct berval definition
Howard Chu [Wed, 12 Mar 2003 23:07:09 +0000 (23:07 +0000)] 
Fix up lutil_passwd stuff to avoid struct berval definition

23 years agoITS#2366 typos
Howard Chu [Wed, 12 Mar 2003 21:51:17 +0000 (21:51 +0000)] 
ITS#2366 typos

23 years agoITS#2368 - fix deleting key from range IDL
Howard Chu [Wed, 12 Mar 2003 21:18:39 +0000 (21:18 +0000)] 
ITS#2368 - fix deleting key from range IDL

23 years agoFix error messages
Howard Chu [Wed, 12 Mar 2003 21:16:43 +0000 (21:16 +0000)] 
Fix error messages

23 years agoError checking code for ITS#2367
Jong Hyuk Choi [Wed, 12 Mar 2003 16:37:04 +0000 (16:37 +0000)] 
Error checking code for ITS#2367

23 years agodeclaration of bdb_idl_entry_cmp()
Jong Hyuk Choi [Wed, 12 Mar 2003 16:36:28 +0000 (16:36 +0000)] 
declaration of bdb_idl_entry_cmp()

23 years agoAVL delete upon shutdown (ITS#2367)
Jong Hyuk Choi [Wed, 12 Mar 2003 16:34:17 +0000 (16:34 +0000)] 
AVL delete upon shutdown (ITS#2367)

23 years agoclarify "by anonymous auth" semantics
Kurt Zeilenga [Wed, 12 Mar 2003 16:25:20 +0000 (16:25 +0000)] 
clarify "by anonymous auth" semantics

23 years agoFix cache consistency problems on txn retry
Howard Chu [Wed, 12 Mar 2003 15:20:51 +0000 (15:20 +0000)] 
Fix cache consistency problems on txn retry

23 years agoITS#2348 - revert previous patch, use patch from ITS
Howard Chu [Wed, 12 Mar 2003 13:40:54 +0000 (13:40 +0000)] 
ITS#2348 - revert previous patch, use patch from ITS

23 years agoAdded lutil_passwd_init(), lutil_passwd_destroy()
Howard Chu [Wed, 12 Mar 2003 13:10:22 +0000 (13:10 +0000)] 
Added lutil_passwd_init(), lutil_passwd_destroy()

23 years ago#ifndef SLAP_NVALUES asserted berval was leaked
Howard Chu [Wed, 12 Mar 2003 13:05:19 +0000 (13:05 +0000)] 
#ifndef SLAP_NVALUES asserted berval was leaked

23 years agoPlug memory leaks:
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

23 years agoITS#2348, additional check to prevent re-inserting IDs that are
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...

23 years agoITS#2253 - when StartTLS fails, slapd closes the connection so slurpd
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.

23 years agoAdd comment to previous
Howard Chu [Wed, 12 Mar 2003 03:23:09 +0000 (03:23 +0000)] 
Add comment to previous

23 years agoITS#2365 - preserve internal ber_tag as well as ber_ptr for rewinding.
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.

23 years agouse an "unknown" listener name/url when faking connections
Pierangelo Masarati [Tue, 11 Mar 2003 18:25:51 +0000 (18:25 +0000)] 
use an "unknown" listener name/url when faking connections

23 years agofix ITS#2362 and other leaks/unhandled massaged DN memory
Pierangelo Masarati [Tue, 11 Mar 2003 18:09:38 +0000 (18:09 +0000)] 
fix ITS#2362 and other leaks/unhandled massaged DN memory

23 years agoTweak SLAP_OP_BLOCKS
Kurt Zeilenga [Tue, 11 Mar 2003 17:26:57 +0000 (17:26 +0000)] 
Tweak SLAP_OP_BLOCKS

23 years ago#include reordering
Pierangelo Masarati [Tue, 11 Mar 2003 12:26:05 +0000 (12:26 +0000)] 
#include reordering

23 years agosilence warning
Pierangelo Masarati [Tue, 11 Mar 2003 12:25:39 +0000 (12:25 +0000)] 
silence warning

23 years agocleanup cache search
Pierangelo Masarati [Tue, 11 Mar 2003 12:24:38 +0000 (12:24 +0000)] 
cleanup cache search

23 years agocleanup bind
Pierangelo Masarati [Tue, 11 Mar 2003 12:24:14 +0000 (12:24 +0000)] 
cleanup bind

23 years ago(ultimately?) fix ITS#2361
Pierangelo Masarati [Tue, 11 Mar 2003 12:23:20 +0000 (12:23 +0000)] 
(ultimately?) fix ITS#2361

23 years agoAdded proposed request parameters to Operation. #ifdef'd, not active.
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.

23 years agoAdded lutil_passwd_init, _destroy, _add for dynamically adding passwd
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.

23 years agoITS#2361, skip sockname, peername, peerdomain, sockurl ACLs if the
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.)

23 years agocheck conn->c_listener before use (hack to fix ITS#2361; need to review this part...
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)

23 years agoAdded op->o_is_auth_check; use ACL_AUTH instead of ACL_SEARCH/ACL_READ
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.

23 years agoBlind fix - remove suffixalias.c
Howard Chu [Mon, 10 Mar 2003 19:13:38 +0000 (19:13 +0000)] 
Blind fix - remove suffixalias.c

23 years agoAdd comment about LDAPv2
Kurt Zeilenga [Mon, 10 Mar 2003 15:41:55 +0000 (15:41 +0000)] 
Add comment about LDAPv2

23 years agoLDAPv2 is Historic
Kurt Zeilenga [Mon, 10 Mar 2003 15:34:14 +0000 (15:34 +0000)] 
LDAPv2 is Historic

23 years agofix log message (ITS#2359)
Pierangelo Masarati [Mon, 10 Mar 2003 07:36:42 +0000 (07:36 +0000)] 
fix log message (ITS#2359)

23 years agoneed to use ch_malloc/realloc
Kurt Zeilenga [Sun, 9 Mar 2003 20:15:30 +0000 (20:15 +0000)] 
need to use ch_malloc/realloc

23 years agoUse ch_malloc instead of malloc for unchecked allocations
Kurt Zeilenga [Sun, 9 Mar 2003 20:11:12 +0000 (20:11 +0000)] 
Use ch_malloc instead of malloc for unchecked allocations

23 years agoAdd copyright notice
Howard Chu [Sun, 9 Mar 2003 01:03:41 +0000 (01:03 +0000)] 
Add copyright notice

23 years agoBlind fix, delete obsolete files cache.c, authpasswd.c
Howard Chu [Fri, 7 Mar 2003 21:10:02 +0000 (21:10 +0000)] 
Blind fix, delete obsolete files cache.c, authpasswd.c

23 years agosuffixalias is no longer supported
Kurt Zeilenga [Fri, 7 Mar 2003 18:57:30 +0000 (18:57 +0000)] 
suffixalias is no longer supported

23 years agoDon't call strlen ourselves, SASL getopt returns the lengths
Howard Chu [Fri, 7 Mar 2003 12:40:37 +0000 (12:40 +0000)] 
Don't call strlen ourselves, SASL getopt returns the lengths

23 years agoRedefine queryid
Kurt Zeilenga [Thu, 6 Mar 2003 20:20:13 +0000 (20:20 +0000)] 
Redefine queryid

23 years agoCommit of the Proxy Cache contribution (ITS#2062)
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.

23 years agoChasing a referral needs both the request and response mutexes.
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)

23 years agoPass correct msgid to ldap_result
Howard Chu [Thu, 6 Mar 2003 14:50:39 +0000 (14:50 +0000)] 
Pass correct msgid to ldap_result

23 years agoTechnically, since the authid is expected to be a normalized DN, uidNumber
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?

23 years agocall LDAPv2 what it is (historical)
Kurt Zeilenga [Thu, 6 Mar 2003 01:00:05 +0000 (01:00 +0000)] 
call LDAPv2 what it is (historical)

23 years agorebuild
Kurt Zeilenga [Thu, 6 Mar 2003 00:38:42 +0000 (00:38 +0000)] 
rebuild

23 years agoITS#2348: fix previous commit
Howard Chu [Thu, 6 Mar 2003 00:16:32 +0000 (00:16 +0000)] 
ITS#2348: fix previous commit

23 years agoITS#2348: cont_alloc/cont_free cleanup in idl_insert_key
Howard Chu [Wed, 5 Mar 2003 23:10:32 +0000 (23:10 +0000)] 
ITS#2348: cont_alloc/cont_free cleanup in idl_insert_key

23 years agomisc : not activating idl cache in tool mode run
Jong Hyuk Choi [Wed, 5 Mar 2003 03:34:59 +0000 (03:34 +0000)] 
misc : not activating idl cache in tool mode run

23 years agoFix LDAP_DEBUG/LDAP_SYSLOG test
Howard Chu [Wed, 5 Mar 2003 02:22:58 +0000 (02:22 +0000)] 
Fix LDAP_DEBUG/LDAP_SYSLOG test

23 years agoUse ldap_pvt_get_hname instead of ldap_pvt_gethostbyaddr_a
Howard Chu [Wed, 5 Mar 2003 01:53:32 +0000 (01:53 +0000)] 
Use ldap_pvt_get_hname instead of ldap_pvt_gethostbyaddr_a

23 years agoSilence warnings in prev commit
Howard Chu [Wed, 5 Mar 2003 01:53:03 +0000 (01:53 +0000)] 
Silence warnings in prev commit

23 years agoSilence warning in prev commit
Howard Chu [Wed, 5 Mar 2003 01:37:56 +0000 (01:37 +0000)] 
Silence warning in prev commit

23 years agoAdded ldap_pvt_get_hname. Use instead of ldap_pvt_gethostbyaddr_a when
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.

23 years agoAdded ldap_pvt_get_hname. Use instead of ldap_pvt_gethostbyaddr_a when
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.

23 years agoAdd NI_MAXHOST if not defined; normally in <netdb.h> on IPv6 systems
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

23 years agoFor IPv6 check for getnameinfo as well as getaddrinfo
Howard Chu [Wed, 5 Mar 2003 01:32:41 +0000 (01:32 +0000)] 
For IPv6 check for getnameinfo as well as getaddrinfo

23 years agoMinor cleanup for sendmsg
Howard Chu [Tue, 4 Mar 2003 22:14:57 +0000 (22:14 +0000)] 
Minor cleanup for sendmsg

23 years agoFix initializer
Kurt Zeilenga [Tue, 4 Mar 2003 21:52:23 +0000 (21:52 +0000)] 
Fix initializer

23 years agofix initializer
Kurt Zeilenga [Tue, 4 Mar 2003 21:49:21 +0000 (21:49 +0000)] 
fix initializer