]> git.sur5r.net Git - openldap/log
openldap
25 years agonew code to support slapd as an NT service
Gary Williams [Wed, 16 Jun 1999 17:53:17 +0000 (17:53 +0000)]
new code to support slapd as an NT service

25 years agoRemove misplaced LDAP_P() in declaration of ldap_int_get_controls.
Kurt Zeilenga [Wed, 16 Jun 1999 17:11:14 +0000 (17:11 +0000)]
Remove misplaced LDAP_P() in declaration of ldap_int_get_controls.

25 years agoMake sure print_numericoid always returns with a value.
Julio Sánchez Fernández [Wed, 16 Jun 1999 12:31:18 +0000 (12:31 +0000)]
Make sure print_numericoid always returns with a value.
Remove some lint.

25 years agoFixed bogus handling of objectclass in oc_schema_check.
Julio Sánchez Fernández [Wed, 16 Jun 1999 12:11:47 +0000 (12:11 +0000)]
Fixed bogus handling of objectclass in oc_schema_check.

25 years agoReplaced add/delete_value() by change_value() and index_add/delete_value()
Juan Gomez [Tue, 15 Jun 1999 23:56:28 +0000 (23:56 +0000)]
Replaced add/delete_value() by change_value() and index_add/delete_value()
by index_change_values(). The functions were exactly the same but for
one call.

25 years agoFix a couple of nits. ldbmtest still needs to be ported to NT.
Kurt Zeilenga [Tue, 15 Jun 1999 21:17:26 +0000 (21:17 +0000)]
Fix a couple of nits.  ldbmtest still needs to be ported to NT.

25 years agoRemove meantion of ldapd from main README, add README in servers/ldapd
Kurt Zeilenga [Tue, 15 Jun 1999 21:09:46 +0000 (21:09 +0000)]
Remove meantion of ldapd from main README, add README in servers/ldapd
stating ldapd is not supported nor actively maintained, and the code
may suffer from bitrot.  Update configure warnings.

25 years agoEnabled deletion of stale index entries. (EXPERIMENTAL)
Juan Gomez [Tue, 15 Jun 1999 20:06:16 +0000 (20:06 +0000)]
Enabled deletion of stale index entries. (EXPERIMENTAL)

25 years agoAdded function delete_value() to remove entries from the index files
Juan Gomez [Tue, 15 Jun 1999 19:50:20 +0000 (19:50 +0000)]
Added function delete_value() to remove entries from the index files
when necessary.

25 years agoAdd '^' and '$' to ACLs RE's.
Kurt Zeilenga [Tue, 15 Jun 1999 19:41:42 +0000 (19:41 +0000)]
Add '^' and '$' to ACLs RE's.

25 years agoFix bad LBER_INVALID macro
Kurt Zeilenga [Tue, 15 Jun 1999 17:35:31 +0000 (17:35 +0000)]
Fix bad LBER_INVALID macro

25 years agoInitial RFC2252-compliant version.
Julio Sánchez Fernández [Tue, 15 Jun 1999 12:40:46 +0000 (12:40 +0000)]
Initial RFC2252-compliant version.

25 years agoWe don't have a definition for caseIgnoreListSubstringsMatch, disable
Julio Sánchez Fernández [Tue, 15 Jun 1999 12:39:35 +0000 (12:39 +0000)]
We don't have a definition for caseIgnoreListSubstringsMatch, disable
references to it for now.
Fix some broken definitions.
We don't have a definition for caseIgnoreIA5SubstringsMatch either,
delete for now.
Define buildingName, it was being referenced.

25 years agoWe don't have a definition for caseIgnoreListSubstringsMatch, disable
Julio Sánchez Fernández [Tue, 15 Jun 1999 12:37:06 +0000 (12:37 +0000)]
We don't have a definition for caseIgnoreListSubstringsMatch, disable
references to it for now.

25 years agoActivate checking of matching rules and syntaxes.
Julio Sánchez Fernández [Tue, 15 Jun 1999 12:35:29 +0000 (12:35 +0000)]
Activate checking of matching rules and syntaxes.
Make matching rules link to their syntaxes.
Many more matching rules and syntaxes.
Protect schema_init from multiple invocations.

25 years agoActivate support of matching rules and syntaxes, inherit them from superiors.
Julio Sánchez Fernández [Tue, 15 Jun 1999 12:32:21 +0000 (12:32 +0000)]
Activate support of matching rules and syntaxes, inherit them from superiors.

25 years agoNew error code, fixed definition of smr_syntax.
Julio Sánchez Fernández [Tue, 15 Jun 1999 12:30:51 +0000 (12:30 +0000)]
New error code, fixed definition of smr_syntax.

25 years agoMore error codes.
Julio Sánchez Fernández [Tue, 15 Jun 1999 12:28:54 +0000 (12:28 +0000)]
More error codes.

25 years agoMoved call of schema_init from main to read_config.
Julio Sánchez Fernández [Tue, 15 Jun 1999 12:26:07 +0000 (12:26 +0000)]
Moved call of schema_init from main to read_config.

25 years agoassert read/write to not in use sockbufs. This may cause problems
Kurt Zeilenga [Tue, 15 Jun 1999 02:31:15 +0000 (02:31 +0000)]
assert read/write to not in use sockbufs.  This may cause problems
with slapd... slapd should be fixed.

25 years agoconnection_get forgot to unlock c_mutex in not used case!
Kurt Zeilenga [Mon, 14 Jun 1999 20:33:21 +0000 (20:33 +0000)]
connection_get forgot to unlock c_mutex in not used case!

25 years agoRemove check for inactive streams before connection_read/_write
Kurt Zeilenga [Mon, 14 Jun 1999 20:28:30 +0000 (20:28 +0000)]
Remove check for inactive streams before connection_read/_write
calls.  Such checks are ineffective it protecting connection_read/_write
from being called inactive streams.  connection_read/_write have their
own protection against such (in connection_get()).

25 years agoMatching rules and syntaxes, initial step.
Julio Sánchez Fernández [Mon, 14 Jun 1999 19:10:07 +0000 (19:10 +0000)]
Matching rules and syntaxes, initial step.
schema_init, seeding of standard syntaxes and matching rules.

25 years agoAdded index_delete_values() in preparation for changes that will keep
Juan Gomez [Mon, 14 Jun 1999 18:16:05 +0000 (18:16 +0000)]
Added index_delete_values() in preparation for changes that will keep
index files clean.

25 years agoofficial -> canonical
Juan Gomez [Mon, 14 Jun 1999 16:37:46 +0000 (16:37 +0000)]
official -> canonical

25 years agos/official/canonical/ & s/at_on/at_cn/
Juan Gomez [Mon, 14 Jun 1999 16:36:00 +0000 (16:36 +0000)]
s/official/canonical/ & s/at_on/at_cn/

25 years agoSome changes to be more inline with the constification done on the library.
Julio Sánchez Fernández [Mon, 14 Jun 1999 14:34:07 +0000 (14:34 +0000)]
Some changes to be more inline with the constification done on the library.

25 years agoInitial definitions for syntaxes and matching rules.
Julio Sánchez Fernández [Mon, 14 Jun 1999 14:32:40 +0000 (14:32 +0000)]
Initial definitions for syntaxes and matching rules.

25 years agoMatching rules.
Julio Sánchez Fernández [Mon, 14 Jun 1999 13:40:52 +0000 (13:40 +0000)]
Matching rules.
Replace be_liberal by allow_quoted in low level parsers since that
reflects better its semantics.
Add allow_quoted to parse_numericoid.

25 years agoMatching rules.
Julio Sánchez Fernández [Mon, 14 Jun 1999 13:37:59 +0000 (13:37 +0000)]
Matching rules.

25 years agoConstification.
Julio Sánchez Fernández [Mon, 14 Jun 1999 11:57:43 +0000 (11:57 +0000)]
Constification.

25 years agoConstification
Julio Sánchez Fernández [Mon, 14 Jun 1999 11:57:02 +0000 (11:57 +0000)]
Constification

25 years agoNetscape DS quotes the SYNTAX values, we propagate the be_liberal
Julio Sánchez Fernández [Mon, 14 Jun 1999 11:31:42 +0000 (11:31 +0000)]
Netscape DS quotes the SYNTAX values, we propagate the be_liberal
setting to parse_noidlen so that it can grok that.
Propagate be_liberal parse_oids so that it only accepts a qdstring when
necessary (i.e. in SUP) to cater for another Netscapism.

25 years agoldap_*_free routines are new and replace the old static routines, all
Julio Sánchez Fernández [Sun, 13 Jun 1999 23:34:41 +0000 (23:34 +0000)]
ldap_*_free routines are new and replace the old static routines, all
references changed.
Parsers are now more liberal in that they can accept missing OIDs or
OIDs that are in the wrong syntax.

25 years agoNew ldap_syntax_free, ldap_attributetype_free and ldap_objectclass_free
Julio Sánchez Fernández [Sun, 13 Jun 1999 23:31:35 +0000 (23:31 +0000)]
New ldap_syntax_free, ldap_attributetype_free and ldap_objectclass_free
that replace old static routines.

25 years agos/ldap_open/ldap_init/ calls... ldap_open is deprecated.
Kurt Zeilenga [Sun, 13 Jun 1999 21:49:35 +0000 (21:49 +0000)]
s/ldap_open/ldap_init/ calls... ldap_open is deprecated.

25 years agoAdd draft 3 of the C API spec.
Kurt Zeilenga [Sat, 12 Jun 1999 21:28:24 +0000 (21:28 +0000)]
Add draft 3 of the C API spec.

25 years agoChange referral comment to point to root.openldap.org instead of umich.edu.
Kurt Zeilenga [Sat, 12 Jun 1999 21:02:11 +0000 (21:02 +0000)]
Change referral comment to point to root.openldap.org instead of umich.edu.
Both do not return anything useful.

25 years agoResched changes struct state without lock to avoid deadlock.
Kurt Zeilenga [Sat, 12 Jun 1999 00:29:41 +0000 (00:29 +0000)]
Resched changes struct state without lock to avoid deadlock.
Hence connection_get must recheck struct state after obtaining
c_mutex to detect close.

25 years agoconnection_get:
Kurt Zeilenga [Sat, 12 Jun 1999 00:03:39 +0000 (00:03 +0000)]
connection_get:
Connection could be closed before acquiring connections_mutex.
if c->c_struct_state == SLAP_C_UNUSED, return NULL.

25 years agoAdd additional assert in connection get for race debugging.
Kurt Zeilenga [Fri, 11 Jun 1999 23:19:31 +0000 (23:19 +0000)]
Add additional assert in connection get for race debugging.

25 years agoAdded at_official_name() to enable uniform naming of index files.
Juan Gomez [Fri, 11 Jun 1999 20:49:41 +0000 (20:49 +0000)]
Added at_official_name() to enable uniform naming of index files.

25 years agoAdded code for uniform naming of index files.
Juan Gomez [Fri, 11 Jun 1999 20:42:48 +0000 (20:42 +0000)]
Added code for uniform naming of index files.

25 years agoAdded at_ooficial_type() for uniform naming of index files.
Juan Gomez [Fri, 11 Jun 1999 20:41:07 +0000 (20:41 +0000)]
Added at_ooficial_type() for uniform naming of index files.

25 years agoEXPERIMENTAL: move slapd_remove to connections_read/_write as they
Kurt Zeilenga [Fri, 11 Jun 1999 19:10:45 +0000 (19:10 +0000)]
EXPERIMENTAL: move slapd_remove to connections_read/_write as they
acquire c_mutex.

25 years agoDrop support for alloca().
Juan Gomez [Fri, 11 Jun 1999 18:56:28 +0000 (18:56 +0000)]
Drop support for alloca().

25 years agoClean up build_result_ber error handling.
Kurt Zeilenga [Fri, 11 Jun 1999 18:48:34 +0000 (18:48 +0000)]
Clean up build_result_ber error handling.

25 years agoAdd AC_CANONICAL_SYSTEM to generate $target
Kurt Zeilenga [Fri, 11 Jun 1999 18:24:18 +0000 (18:24 +0000)]
Add AC_CANONICAL_SYSTEM to generate $target
Use $target instead of $host, maybe should use both $target and $host.
Fix $ol_host_os bug.

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....