]>
git.sur5r.net Git - openldap/log
Kurt Zeilenga [Sun, 6 Jun 1999 04:44:34 +0000 (04:44 +0000)]
A slightly better POSIX regex test....
Kurt Zeilenga [Sun, 6 Jun 1999 03:56:40 +0000 (03:56 +0000)]
Relocate regex.h test to near top and die if it fails.
Kurt Zeilenga [Sat, 5 Jun 1999 20:27:43 +0000 (20:27 +0000)]
s/LDAP_OPT_MATCH_STRING/LDAP_OPT_MATCHED_DN/
Kurt Zeilenga [Sat, 5 Jun 1999 20:18:32 +0000 (20:18 +0000)]
s/LDAP_OPT_MATCHED_STRING/LDAP_OPT_MATCHED_DN/
Added place holder for LDAP_FILTER_EXTENDED code.
Added assert() here and there and removed lint.
Removed version promotion code (version must be manually set).
Added messages.c to MSVC project.
Kurt Zeilenga [Sat, 5 Jun 1999 20:14:02 +0000 (20:14 +0000)]
Remove DOS comment.
Kurt Zeilenga [Sat, 5 Jun 1999 20:12:53 +0000 (20:12 +0000)]
rename LDAP_OPT_MATCHED_STRING to LDAP_OPT_MATCHED_DN.
Kurt Zeilenga [Fri, 4 Jun 1999 22:57:19 +0000 (22:57 +0000)]
Initialize connection pointer to NULL else won't be able to
detect connection table full properly.
Kurt Zeilenga [Fri, 4 Jun 1999 22:27:28 +0000 (22:27 +0000)]
Undo assert fix included in last commit.
Add extra AC_HTONL for win32 alpha.
Kurt Zeilenga [Fri, 4 Jun 1999 22:23:52 +0000 (22:23 +0000)]
Add #define FD_SETSIZE 1024
Kurt Zeilenga [Fri, 4 Jun 1999 22:15:35 +0000 (22:15 +0000)]
Fix typo in previous commit.
Kurt Zeilenga [Fri, 4 Jun 1999 21:43:06 +0000 (21:43 +0000)]
Add diagnostics.
Kurt Zeilenga [Fri, 4 Jun 1999 21:42:25 +0000 (21:42 +0000)]
Close hit socket.
Kurt Zeilenga [Fri, 4 Jun 1999 19:04:18 +0000 (19:04 +0000)]
Add section for OpenLDAP 2.0 projects, drop "larger than life" projects.
Kurt Zeilenga [Fri, 4 Jun 1999 05:30:35 +0000 (05:30 +0000)]
Missed on mygetpass call...
Kurt Zeilenga [Fri, 4 Jun 1999 02:05:10 +0000 (02:05 +0000)]
use getpass() instead of mygetpass().
getpass() is implemented in -llutil (if needed).
Kurt Zeilenga [Fri, 4 Jun 1999 01:05:29 +0000 (01:05 +0000)]
Move WAKE_LISTENER call behind &connection_mutex to eliminate
race condition on file descriptor sets.
Kurt Zeilenga [Fri, 4 Jun 1999 00:34:04 +0000 (00:34 +0000)]
EXPERIMENTAL ldap_extended_operation() and ldap_parse_extended_result()
Kurt Zeilenga [Thu, 3 Jun 1999 22:54:51 +0000 (22:54 +0000)]
lber.h: added #include <stddef.h> conditional on LBER_SIZE_T_DEFINED
ldap.h: added #include <lber.h>
ldap.h: added tags for extended operations
Kurt Zeilenga [Thu, 3 Jun 1999 22:51:29 +0000 (22:51 +0000)]
Fix typos in warning messages.
Kurt Zeilenga [Thu, 3 Jun 1999 19:58:05 +0000 (19:58 +0000)]
Add cn=monitor, cn=config, cn=schema to namingContexts.
Kurt Zeilenga [Thu, 3 Jun 1999 19:22:33 +0000 (19:22 +0000)]
Update comments to reflect RFC2251 specs.
Kurt Zeilenga [Thu, 3 Jun 1999 18:24:22 +0000 (18:24 +0000)]
Enable browsing info in MSVC debugging configurations.
Toy with dllimport/dllexport stuff (think I'll leave the real dll work to
somebody else).
Added ldap_strdup() wrapper of ber_strdup().
Kurt Zeilenga [Thu, 3 Jun 1999 05:11:22 +0000 (05:11 +0000)]
Add sizelimit/timelimit comments concerning ldap.conf (ITS#180).
Kurt Zeilenga [Thu, 3 Jun 1999 01:03:52 +0000 (01:03 +0000)]
s/DEFAULT_DIRSEP/DIRSEP/
Kurt Zeilenga [Thu, 3 Jun 1999 00:45:50 +0000 (00:45 +0000)]
Remove <memory.h> from stdlib.h (mem* fns should be in string.h).
Kurt Zeilenga [Thu, 3 Jun 1999 00:40:40 +0000 (00:40 +0000)]
Warn if attempting to build ldapd. (In preparation to move
ldapd to that Attic)
Kurt Zeilenga [Thu, 3 Jun 1999 00:37:44 +0000 (00:37 +0000)]
s/<stdlib.h>/<ac/stdlib.h>/
Kurt Zeilenga [Wed, 2 Jun 1999 23:39:55 +0000 (23:39 +0000)]
Add <ac/stdlib.h> to genericize memory allocators.
Remove memory.h/malloc.h inclusion from <ac/string.h>.
Need to s/<stdlib.h>/<ac/stdlib.h> everywhere.
Kurt Zeilenga [Wed, 2 Jun 1999 23:21:06 +0000 (23:21 +0000)]
Fix up s/NULL.*/NULL/ errors
Kurt Zeilenga [Wed, 2 Jun 1999 22:40:58 +0000 (22:40 +0000)]
No anonymous unions.
Kurt Zeilenga [Wed, 2 Jun 1999 22:33:57 +0000 (22:33 +0000)]
Use ber_strdup() as needed.
Kurt Zeilenga [Wed, 2 Jun 1999 22:28:22 +0000 (22:28 +0000)]
Add ber_strdup(), remove ldap_int_strdup(), add LDAP_STRDUP macro
and ripple change through -lldap.
Kurt Zeilenga [Wed, 2 Jun 1999 21:38:48 +0000 (21:38 +0000)]
Make first argument of *_get_option const (experimental).
Make _MOD_SOFTADD 0x1000 to minimize chance of conflict with legit changes
to API spec.
Fix memory leak in ldap_mods_free() and minor memory allocator issues.
Kurt Zeilenga [Wed, 2 Jun 1999 21:34:34 +0000 (21:34 +0000)]
Add experimental wrong heap detection behind LDAP_MEMORY_DEBUG macro.
Kurt Zeilenga [Wed, 2 Jun 1999 21:29:45 +0000 (21:29 +0000)]
Add prototype for at_add().
Kurt Zeilenga [Wed, 2 Jun 1999 21:19:09 +0000 (21:19 +0000)]
Stupid me. Can't have both README and readme due to CIS filenames.
Kurt Zeilenga [Wed, 2 Jun 1999 20:29:35 +0000 (20:29 +0000)]
value_normalize can change the length of value. Fixed
use in index_add_value(), but should modify value_normalize
to use a struct berval * instead of a char* pointer...
Kurt Zeilenga [Wed, 2 Jun 1999 19:25:45 +0000 (19:25 +0000)]
rfc1959 best documents current behavior.
Kurt Zeilenga [Wed, 2 Jun 1999 04:08:50 +0000 (04:08 +0000)]
Update Release/SRelease include paths
Kurt Zeilenga [Wed, 2 Jun 1999 03:35:56 +0000 (03:35 +0000)]
Update both README/readme to match. (Yes, two files, I want this
to be read).
Kurt Zeilenga [Wed, 2 Jun 1999 03:34:38 +0000 (03:34 +0000)]
Update Solaris hints (remove pthread_create hint).
Add new README.
Kurt Zeilenga [Wed, 2 Jun 1999 03:09:40 +0000 (03:09 +0000)]
Fix -ULDAP_DEBUG lint.
Kurt Zeilenga [Wed, 2 Jun 1999 00:09:18 +0000 (00:09 +0000)]
Used pre-normalized len of e_dn instead of just using e_ndn (and it's len).
Kurt Zeilenga [Tue, 1 Jun 1999 19:25:17 +0000 (19:25 +0000)]
Minor adjustments to the LBER_VFREE() & LDAP_VFREE macros.
Kurt Zeilenga [Tue, 1 Jun 1999 19:08:27 +0000 (19:08 +0000)]
Clean up memory handlers. Share vector free routines... ber_memvfree().
Kurt Zeilenga [Tue, 1 Jun 1999 19:05:54 +0000 (19:05 +0000)]
Remove NULL* macros (namespace).
Kurt Zeilenga [Tue, 1 Jun 1999 19:05:07 +0000 (19:05 +0000)]
Use ldap_mods_free() instead of local routine.
More memory handling changes. Need to sort out how to deal with strdup().
Kurt Zeilenga [Tue, 1 Jun 1999 19:03:47 +0000 (19:03 +0000)]
Clean up namespace
Kurt Zeilenga [Tue, 1 Jun 1999 19:02:10 +0000 (19:02 +0000)]
Add ldap_memvfree(void** vector)
Kurt Zeilenga [Tue, 1 Jun 1999 19:01:05 +0000 (19:01 +0000)]
move berval memory routines to memory.c
Add ber_memvfree(void** vector)
Kurt Zeilenga [Tue, 1 Jun 1999 18:59:27 +0000 (18:59 +0000)]
Move berval routines to memory.c.
Kurt Zeilenga [Tue, 1 Jun 1999 18:58:19 +0000 (18:58 +0000)]
Add "lutil*.h" to project.
Kurt Zeilenga [Tue, 1 Jun 1999 18:57:34 +0000 (18:57 +0000)]
Shouldn't need <sys/stat.h>.
Kurt Zeilenga [Tue, 1 Jun 1999 02:07:57 +0000 (02:07 +0000)]
Update memory allocation calls.
Kurt Zeilenga [Tue, 1 Jun 1999 02:07:05 +0000 (02:07 +0000)]
Add extended.c to projects
remove bogus libldap_r/apitest.ds[pw] files.
Kurt Zeilenga [Tue, 1 Jun 1999 02:06:12 +0000 (02:06 +0000)]
Share errcode lookup code. Modify ld_version conditions not to test absolutes.
Add asserts and additional param checks.
Kurt Zeilenga [Tue, 1 Jun 1999 02:03:21 +0000 (02:03 +0000)]
Remove LDAP_LIBUI dependency.
Kurt Zeilenga [Tue, 1 Jun 1999 00:04:36 +0000 (00:04 +0000)]
Use ber_mem* functions.
Kurt Zeilenga [Mon, 31 May 1999 21:19:07 +0000 (21:19 +0000)]
Add skeleton ldap_extended_operation routines.
Kurt Zeilenga [Mon, 31 May 1999 20:44:05 +0000 (20:44 +0000)]
use 'int' instead of 'char' for balance factor.
(barely) hide more internals.
Kurt Zeilenga [Mon, 31 May 1999 20:40:42 +0000 (20:40 +0000)]
(barely) hide AVL internals
Kurt Zeilenga [Mon, 31 May 1999 20:32:21 +0000 (20:32 +0000)]
#ifdef out non-reentrant prototypes.
Only testavl uses this interface.
Kurt Zeilenga [Mon, 31 May 1999 20:04:15 +0000 (20:04 +0000)]
use LDAP_MALLOC instead of malloc. Check for allocation errors.
Kurt Zeilenga [Mon, 31 May 1999 19:59:29 +0000 (19:59 +0000)]
Move most header inclusion below #ifdef HAVE_XXX.
Use LDAP_MALLOC instead of ch_malloc
Kurt Zeilenga [Mon, 31 May 1999 17:30:22 +0000 (17:30 +0000)]
Clean up LDAP_BOOL_GET and fetching via ldap_get_option().
Modify apitest to test for non-zero instead of LDAP_OPT_ON.
Julio Sánchez Fernández [Mon, 31 May 1999 15:17:42 +0000 (15:17 +0000)]
Fudge oc_kind on synthesized objectclasses so that they are STRUCTURAL
instead of ABSTRACT.
Julio Sánchez Fernández [Mon, 31 May 1999 12:04:06 +0000 (12:04 +0000)]
Syntaxes.
Accept X- experimental clauses.
Julio Sánchez Fernández [Mon, 31 May 1999 12:02:43 +0000 (12:02 +0000)]
Syntaxes.
Julio Sánchez Fernández [Mon, 31 May 1999 11:23:41 +0000 (11:23 +0000)]
Cosmetic/spelling fixes.
Kurt Zeilenga [Mon, 31 May 1999 05:39:51 +0000 (05:39 +0000)]
Remove lint.
Kurt Zeilenga [Mon, 31 May 1999 05:39:10 +0000 (05:39 +0000)]
Genericize byte types into autoconf namespace.
Kurt Zeilenga [Mon, 31 May 1999 05:37:09 +0000 (05:37 +0000)]
Remove redundant WSAEWOULDBLOCK declaration.
Kurt Zeilenga [Mon, 31 May 1999 05:34:49 +0000 (05:34 +0000)]
Free strings returned by ldap_get_option().
Kurt Zeilenga [Mon, 31 May 1999 05:34:13 +0000 (05:34 +0000)]
Use #error if ctime_r nargs are screwy.
Kurt Zeilenga [Mon, 31 May 1999 05:27:32 +0000 (05:27 +0000)]
Remove dependency upon lber-int.h by using ber_set_option().
Kurt Zeilenga [Sun, 30 May 1999 23:00:52 +0000 (23:00 +0000)]
Initial round 2 memory allocation changes. THIS IS A WORK IN PROGRESS.
includes single to multiple hooks changes.
ber_mem* reimplementation.
namespace glue (finally naming has not be decided upon nor implemented).
Added ldap_int_strdup to handle "internal" strdup'ing, this version uses hooks.
ldap_pvt_strdup still available for when strdup() is missing, this version
directly uses system allocators.
Updated -lldif to use ber allocators. Items returned by ldif routines
should be ber_memfree()d as needed.
Kurt Zeilenga [Sun, 30 May 1999 21:59:45 +0000 (21:59 +0000)]
Remove prototype for removed ber_clear().
Julio Sánchez Fernández [Sun, 30 May 1999 00:08:59 +0000 (00:08 +0000)]
Some definition reordering to satisfy dependencies.
Julio Sánchez Fernández [Sun, 30 May 1999 00:07:40 +0000 (00:07 +0000)]
Oops, fp_parse_line tokenizes in place, so we need to take a copy of
input before letting fp_parse_line ruin it.
Julio Sánchez Fernández [Sun, 30 May 1999 00:05:24 +0000 (00:05 +0000)]
Lose previously commented out old code.
Robustness fixes.
Fixed error reporting of non-existing attribute superior.
Julio Sánchez Fernández [Sun, 30 May 1999 00:01:53 +0000 (00:01 +0000)]
Relax some rules to survive Netscape DS brokennes, more to come.
A few parse_whsp were missing.
Detect and survive null input.
Julio Sánchez Fernández [Sat, 29 May 1999 23:57:39 +0000 (23:57 +0000)]
New error code for null string input.
Kurt Zeilenga [Sat, 29 May 1999 19:10:01 +0000 (19:10 +0000)]
DEFAULT_DIRSEP -> DIRSEP
Kurt Zeilenga [Sat, 29 May 1999 19:08:57 +0000 (19:08 +0000)]
Correct minor oversights from last commit.
Kurt Zeilenga [Sat, 29 May 1999 18:58:45 +0000 (18:58 +0000)]
Update DIRSEP handling (temporary, should be handled by autoconf)
Kurt Zeilenga [Sat, 29 May 1999 18:57:23 +0000 (18:57 +0000)]
Minor adjustments to better handle NT vs UNIX.
Kurt Zeilenga [Sat, 29 May 1999 18:53:40 +0000 (18:53 +0000)]
Add warnings if ldap_set_option() fails.
Check for ldap_set_option() error using LDAP_OPT_ERROR, not -1.
(probably should check != LDAP_OPT_SUCCESS instead).
Added additional usage errors.
Used return(EXIT_FAILURE) instead of exit(1).
Used DIRSEP instead of '/' && '\\'
Moved verbose output to stderr.
Kurt Zeilenga [Sat, 29 May 1999 05:16:31 +0000 (05:16 +0000)]
First cut at ber_set_option(NULL,LBER_OPT_MEMORY_FN, myrealloc) where
myrealloc is pointer to a realloc() wrapper.
Must be first library call or else.
Howard Chu [Sat, 29 May 1999 03:44:46 +0000 (03:44 +0000)]
Fix --enable-ldap behavior for back-ldap
Kurt Zeilenga [Sat, 29 May 1999 03:32:33 +0000 (03:32 +0000)]
old_abandon should be int* not long*.
Kurt Zeilenga [Sat, 29 May 1999 01:45:55 +0000 (01:45 +0000)]
safe_free_string() should be static
Kurt Zeilenga [Sat, 29 May 1999 01:35:34 +0000 (01:35 +0000)]
Add memory.c to -llber
Julio Sánchez Fernández [Sat, 29 May 1999 01:32:37 +0000 (01:32 +0000)]
Fixed parsing of noidlen
Julio Sánchez Fernández [Sat, 29 May 1999 01:28:36 +0000 (01:28 +0000)]
Install ldap_schema.h
Kurt Zeilenga [Sat, 29 May 1999 01:26:12 +0000 (01:26 +0000)]
Fix allocator typo
Kurt Zeilenga [Sat, 29 May 1999 01:19:14 +0000 (01:19 +0000)]
Add LBER_ and LDAP_ memory allocators/deallocators for internal
library use:
LBER_ macros expand to system routines.
LDAP_ macros expand to new ber_ allocators.
Add ber_ and ldap_ memory allocators/deallocator:
ber_ routines are wrappers of LBER_ macros.
ldap_ routines are wrappers of ber_ routines.
Removed safe_realloc() macro from various files. This issue
(if an issue) should be resolved across whole package.
ldapmodify.c now uses ber_ allocators to resolve ber_bvfree()
vs. WIN32 multiple heaps issue.
These changes should facilate implementation of
ber_set_option( NULL, LBER_OPT_MEMORY_FN, ...)
and
ldap_set_option( NULL, LDAP_OPT_MEMORY_FN, ...).
Kurt Zeilenga [Fri, 28 May 1999 20:19:28 +0000 (20:19 +0000)]
ber_clear() no longer needed. Removed.
Kurt Zeilenga [Fri, 28 May 1999 19:33:05 +0000 (19:33 +0000)]
Changed lc_conn to be a pointer to a BerElement to aid in state management.
Added validation to exposed opaque data structures (BerElement, Sockbuf,
and LDAP). Added macros BER_VALID, SOCKBUF_VALID, LDAP_VALID.
Added ber_pvt_ber_bytes() and ber_pvt_ber_remaining() macros to hide
some ber internals. These really should be handled by ber_get_option().
Julio Sánchez Fernández [Fri, 28 May 1999 18:56:47 +0000 (18:56 +0000)]
Provide (and use) #define shortcuts
Really kill global_oc & global_at
Publish schema through LDAP (really, it's there at last :-)
Julio Sánchez Fernández [Fri, 28 May 1999 18:51:21 +0000 (18:51 +0000)]
safe_string_free was freeing the string value, so we have to save it.