]> git.sur5r.net Git - openldap/log
openldap
25 years agoClean up LDAP_BOOL_GET and fetching via ldap_get_option().
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.

25 years agoFudge oc_kind on synthesized objectclasses so that they are STRUCTURAL
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.

25 years agoSyntaxes.
Julio Sánchez Fernández [Mon, 31 May 1999 12:04:06 +0000 (12:04 +0000)]
Syntaxes.
Accept X- experimental clauses.

25 years agoSyntaxes.
Julio Sánchez Fernández [Mon, 31 May 1999 12:02:43 +0000 (12:02 +0000)]
Syntaxes.

25 years agoCosmetic/spelling fixes.
Julio Sánchez Fernández [Mon, 31 May 1999 11:23:41 +0000 (11:23 +0000)]
Cosmetic/spelling fixes.

25 years agoRemove lint.
Kurt Zeilenga [Mon, 31 May 1999 05:39:51 +0000 (05:39 +0000)]
Remove lint.

25 years agoGenericize byte types into autoconf namespace.
Kurt Zeilenga [Mon, 31 May 1999 05:39:10 +0000 (05:39 +0000)]
Genericize byte types into autoconf namespace.

25 years agoRemove redundant WSAEWOULDBLOCK declaration.
Kurt Zeilenga [Mon, 31 May 1999 05:37:09 +0000 (05:37 +0000)]
Remove redundant WSAEWOULDBLOCK declaration.

25 years agoFree strings returned by ldap_get_option().
Kurt Zeilenga [Mon, 31 May 1999 05:34:49 +0000 (05:34 +0000)]
Free strings returned by ldap_get_option().

25 years agoUse #error if ctime_r nargs are screwy.
Kurt Zeilenga [Mon, 31 May 1999 05:34:13 +0000 (05:34 +0000)]
Use #error if ctime_r nargs are screwy.

25 years agoRemove dependency upon lber-int.h by using ber_set_option().
Kurt Zeilenga [Mon, 31 May 1999 05:27:32 +0000 (05:27 +0000)]
Remove dependency upon lber-int.h by using ber_set_option().

25 years agoInitial round 2 memory allocation changes. THIS IS A WORK IN PROGRESS.
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.

25 years agoRemove prototype for removed ber_clear().
Kurt Zeilenga [Sun, 30 May 1999 21:59:45 +0000 (21:59 +0000)]
Remove prototype for removed ber_clear().

25 years agoSome definition reordering to satisfy dependencies.
Julio Sánchez Fernández [Sun, 30 May 1999 00:08:59 +0000 (00:08 +0000)]
Some definition reordering to satisfy dependencies.

25 years agoOops, fp_parse_line tokenizes in place, so we need to take a copy of
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.

25 years agoLose previously commented out old code.
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.

25 years agoRelax some rules to survive Netscape DS brokennes, more to come.
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.

25 years agoNew error code for null string input.
Julio Sánchez Fernández [Sat, 29 May 1999 23:57:39 +0000 (23:57 +0000)]
New error code for null string input.

25 years agoDEFAULT_DIRSEP -> DIRSEP
Kurt Zeilenga [Sat, 29 May 1999 19:10:01 +0000 (19:10 +0000)]
DEFAULT_DIRSEP -> DIRSEP

25 years agoCorrect minor oversights from last commit.
Kurt Zeilenga [Sat, 29 May 1999 19:08:57 +0000 (19:08 +0000)]
Correct minor oversights from last commit.

25 years agoUpdate DIRSEP handling (temporary, should be handled by autoconf)
Kurt Zeilenga [Sat, 29 May 1999 18:58:45 +0000 (18:58 +0000)]
Update DIRSEP handling (temporary, should be handled by autoconf)

25 years agoMinor adjustments to better handle NT vs UNIX.
Kurt Zeilenga [Sat, 29 May 1999 18:57:23 +0000 (18:57 +0000)]
Minor adjustments to better handle NT vs UNIX.

25 years agoAdd warnings if ldap_set_option() fails.
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.

25 years agoFirst cut at ber_set_option(NULL,LBER_OPT_MEMORY_FN, myrealloc) where
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.

25 years agoFix --enable-ldap behavior for back-ldap
Howard Chu [Sat, 29 May 1999 03:44:46 +0000 (03:44 +0000)]
Fix --enable-ldap behavior for back-ldap

25 years agoold_abandon should be int* not long*.
Kurt Zeilenga [Sat, 29 May 1999 03:32:33 +0000 (03:32 +0000)]
old_abandon should be int* not long*.

25 years agosafe_free_string() should be static
Kurt Zeilenga [Sat, 29 May 1999 01:45:55 +0000 (01:45 +0000)]
safe_free_string() should be static

25 years agoAdd memory.c to -llber
Kurt Zeilenga [Sat, 29 May 1999 01:35:34 +0000 (01:35 +0000)]
Add memory.c to -llber

25 years agoFixed parsing of noidlen
Julio Sánchez Fernández [Sat, 29 May 1999 01:32:37 +0000 (01:32 +0000)]
Fixed parsing of noidlen

25 years agoInstall ldap_schema.h
Julio Sánchez Fernández [Sat, 29 May 1999 01:28:36 +0000 (01:28 +0000)]
Install ldap_schema.h

25 years agoFix allocator typo
Kurt Zeilenga [Sat, 29 May 1999 01:26:12 +0000 (01:26 +0000)]
Fix allocator typo

25 years agoAdd LBER_ and LDAP_ memory allocators/deallocators for internal
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, ...).

25 years agober_clear() no longer needed. Removed.
Kurt Zeilenga [Fri, 28 May 1999 20:19:28 +0000 (20:19 +0000)]
ber_clear() no longer needed.  Removed.

25 years agoChanged lc_conn to be a pointer to a BerElement to aid in state management.
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().

25 years agoProvide (and use) #define shortcuts
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 :-)

25 years agosafe_string_free was freeing the string value, so we have to save it.
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.

25 years agoFirst step in new schema support.
Julio Sánchez Fernández [Fri, 28 May 1999 14:27:07 +0000 (14:27 +0000)]
First step in new schema support.

25 years agoAdd schema support
Julio Sánchez Fernández [Fri, 28 May 1999 14:26:25 +0000 (14:26 +0000)]
Add schema support

25 years agoChange to be in line with libldap, i.e. add schema
Julio Sánchez Fernández [Fri, 28 May 1999 14:25:14 +0000 (14:25 +0000)]
Change to be in line with libldap, i.e. add schema

25 years agoIn try_read1msg, clear errno before calling ber_get_next, otherwise leftover
Howard Chu [Fri, 28 May 1999 05:19:18 +0000 (05:19 +0000)]
In try_read1msg, clear errno before calling ber_get_next, otherwise leftover
values will obscure EOF condition on closed sockets.

25 years agoDeath to LBER_END_SEQORSET.
Kurt Zeilenga [Fri, 28 May 1999 03:24:41 +0000 (03:24 +0000)]
Death to LBER_END_SEQORSET.

25 years agoInitial implementation of ldap_int_get_controls()... EXPERIMENTAL.
Kurt Zeilenga [Fri, 28 May 1999 02:15:57 +0000 (02:15 +0000)]
Initial implementation of ldap_int_get_controls()... EXPERIMENTAL.

25 years agoObtain version name from build/version (re-add build/version).
Kurt Zeilenga [Fri, 28 May 1999 00:35:09 +0000 (00:35 +0000)]
Obtain version name from build/version (re-add build/version).
This will facilate version.c generation on non-UNIX systems.

25 years agoApply string literal strdup fix to BDB2.
Kurt Zeilenga [Thu, 27 May 1999 23:06:53 +0000 (23:06 +0000)]
Apply string literal strdup fix to BDB2.

25 years agoMake a copy of "dn" to avoid modification of string literal.
Kurt Zeilenga [Thu, 27 May 1999 23:04:28 +0000 (23:04 +0000)]
Make a copy of "dn" to avoid modification of string literal.

25 years agoUse difftime() to determine cache age.
Kurt Zeilenga [Thu, 27 May 1999 22:48:14 +0000 (22:48 +0000)]
Use difftime() to determine cache age.

25 years agostrlen returns size_t not int.
Kurt Zeilenga [Thu, 27 May 1999 22:33:12 +0000 (22:33 +0000)]
strlen returns size_t not int.

25 years agorename ldap_pvt_init_utils() to ldap_int_utils_init() and provide
Kurt Zeilenga [Thu, 27 May 1999 22:25:55 +0000 (22:25 +0000)]
rename ldap_pvt_init_utils() to ldap_int_utils_init() and provide
prototype in ldap-int.h.

25 years agoIncorporate #define's per Kurt's suggestion
Julio Sánchez Fernández [Thu, 27 May 1999 18:18:36 +0000 (18:18 +0000)]
Incorporate #define's per Kurt's suggestion

25 years agomove connection_close call from connection_input to connection_resched
Kurt Zeilenga [Thu, 27 May 1999 06:22:59 +0000 (06:22 +0000)]
move connection_close call from connection_input to connection_resched
to avoid accessing c_conn_state after close.

25 years agoRemove HAVE_THREADS define. NO_THREADS is used instead.
Kurt Zeilenga [Thu, 27 May 1999 06:22:04 +0000 (06:22 +0000)]
Remove HAVE_THREADS define.  NO_THREADS is used instead.

25 years agoMake connection_first/next/done reentrant.
Kurt Zeilenga [Thu, 27 May 1999 05:52:38 +0000 (05:52 +0000)]
Make connection_first/next/done reentrant.

25 years agoDisable explicit AC_PROG_INSTALL check... implicitly checked by
Kurt Zeilenga [Thu, 27 May 1999 03:09:04 +0000 (03:09 +0000)]
Disable explicit AC_PROG_INSTALL check... implicitly checked by
AM_INIT_AUTOMAKE.

25 years agoremove redundant memset 0 of connection entry after calloc.
Kurt Zeilenga [Thu, 27 May 1999 02:44:13 +0000 (02:44 +0000)]
remove redundant memset 0 of connection entry after calloc.

25 years agoAdd comment concerning connections mutex. Need to analysis
Kurt Zeilenga [Thu, 27 May 1999 02:29:18 +0000 (02:29 +0000)]
Add comment concerning connections mutex.  Need to analysis
locking requires and possibly restructure locking.

25 years agoLock (connections_mutex) should be acquired by caller.
Kurt Zeilenga [Thu, 27 May 1999 02:16:39 +0000 (02:16 +0000)]
Lock (connections_mutex) should be acquired by caller.

25 years agoAdd assert( s != NULL )
Kurt Zeilenga [Thu, 27 May 1999 01:36:38 +0000 (01:36 +0000)]
Add assert( s != NULL )

25 years agoAdd special case tests to avoid regressions.
Juan Gomez [Thu, 27 May 1999 00:56:43 +0000 (00:56 +0000)]
Add special case tests to avoid regressions.

25 years agoAdd new output file name.
Juan Gomez [Thu, 27 May 1999 00:31:30 +0000 (00:31 +0000)]
Add new output file name.

25 years agoNeed output for various tests in differen files so we know which specific
Juan Gomez [Thu, 27 May 1999 00:29:39 +0000 (00:29 +0000)]
Need output for various tests in differen files so we know which specific
part fails if it does.

25 years agoAdded nis ldif in the right place.
Juan Gomez [Thu, 27 May 1999 00:20:41 +0000 (00:20 +0000)]
Added nis ldif in the right place.

25 years agoFixed path to ldif file
Juan Gomez [Wed, 26 May 1999 23:52:27 +0000 (23:52 +0000)]
Fixed path to ldif file

25 years agoPoint to new dir for ldif file.
Juan Gomez [Wed, 26 May 1999 23:27:03 +0000 (23:27 +0000)]
Point to new dir for ldif file.

25 years agoPoint to new dir.
Juan Gomez [Wed, 26 May 1999 23:18:50 +0000 (23:18 +0000)]
Point to new dir.

25 years agoUpdate main comment.
Kurt Zeilenga [Wed, 26 May 1999 22:25:45 +0000 (22:25 +0000)]
Update main comment.

25 years agoAdd missing MSVC5 project.
Kurt Zeilenga [Wed, 26 May 1999 20:36:30 +0000 (20:36 +0000)]
Add missing MSVC5 project.

25 years agoAdd -lnet to BeOS specific libraries.
Kurt Zeilenga [Wed, 26 May 1999 20:35:31 +0000 (20:35 +0000)]
Add -lnet to BeOS specific libraries.

25 years agoAdd missing MSVC5 workspace/projects.
Kurt Zeilenga [Wed, 26 May 1999 19:49:10 +0000 (19:49 +0000)]
Add missing MSVC5 workspace/projects.

25 years agoFix compilation errors, mod declared as LDAPMod, but used inconsistently
Julio Sánchez Fernández [Wed, 26 May 1999 19:33:23 +0000 (19:33 +0000)]
Fix compilation errors, mod declared as LDAPMod, but used inconsistently
as LDAPMod (but incorrectly).  Please review this change, I am not sure
I understood what was intended.

25 years agoAdd main MSVC5 workspace to build the works.
Kurt Zeilenga [Wed, 26 May 1999 19:25:22 +0000 (19:25 +0000)]
Add main MSVC5 workspace to build the works.

25 years agoProvide human-readable syntax errors.
Julio Sánchez Fernández [Wed, 26 May 1999 19:21:55 +0000 (19:21 +0000)]
Provide human-readable syntax errors.

25 years agoProvide human-readable errors.
Julio Sánchez Fernández [Wed, 26 May 1999 19:20:40 +0000 (19:20 +0000)]
Provide human-readable errors.

25 years agoAccess x added!
Juan Gomez [Wed, 26 May 1999 19:18:05 +0000 (19:18 +0000)]
Access x added!

25 years agoTrying to change access to this file...
Juan Gomez [Wed, 26 May 1999 19:15:57 +0000 (19:15 +0000)]
Trying to change access to this file...

25 years agoChange conf for nis test.
Juan Gomez [Wed, 26 May 1999 18:49:09 +0000 (18:49 +0000)]
Change conf for nis test.

25 years agoMake it executable.
Juan Gomez [Wed, 26 May 1999 18:46:04 +0000 (18:46 +0000)]
Make it executable.

25 years agoRelocated nis schema.
Juan Gomez [Wed, 26 May 1999 18:37:30 +0000 (18:37 +0000)]
Relocated nis schema.

25 years agoFix namespace contamination, some comments added.
Julio Sánchez Fernández [Wed, 26 May 1999 13:52:11 +0000 (13:52 +0000)]
Fix namespace contamination, some comments added.

25 years agoMirror modrdn special case fix to db2.
Juan Gomez [Wed, 26 May 1999 12:29:54 +0000 (12:29 +0000)]
Mirror modrdn special case fix to db2.

25 years agoFix name typo
Juan Gomez [Wed, 26 May 1999 12:27:06 +0000 (12:27 +0000)]
Fix name typo

25 years agoMake bdb2i_modify_internal() public.
Juan Gomez [Wed, 26 May 1999 12:22:10 +0000 (12:22 +0000)]
Make bdb2i_modify_internal() public.

25 years agoMake bdb2i_back_modify_internal() public so it can be reused from
Juan Gomez [Wed, 26 May 1999 12:19:31 +0000 (12:19 +0000)]
Make bdb2i_back_modify_internal() public so it can be reused from
modrdn.

25 years agoAdded fix to allow modrdn whose new rdn was already an attr value.
Juan Gomez [Wed, 26 May 1999 11:59:54 +0000 (11:59 +0000)]
Added fix to allow modrdn whose new rdn was already an attr value.

25 years agoAgain mirroring LDAMP_MOD_SOFTADD changes....
Juan Gomez [Wed, 26 May 1999 11:54:39 +0000 (11:54 +0000)]
Again mirroring LDAMP_MOD_SOFTADD changes....

25 years agoMirroring changes related to indexing to db2 backend...
Juan Gomez [Wed, 26 May 1999 11:51:49 +0000 (11:51 +0000)]
Mirroring changes related to indexing to db2 backend...
someone better comes up with a solution for this replication soon!

25 years agoAdded support for LDAP_MOD_SOFTADD.
Juan Gomez [Wed, 26 May 1999 11:45:17 +0000 (11:45 +0000)]
Added support for LDAP_MOD_SOFTADD.

25 years agoFixed index file naming bug and added support for LDAP_MOD_SOFTADD.
Juan Gomez [Wed, 26 May 1999 11:41:14 +0000 (11:41 +0000)]
Fixed index file naming bug and added support for LDAP_MOD_SOFTADD.

25 years agoAdd warning regarding LDAP_MOD_* so poeple won't reuse the LDAP_MOD_SOFTADD
Juan Gomez [Wed, 26 May 1999 11:33:57 +0000 (11:33 +0000)]
Add warning regarding LDAP_MOD_* so poeple won't reuse the LDAP_MOD_SOFTADD
code by mistake.

25 years agoAdd LDAP_MOD_SOFTADD const.
Juan Gomez [Wed, 26 May 1999 11:30:18 +0000 (11:30 +0000)]
Add LDAP_MOD_SOFTADD const.

25 years agoAdded include <ac/time.h> needed for struct timeval...
Juan Gomez [Wed, 26 May 1999 10:45:51 +0000 (10:45 +0000)]
Added include <ac/time.h> needed for struct timeval...

25 years agoObsolete file. Oops.
Howard Chu [Wed, 26 May 1999 02:52:37 +0000 (02:52 +0000)]
Obsolete file. Oops.

25 years agoFor ITS#157: Added LDAP backend for slapd, which also required adding OPENLDAP_SLAPD_BACK_LDAP
Howard Chu [Wed, 26 May 1999 02:35:20 +0000 (02:35 +0000)]
For ITS#157: Added LDAP backend for slapd, which also required adding
LDAP_OPT_MATCH_STRING to ldap.h and libldap/options.c.

25 years agoRemove mkversion project.
Kurt Zeilenga [Wed, 26 May 1999 01:36:51 +0000 (01:36 +0000)]
Remove mkversion project.
Tag Julio for schema work.

25 years agoFor ITS#158: keep mixed-case backend suffix in addition to upcased suffix.
Howard Chu [Tue, 25 May 1999 21:40:40 +0000 (21:40 +0000)]
For ITS#158: keep mixed-case backend suffix in addition to upcased suffix.

25 years agoBeOS comment was incorrect.
Kurt Zeilenga [Tue, 25 May 1999 18:52:45 +0000 (18:52 +0000)]
BeOS comment was incorrect.

25 years agoEliminate DECL_STRDUP check in favor of simple fix to <ac/string.h> header.
Kurt Zeilenga [Mon, 24 May 1999 23:01:57 +0000 (23:01 +0000)]
Eliminate DECL_STRDUP check in favor of simple fix to <ac/string.h> header.
Add #undef and other protection of macros.

25 years agoUse memcmp not strncmp for non-string comparisons.
Kurt Zeilenga [Mon, 24 May 1999 22:51:13 +0000 (22:51 +0000)]
Use memcmp not strncmp for non-string comparisons.

25 years agosetsockopt( SO_KEEPALIVE ) on the listen() socket. Will be
Kurt Zeilenga [Mon, 24 May 1999 22:20:34 +0000 (22:20 +0000)]
setsockopt( SO_KEEPALIVE ) on the listen() socket.  Will be
inherited on accept().

25 years agoImplement keep alives. Probably should be a configuration option.
Kurt Zeilenga [Mon, 24 May 1999 21:57:26 +0000 (21:57 +0000)]
Implement keep alives.  Probably should be a configuration option.

25 years agoDo not set db_cachesize under BerkeleyDB 2.4.
Kurt Zeilenga [Mon, 24 May 1999 21:21:09 +0000 (21:21 +0000)]
Do not set db_cachesize under BerkeleyDB 2.4.