Kurt Zeilenga
cf89dd83cd
don't set unsigned variables to -1 and expect them to be negative.
...
verify uid/gid are positive, not non-negative.
1999-06-27 03:58:06 +00:00
Bastiaan Bakker
5a470f8959
Merged dynamic module support patch (see ITS #196 ). To enable, run ./configure w
...
ith --enable-modules. GLib v1.2 or higher is required.
1999-06-24 17:06:34 +00:00
Bastiaan Bakker
e2b5b21155
Added connection initialisation and destruction notification. Now backends can register functions in backend_info.bi_connection_init and backend_info.bi_connection_destroy that will be called when a connection is initialized or destroyed.
1999-06-23 12:31:35 +00:00
Kurt Zeilenga
0b924192e7
Move nt_debug to -llutil and generalize for all platforms.
1999-06-21 22:52:28 +00:00
Kurt Zeilenga
2fda53f375
Add missing arguments to Debug() calls... and adapt nt_debug for general
...
use.
1999-06-21 22:36:13 +00:00
Kurt Zeilenga
6bd26a6aed
remove lint.
1999-06-21 22:35:02 +00:00
Kurt Zeilenga
52e69dfc14
All "o=foo" add to suffix "" if bound as root.
1999-06-19 05:11:18 +00:00
Kurt Zeilenga
f9a560114a
Allow adding of dn: o=foo if suffix is "" and rootdn.
1999-06-19 04:26:17 +00:00
Kurt Zeilenga
13ac82621b
Limit the check to a 4 tries every timeout.
1999-06-19 03:23:49 +00:00
Kurt Zeilenga
2d720643be
experimental connections_timeout_idle() implementation.
1999-06-19 03:20:01 +00:00
Kurt Zeilenga
669b8f4047
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
1999-06-18 23:53:05 +00:00
Kurt Zeilenga
7e4b3bc2e7
initial commit of idletimeout code... everything but the actual timeout.
1999-06-18 22:54:19 +00:00
Gary Williams
07e5656797
allow service name to be passed in for install/remove
1999-06-18 21:35:18 +00:00
Gary Williams
f0ea6f2ee4
add define of service name (shared in main and nt_svc, that's why it's here)
1999-06-18 21:34:24 +00:00
Gary Williams
49d9c99d58
fix comment format, allow service name to be passed in (-v option)
1999-06-18 21:33:39 +00:00
Gary Williams
1971837778
fix comments (remove // style), free(ptr) in slapd_daemon_task was causing heap failure
1999-06-18 21:31:53 +00:00
Gary Williams
e2a1216bda
change DIRSEP to LDAP_DIRSEP
1999-06-18 21:21:32 +00:00
Kurt Zeilenga
8e10bd5f81
Fix up NT slapd.dsp and nt_svc.c so that slapd builds under MSVC5.
1999-06-17 19:03:41 +00:00
Kurt Zeilenga
b0aea66d1d
Recommit NT service changes (untested) with changes to resolve
...
compiling errors on other platforms. Will need to update NT projects.
1999-06-17 18:46:02 +00:00
Julio Sánchez Fernández
5d8b65deb1
Have the normalize routines process white space in the required way.
...
Code untested, but it is not used yet.
1999-06-17 16:10:38 +00:00
Julio Sánchez Fernández
10eb260e9c
Some sample routines for implementing matching rules.
...
Some matching rule definitions modified to use said routines.
Default appropriately all other matching rules.
1999-06-17 15:07:35 +00:00
Julio Sánchez Fernández
45679394e0
If we are inheriting the syntax from a superior, we'd rather inherit
...
the length too.
1999-06-17 15:05:02 +00:00
Julio Sánchez Fernández
9ec2849a6d
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.
1999-06-17 13:11:30 +00:00
Julio Sánchez Fernández
66279c696c
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.
1999-06-17 13:08:40 +00:00
Kurt Zeilenga
bbc568b21f
ldapconfig.h vs ldap_config.h changes
...
backout previous nt changes (actually, just don't include nt_svc.c)
1999-06-17 04:43:24 +00:00
Kurt Zeilenga
21e081dc5b
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_/
1999-06-17 03:54:25 +00:00
Kurt Zeilenga
23c4b81819
Backout NT Service changes.... breaks Unix builds...
1999-06-17 00:51:12 +00:00
Kurt Zeilenga
36cb034611
Add test for resched state change in connection_get
1999-06-17 00:48:51 +00:00
Gary Williams
bfa86bcf57
new module to support slapd as NT service
1999-06-16 19:16:34 +00:00
Gary Williams
4d13d4071a
add code to support slapd as NT service
1999-06-16 19:15:35 +00:00
Gary Williams
2ffc4b19ea
check addr for NULL before copying
1999-06-16 19:15:03 +00:00
Gary Williams
17c9a5798a
NT service code for slapd
1999-06-16 19:14:29 +00:00
Julio Sánchez Fernández
f5d28c6df5
Fixed bogus handling of objectclass in oc_schema_check.
1999-06-16 12:11:47 +00:00
Juan Gomez
4a683c204d
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.
1999-06-15 23:56:28 +00:00
Kurt Zeilenga
8f8cf6d3b1
Fix a couple of nits. ldbmtest still needs to be ported to NT.
1999-06-15 21:17:26 +00:00
Juan Gomez
5b0e434d93
Enabled deletion of stale index entries. (EXPERIMENTAL)
1999-06-15 20:06:16 +00:00
Juan Gomez
e1819eaff9
Added function delete_value() to remove entries from the index files
...
when necessary.
1999-06-15 19:50:20 +00:00
Julio Sánchez Fernández
74ff331014
Initial RFC2252-compliant version.
1999-06-15 12:40:46 +00:00
Julio Sánchez Fernández
c5060e655f
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.
1999-06-15 12:39:35 +00:00
Julio Sánchez Fernández
7ef4ec98b7
We don't have a definition for caseIgnoreListSubstringsMatch, disable
...
references to it for now.
1999-06-15 12:37:06 +00:00
Julio Sánchez Fernández
759bfa0c51
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.
1999-06-15 12:35:29 +00:00
Julio Sánchez Fernández
4cfb0be242
Activate support of matching rules and syntaxes, inherit them from superiors.
1999-06-15 12:32:21 +00:00
Julio Sánchez Fernández
fc44e7ddef
New error code, fixed definition of smr_syntax.
1999-06-15 12:30:51 +00:00
Julio Sánchez Fernández
5adb15f681
More error codes.
1999-06-15 12:28:54 +00:00
Julio Sánchez Fernández
803d6d1204
Moved call of schema_init from main to read_config.
1999-06-15 12:26:07 +00:00
Kurt Zeilenga
61eaffeed2
connection_get forgot to unlock c_mutex in not used case!
1999-06-14 20:33:21 +00:00
Kurt Zeilenga
e2e1cb76cb
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()).
1999-06-14 20:28:30 +00:00
Julio Sánchez Fernández
87b86a52e4
Matching rules and syntaxes, initial step.
...
schema_init, seeding of standard syntaxes and matching rules.
1999-06-14 19:10:07 +00:00
Juan Gomez
499b8fdc04
Added index_delete_values() in preparation for changes that will keep
...
index files clean.
1999-06-14 18:16:05 +00:00
Juan Gomez
24ec5ded59
official -> canonical
1999-06-14 16:37:46 +00:00