]> git.sur5r.net Git - openldap/log
openldap
25 years agoAdd lber_types.h to setup.dsp.
Kurt Zeilenga [Sat, 19 Jun 1999 01:53:15 +0000 (01:53 +0000)]
Add lber_types.h to setup.dsp.
s/setup.exe/setup.txt/g
create workspace for testing purposes.

25 years agober_int_t, ber_tag_t, ber_socket_t, ber_len_t
Kurt Zeilenga [Fri, 18 Jun 1999 23:53:05 +0000 (23:53 +0000)]
ber_int_t, ber_tag_t, ber_socket_t, ber_len_t
added lber_types.h.nt, lber_types.h.in
removal of NULLxxx internal macros (in favor of NULL).
ch_free added to slapd,slurpd/ch_malloc.c
#define free ch_free (should be removed after s/free/ch_free/g) in proto-slap.h
ch_malloc and friends use ber_memalloc and friends

25 years agoinitial commit of idletimeout code... everything but the actual timeout.
Kurt Zeilenga [Fri, 18 Jun 1999 22:54:19 +0000 (22:54 +0000)]
initial commit of idletimeout code...  everything but the actual timeout.

25 years agoallow service name to be passed in for install/remove
Gary Williams [Fri, 18 Jun 1999 21:35:18 +0000 (21:35 +0000)]
allow service name to be passed in for install/remove

25 years agoadd define of service name (shared in main and nt_svc, that's why it's here)
Gary Williams [Fri, 18 Jun 1999 21:34:24 +0000 (21:34 +0000)]
add define of service name (shared in main and nt_svc, that's why it's here)

25 years agofix comment format, allow service name to be passed in (-v option)
Gary Williams [Fri, 18 Jun 1999 21:33:39 +0000 (21:33 +0000)]
fix comment format, allow service name to be passed in (-v option)

25 years agofix comments (remove // style), free(ptr) in slapd_daemon_task was causing heap failure
Gary Williams [Fri, 18 Jun 1999 21:31:53 +0000 (21:31 +0000)]
fix comments (remove // style), free(ptr) in slapd_daemon_task was causing heap failure

25 years agoclose registry, and return static pointer (no free) from getRegParam
Gary Williams [Fri, 18 Jun 1999 21:29:02 +0000 (21:29 +0000)]
close registry, and return static pointer (no free) from getRegParam

25 years agofix flag on formatMessage to not allocate buffer
Gary Williams [Fri, 18 Jun 1999 21:27:43 +0000 (21:27 +0000)]
fix flag on formatMessage to not allocate buffer

25 years agoremove dependencies on other libraries
Gary Williams [Fri, 18 Jun 1999 21:27:20 +0000 (21:27 +0000)]
remove dependencies on other libraries

25 years agoadd setup project to copy config files as necessary
Gary Williams [Fri, 18 Jun 1999 21:26:29 +0000 (21:26 +0000)]
add setup project to copy config files as necessary

25 years agonew project to copy files from *.h.nt to .h
Gary Williams [Fri, 18 Jun 1999 21:24:04 +0000 (21:24 +0000)]
new project to copy files from *.h.nt to .h

25 years agochange DIRSEP to LDAP_DIRSEP
Gary Williams [Fri, 18 Jun 1999 21:21:32 +0000 (21:21 +0000)]
change DIRSEP to LDAP_DIRSEP

25 years agos/prototypes/constructs/ in ANSI C warning.
Kurt Zeilenga [Fri, 18 Jun 1999 20:58:36 +0000 (20:58 +0000)]
s/prototypes/constructs/ in ANSI C warning.

25 years agoFix up NT slapd.dsp and nt_svc.c so that slapd builds under MSVC5.
Kurt Zeilenga [Thu, 17 Jun 1999 19:03:41 +0000 (19:03 +0000)]
Fix up NT slapd.dsp and nt_svc.c so that slapd builds under MSVC5.

25 years agoRecommit NT service changes (untested) with changes to resolve
Kurt Zeilenga [Thu, 17 Jun 1999 18:46:02 +0000 (18:46 +0000)]
Recommit NT service changes (untested) with changes to resolve
compiling errors on other platforms.  Will need to update NT projects.

25 years agoRemove review ldapconfig.h.edit step from installation.
Kurt Zeilenga [Thu, 17 Jun 1999 17:44:38 +0000 (17:44 +0000)]
Remove review ldapconfig.h.edit step from installation.

25 years agoHave the normalize routines process white space in the required way.
Julio Sánchez Fernández [Thu, 17 Jun 1999 16:10:38 +0000 (16:10 +0000)]
Have the normalize routines process white space in the required way.
Code untested, but it is not used yet.

25 years agoSome sample routines for implementing matching rules.
Julio Sánchez Fernández [Thu, 17 Jun 1999 15:07:35 +0000 (15:07 +0000)]
Some sample routines for implementing matching rules.
Some matching rule definitions modified to use said routines.
Default appropriately all other matching rules.

25 years agoIf we are inheriting the syntax from a superior, we'd rather inherit
Julio Sánchez Fernández [Thu, 17 Jun 1999 15:05:02 +0000 (15:05 +0000)]
If we are inheriting the syntax from a superior, we'd rather inherit
the length too.

25 years agoFix handling of SYNTAX_CES by making use of some matching rules in
Julio Sánchez Fernández [Thu, 17 Jun 1999 13:11:30 +0000 (13:11 +0000)]
Fix handling of SYNTAX_CES by making use of some matching rules in
X.520 that were not inherited by RFC2252.
Fill in properly the matching rule oids when converting an attribute
type definition in the old format.

25 years agoDefined 3 new matching rules taken from X.520 that were necessary to
Julio Sánchez Fernández [Thu, 17 Jun 1999 13:08:40 +0000 (13:08 +0000)]
Defined 3 new matching rules taken from X.520 that were necessary to
do properly SYNTAX_CES.  Documented all other matching rules from
X.520 that we do not use.

25 years agoldapconfig.h vs ldap_config.h changes
Kurt Zeilenga [Thu, 17 Jun 1999 04:43:24 +0000 (04:43 +0000)]
ldapconfig.h vs ldap_config.h changes
backout previous nt changes (actually, just don't include nt_svc.c)

25 years agoSeparate autoconf generated values from "defaults".
Kurt Zeilenga [Thu, 17 Jun 1999 03:54:25 +0000 (03:54 +0000)]
Separate autoconf generated values from "defaults".
ldap_defaults.h incorporates non-generated ldapconfig.h values.
ldap_config.h.in is new template for autoconf generated defaults
(namely directories and paths)
ldap_config.h.nt, NT template (must be manually copied)
s/<ldapconfig.h>/<ldap_defaults.h>/
s/DIRSEP/LDAP_DIRSEP/ & s/DEFAULT_/LDAP_/

25 years agoFor AIX thread options when CC is manual set to cc_r or xlc_r.
Kurt Zeilenga [Thu, 17 Jun 1999 03:26:42 +0000 (03:26 +0000)]
For AIX thread options when CC is manual set to cc_r or xlc_r.

25 years agoBackout NT Service changes.... breaks Unix builds...
Kurt Zeilenga [Thu, 17 Jun 1999 00:51:12 +0000 (00:51 +0000)]
Backout NT Service changes....  breaks Unix builds...

25 years agoAdd test for resched state change in connection_get
Kurt Zeilenga [Thu, 17 Jun 1999 00:48:51 +0000 (00:48 +0000)]
Add test for resched state change in connection_get

25 years agonew module to support slapd as NT service
Gary Williams [Wed, 16 Jun 1999 19:16:34 +0000 (19:16 +0000)]
new module to support slapd as NT service

25 years agoadd code to support slapd as NT service
Gary Williams [Wed, 16 Jun 1999 19:15:35 +0000 (19:15 +0000)]
add code to support slapd as NT service

25 years agocheck addr for NULL before copying
Gary Williams [Wed, 16 Jun 1999 19:15:03 +0000 (19:15 +0000)]
check addr for NULL before copying

25 years agoNT service code for slapd
Gary Williams [Wed, 16 Jun 1999 19:14:29 +0000 (19:14 +0000)]
NT service code for slapd

25 years agoAdd slapd password handling projects (these are often asked for).
Kurt Zeilenga [Wed, 16 Jun 1999 19:09:34 +0000 (19:09 +0000)]
Add slapd password handling projects (these are often asked for).

25 years agoadd new NT service modules
Gary Williams [Wed, 16 Jun 1999 17:53:38 +0000 (17:53 +0000)]
add new NT service modules

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.