]> git.sur5r.net Git - openldap/log
openldap
25 years ago_SGI_MP_SOURCE errno/h_errno experiment
Kurt Zeilenga [Fri, 11 Jun 1999 00:07:10 +0000 (00:07 +0000)]
_SGI_MP_SOURCE errno/h_errno experiment

25 years agoAdd Debug to help sort out race condition.
Kurt Zeilenga [Thu, 10 Jun 1999 22:21:51 +0000 (22:21 +0000)]
Add Debug to help sort out race condition.

25 years agoClose inactive streams instead of asserting condition.
Kurt Zeilenga [Thu, 10 Jun 1999 22:06:05 +0000 (22:06 +0000)]
Close inactive streams instead of asserting condition.

25 years agoAdd cheap EBADF loop protection.
Kurt Zeilenga [Thu, 10 Jun 1999 21:11:21 +0000 (21:11 +0000)]
Add cheap EBADF loop protection.

25 years agoFix build_result_ber to construct a new ber and to set ld_errno appropriately.
Kurt Zeilenga [Thu, 10 Jun 1999 18:00:04 +0000 (18:00 +0000)]
Fix build_result_ber to construct a new ber and to set ld_errno appropriately.

25 years agoUpdate AIX thread test.
Kurt Zeilenga [Thu, 10 Jun 1999 17:19:43 +0000 (17:19 +0000)]
Update AIX thread test.

25 years agoFix typo in last commit.
Kurt Zeilenga [Thu, 10 Jun 1999 15:55:00 +0000 (15:55 +0000)]
Fix typo in last commit.

25 years agoAdd basic regex compatibility test.
Kurt Zeilenga [Thu, 10 Jun 1999 04:00:27 +0000 (04:00 +0000)]
Add basic regex compatibility test.

25 years agoDon't shutdown when select() returns EBADF.
Kurt Zeilenga [Thu, 10 Jun 1999 03:11:22 +0000 (03:11 +0000)]
Don't shutdown when select() returns EBADF.

25 years agoFix unprotected (and bad) FD_SET asserts.
Kurt Zeilenga [Thu, 10 Jun 1999 02:52:51 +0000 (02:52 +0000)]
Fix unprotected (and bad) FD_SET asserts.

25 years agoSync this files for this example to work properly.
Juan Gomez [Thu, 10 Jun 1999 01:25:55 +0000 (01:25 +0000)]
Sync this files for this example to work properly.

25 years agoDisable LDAP_MEMORY_DEBUG on NT (should not have been enabled by default).
Kurt Zeilenga [Thu, 10 Jun 1999 00:56:00 +0000 (00:56 +0000)]
Disable LDAP_MEMORY_DEBUG on NT (should not have been enabled by default).
Fix LDAP_MEMORY_DEBUG realloc size bug, thanks Alex.

25 years agoreally commit the sizeof(int) < 4 warning
Kurt Zeilenga [Thu, 10 Jun 1999 00:54:47 +0000 (00:54 +0000)]
really commit the sizeof(int) < 4 warning

25 years agodisable referral directive.
Kurt Zeilenga [Wed, 9 Jun 1999 23:43:22 +0000 (23:43 +0000)]
disable referral directive.

25 years agoIn preparation for IETF draft ldap c-api changes, 'int' must be 32 bits
Kurt Zeilenga [Wed, 9 Jun 1999 20:37:31 +0000 (20:37 +0000)]
In preparation for IETF draft ldap c-api changes, 'int' must be 32 bits
or larger.

25 years agoFixed inconsistent management of white space that was producing parsing
Julio Sánchez Fernández [Wed, 9 Jun 1999 11:51:31 +0000 (11:51 +0000)]
Fixed inconsistent management of white space that was producing parsing
problems in slapd.

25 years agoRemoved unnecessary definition that is already in core.schema.
Julio Sánchez Fernández [Wed, 9 Jun 1999 11:08:10 +0000 (11:08 +0000)]
Removed unnecessary definition that is already in core.schema.

25 years agoFail depend test if .o is generated.
Kurt Zeilenga [Wed, 9 Jun 1999 02:41:58 +0000 (02:41 +0000)]
Fail depend test if .o is generated.

25 years agoFix typos and bug in AIX cc_r detection.
Kurt Zeilenga [Wed, 9 Jun 1999 00:25:42 +0000 (00:25 +0000)]
Fix typos and bug in AIX cc_r detection.

25 years agoAdd test for BeOS's closesocket
Kurt Zeilenga [Wed, 9 Jun 1999 00:10:26 +0000 (00:10 +0000)]
Add test for BeOS's closesocket

25 years agoFirst cut at cc_r detection. Specific to AIX. See comment in
Kurt Zeilenga [Tue, 8 Jun 1999 23:32:36 +0000 (23:32 +0000)]
First cut at cc_r detection.  Specific to AIX.  See comment in
configure.in for details.

25 years agoUpdate build system to use output of new dependency generation detection
Kurt Zeilenga [Tue, 8 Jun 1999 19:13:00 +0000 (19:13 +0000)]
Update build system to use output of new dependency generation detection
macros.  Proceedures for using alternative dependency generation
"compiler" and "flags" has changed.
    Pre-configure:
        env MKDEP=mycc MKDEP_FLAGS=myccflags ./configure
    Post-configure:
        hack top.mk and run ./config.status

25 years agoFixed some syntax errors.
Julio Sánchez Fernández [Tue, 8 Jun 1999 17:41:09 +0000 (17:41 +0000)]
Fixed some syntax errors.

25 years agoAdded whitespace in output in a few places.
Julio Sánchez Fernández [Tue, 8 Jun 1999 17:40:27 +0000 (17:40 +0000)]
Added whitespace in output in a few places.
Minor cosmetic changes.
Fixed parsing of noidlen.

25 years agoUse AC_CHECK_PROGS instead of AC_CHECK_PROG to test for 'cc' in path.
Kurt Zeilenga [Tue, 8 Jun 1999 03:44:35 +0000 (03:44 +0000)]
Use AC_CHECK_PROGS instead of AC_CHECK_PROG to test for 'cc' in path.
AC_CHECK_PROGS leaves CC alone of 'cc' is not found.

25 years agoOnly set CC=cc if test -z CC && cc exists in path...
Kurt Zeilenga [Tue, 8 Jun 1999 02:38:05 +0000 (02:38 +0000)]
Only set CC=cc if test -z CC && cc exists in path...

25 years agoAdd missing ';' after BER_MEM_VALID macro calls.
Kurt Zeilenga [Tue, 8 Jun 1999 01:41:38 +0000 (01:41 +0000)]
Add missing ';' after BER_MEM_VALID macro calls.

25 years agodon't test BER_MEM_VALID forever.
Kurt Zeilenga [Tue, 8 Jun 1999 01:37:47 +0000 (01:37 +0000)]
don't test BER_MEM_VALID forever.

25 years agoOL_MKDEPEND: Round 2
Kurt Zeilenga [Tue, 8 Jun 1999 01:33:36 +0000 (01:33 +0000)]
OL_MKDEPEND: Round 2
now supports DETECTION using:
./configure
env MKDEP_FLAGS=-MM ./configure
env MKDEP=foo ./configure (no tests, no flags)
env MKDEP=foo MKDEP_FLAGS=-bar ./configure (no tests)
Exported AC_MKDEP and AC_MKDEP_FLAGS which can no be used
in build/*.mk

25 years agoFirst cut of OL_CC_DEPEND test. Attempts to detect the appropriate
Kurt Zeilenga [Mon, 7 Jun 1999 23:15:36 +0000 (23:15 +0000)]
First cut of OL_CC_DEPEND test.  Attempts to detect the appropriate
flag to generate dependencies.  Output not used (yet).

25 years agoMinor clean of assert() and comments.
Kurt Zeilenga [Mon, 7 Jun 1999 23:12:34 +0000 (23:12 +0000)]
Minor clean of assert() and comments.

25 years agoUPDATED LICENSE!
Kurt Zeilenga [Mon, 7 Jun 1999 19:39:14 +0000 (19:39 +0000)]
UPDATED LICENSE!

25 years agoAdd and use a BER_MEM_VALID macro (behind ifdef LDAP_MEMORY_DEBUG).
Kurt Zeilenga [Mon, 7 Jun 1999 19:33:08 +0000 (19:33 +0000)]
Add and use a BER_MEM_VALID macro (behind ifdef LDAP_MEMORY_DEBUG).
Make sure LBER_INTIALIZED is set on any ber_mem* call.

25 years agoHide assert(p == NULL) behind LDAP_MEMORY_DEBUG.
Kurt Zeilenga [Mon, 7 Jun 1999 18:48:22 +0000 (18:48 +0000)]
Hide assert(p == NULL) behind LDAP_MEMORY_DEBUG.
Add detection for duplicate free in LDAP_MEMORY_DEBUG code.

25 years agoUse LDAP_VERSION2 instead of LDAP_VERSION.
Kurt Zeilenga [Mon, 7 Jun 1999 18:45:52 +0000 (18:45 +0000)]
Use LDAP_VERSION2 instead of LDAP_VERSION.

25 years agoFix target directories.
Kurt Zeilenga [Mon, 7 Jun 1999 18:40:21 +0000 (18:40 +0000)]
Fix target directories.

25 years agoUse LDAP_F/LDAP_P macros on library externs.
Kurt Zeilenga [Mon, 7 Jun 1999 18:37:16 +0000 (18:37 +0000)]
Use LDAP_F/LDAP_P macros on library externs.
Fix install of ldap_schema.h to use $(srcdir)

25 years agoUse LDAP_F and LDAP_P macros.
Kurt Zeilenga [Mon, 7 Jun 1999 18:35:30 +0000 (18:35 +0000)]
Use LDAP_F and LDAP_P macros.
Fix LDAP_HI 0x377 vs 0377 bug.

25 years agoAdd test for thread specific h_errno and, if yes, add thread libraries
Kurt Zeilenga [Mon, 7 Jun 1999 05:30:05 +0000 (05:30 +0000)]
Add test for thread specific h_errno and, if yes, add thread libraries
to lib.

25 years agoUpdate hints.
Kurt Zeilenga [Sun, 6 Jun 1999 19:52:05 +0000 (19:52 +0000)]
Update hints.

25 years agoAdd README with URLs to developer pages.
Kurt Zeilenga [Sun, 6 Jun 1999 19:45:46 +0000 (19:45 +0000)]
Add README with URLs to developer pages.

25 years agoAdd link to developer's FAQ.
Kurt Zeilenga [Sun, 6 Jun 1999 19:43:41 +0000 (19:43 +0000)]
Add link to developer's FAQ.

25 years agoSomeone who isn't likely to upgrade to BerkeleyDB 2 isn't likely
Kurt Zeilenga [Sun, 6 Jun 1999 19:40:15 +0000 (19:40 +0000)]
Someone who isn't likely to upgrade to BerkeleyDB 2 isn't likely
to install this patch.

25 years agoUpdate BDB version number to 2.7.5... should rewrite this.
Kurt Zeilenga [Sun, 6 Jun 1999 19:36:02 +0000 (19:36 +0000)]
Update BDB version number to 2.7.5...  should rewrite this.

25 years agoAllow -m to set CC_MKDEP and -x to set CC_MKDEP_FLAGS.
Kurt Zeilenga [Sun, 6 Jun 1999 17:45:39 +0000 (17:45 +0000)]
Allow -m to set CC_MKDEP and -x to set CC_MKDEP_FLAGS.

25 years ago-c xxx overrides CC_MKDEP
Kurt Zeilenga [Sun, 6 Jun 1999 17:13:07 +0000 (17:13 +0000)]
-c xxx  overrides CC_MKDEP

25 years agomkdep was ignoring CC_MKDEP!
Kurt Zeilenga [Sun, 6 Jun 1999 06:38:37 +0000 (06:38 +0000)]
mkdep was ignoring CC_MKDEP!

25 years agoRevert previous two commits.
Kurt Zeilenga [Sun, 6 Jun 1999 06:20:29 +0000 (06:20 +0000)]
Revert previous two commits.

25 years agoFix typo in last commit.
Kurt Zeilenga [Sun, 6 Jun 1999 06:13:03 +0000 (06:13 +0000)]
Fix typo in last commit.

25 years agoQuick hack for cygwin default compiler... should replace with
Kurt Zeilenga [Sun, 6 Jun 1999 06:10:22 +0000 (06:10 +0000)]
Quick hack for cygwin default compiler... should replace with
test for 'cc'.

25 years agoAdd EXEEXT support (build only).
Kurt Zeilenga [Sun, 6 Jun 1999 05:32:55 +0000 (05:32 +0000)]
Add EXEEXT support (build only).

25 years agoA slightly better POSIX regex test....
Kurt Zeilenga [Sun, 6 Jun 1999 04:44:34 +0000 (04:44 +0000)]
A slightly better POSIX regex test....

25 years agoRelocate regex.h test to near top and die if it fails.
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.

25 years agos/LDAP_OPT_MATCH_STRING/LDAP_OPT_MATCHED_DN/
Kurt Zeilenga [Sat, 5 Jun 1999 20:27:43 +0000 (20:27 +0000)]
s/LDAP_OPT_MATCH_STRING/LDAP_OPT_MATCHED_DN/

25 years agos/LDAP_OPT_MATCHED_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.

25 years agoRemove DOS comment.
Kurt Zeilenga [Sat, 5 Jun 1999 20:14:02 +0000 (20:14 +0000)]
Remove DOS comment.

25 years agorename LDAP_OPT_MATCHED_STRING to LDAP_OPT_MATCHED_DN.
Kurt Zeilenga [Sat, 5 Jun 1999 20:12:53 +0000 (20:12 +0000)]
rename LDAP_OPT_MATCHED_STRING to LDAP_OPT_MATCHED_DN.

25 years agoInitialize connection pointer to NULL else won't be able to
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.

25 years agoUndo assert fix included in last commit.
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.

25 years agoAdd #define FD_SETSIZE 1024
Kurt Zeilenga [Fri, 4 Jun 1999 22:23:52 +0000 (22:23 +0000)]
Add #define FD_SETSIZE 1024

25 years agoFix typo in previous commit.
Kurt Zeilenga [Fri, 4 Jun 1999 22:15:35 +0000 (22:15 +0000)]
Fix typo in previous commit.

25 years agoAdd diagnostics.
Kurt Zeilenga [Fri, 4 Jun 1999 21:43:06 +0000 (21:43 +0000)]
Add diagnostics.

25 years agoClose hit socket.
Kurt Zeilenga [Fri, 4 Jun 1999 21:42:25 +0000 (21:42 +0000)]
Close hit socket.

25 years agoAdd section for OpenLDAP 2.0 projects, drop "larger than life" projects.
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.

25 years agoMissed on mygetpass call...
Kurt Zeilenga [Fri, 4 Jun 1999 05:30:35 +0000 (05:30 +0000)]
Missed on mygetpass call...

25 years agouse getpass() instead of mygetpass().
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).

25 years agoMove WAKE_LISTENER call behind &connection_mutex to eliminate
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.

25 years agoEXPERIMENTAL ldap_extended_operation() and ldap_parse_extended_result()
Kurt Zeilenga [Fri, 4 Jun 1999 00:34:04 +0000 (00:34 +0000)]
EXPERIMENTAL ldap_extended_operation() and ldap_parse_extended_result()

25 years agolber.h: added #include <stddef.h> conditional on LBER_SIZE_T_DEFINED
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

25 years agoFix typos in warning messages.
Kurt Zeilenga [Thu, 3 Jun 1999 22:51:29 +0000 (22:51 +0000)]
Fix typos in warning messages.

25 years agoAdd cn=monitor, cn=config, cn=schema to namingContexts.
Kurt Zeilenga [Thu, 3 Jun 1999 19:58:05 +0000 (19:58 +0000)]
Add cn=monitor, cn=config, cn=schema to namingContexts.

25 years agoUpdate comments to reflect RFC2251 specs.
Kurt Zeilenga [Thu, 3 Jun 1999 19:22:33 +0000 (19:22 +0000)]
Update comments to reflect RFC2251 specs.

25 years agoEnable browsing info in MSVC debugging configurations.
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().

25 years agoAdd sizelimit/timelimit comments concerning ldap.conf (ITS#180).
Kurt Zeilenga [Thu, 3 Jun 1999 05:11:22 +0000 (05:11 +0000)]
Add sizelimit/timelimit comments concerning ldap.conf (ITS#180).

25 years agos/DEFAULT_DIRSEP/DIRSEP/
Kurt Zeilenga [Thu, 3 Jun 1999 01:03:52 +0000 (01:03 +0000)]
s/DEFAULT_DIRSEP/DIRSEP/

25 years agoRemove <memory.h> from stdlib.h (mem* fns should be in string.h).
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).

25 years agoWarn if attempting to build ldapd. (In preparation to move
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)

25 years agos/<stdlib.h>/<ac/stdlib.h>/
Kurt Zeilenga [Thu, 3 Jun 1999 00:37:44 +0000 (00:37 +0000)]
s/<stdlib.h>/<ac/stdlib.h>/

25 years agoAdd <ac/stdlib.h> to genericize memory allocators.
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.

25 years agoFix up s/NULL.*/NULL/ errors
Kurt Zeilenga [Wed, 2 Jun 1999 23:21:06 +0000 (23:21 +0000)]
Fix up s/NULL.*/NULL/ errors

25 years agoNo anonymous unions.
Kurt Zeilenga [Wed, 2 Jun 1999 22:40:58 +0000 (22:40 +0000)]
No anonymous unions.

25 years agoUse ber_strdup() as needed.
Kurt Zeilenga [Wed, 2 Jun 1999 22:33:57 +0000 (22:33 +0000)]
Use ber_strdup() as needed.

25 years agoAdd ber_strdup(), remove ldap_int_strdup(), add LDAP_STRDUP macro
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.

25 years agoMake first argument of *_get_option const (experimental).
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.

25 years agoAdd experimental wrong heap detection behind LDAP_MEMORY_DEBUG macro.
Kurt Zeilenga [Wed, 2 Jun 1999 21:34:34 +0000 (21:34 +0000)]
Add experimental wrong heap detection behind LDAP_MEMORY_DEBUG macro.

25 years agoAdd prototype for at_add().
Kurt Zeilenga [Wed, 2 Jun 1999 21:29:45 +0000 (21:29 +0000)]
Add prototype for at_add().

25 years agoStupid me. Can't have both README and readme due to CIS filenames.
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.

25 years agovalue_normalize can change the length of value. Fixed
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...

25 years agorfc1959 best documents current behavior.
Kurt Zeilenga [Wed, 2 Jun 1999 19:25:45 +0000 (19:25 +0000)]
rfc1959 best documents current behavior.

25 years agoUpdate Release/SRelease include paths
Kurt Zeilenga [Wed, 2 Jun 1999 04:08:50 +0000 (04:08 +0000)]
Update Release/SRelease include paths

25 years agoUpdate both README/readme to match. (Yes, two files, I want this
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).

25 years agoUpdate Solaris hints (remove pthread_create hint).
Kurt Zeilenga [Wed, 2 Jun 1999 03:34:38 +0000 (03:34 +0000)]
Update Solaris hints (remove pthread_create hint).
Add new README.

25 years agoFix -ULDAP_DEBUG lint.
Kurt Zeilenga [Wed, 2 Jun 1999 03:09:40 +0000 (03:09 +0000)]
Fix -ULDAP_DEBUG lint.

25 years agoUsed pre-normalized len of e_dn instead of just using e_ndn (and it's len).
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).

25 years agoMinor adjustments to the LBER_VFREE() & LDAP_VFREE macros.
Kurt Zeilenga [Tue, 1 Jun 1999 19:25:17 +0000 (19:25 +0000)]
Minor adjustments to the LBER_VFREE() & LDAP_VFREE macros.

25 years agoClean up memory handlers. Share vector free routines... ber_memvfree().
Kurt Zeilenga [Tue, 1 Jun 1999 19:08:27 +0000 (19:08 +0000)]
Clean up memory handlers.  Share vector free routines... ber_memvfree().

25 years agoRemove NULL* macros (namespace).
Kurt Zeilenga [Tue, 1 Jun 1999 19:05:54 +0000 (19:05 +0000)]
Remove NULL* macros (namespace).

25 years agoUse ldap_mods_free() instead of local routine.
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().

25 years agoClean up namespace
Kurt Zeilenga [Tue, 1 Jun 1999 19:03:47 +0000 (19:03 +0000)]
Clean up namespace

25 years agoAdd ldap_memvfree(void** vector)
Kurt Zeilenga [Tue, 1 Jun 1999 19:02:10 +0000 (19:02 +0000)]
Add ldap_memvfree(void** vector)