Kurt Zeilenga
97bc107537
Add macros to support testing of error categories to ldap.h
...
Modify ldap_result to assert returned error is not an one reserved
for API use.
Modify frontend LDAP operation routines to return an error code.
The returned value will be used to determine if an unsolicited notification
should be sent to the client.
Need to review returned error codes. Namely some LDAP_PROTOCOL_ERROR
will like need to be changed (as they will cause unsolicited notifications).
1999-07-01 21:20:45 +00:00
Kurt Zeilenga
d7b311c6e1
s/LDAP_NOT_SUPPORTED/LDAP_UNWILLING_TO_PERFORM/
1999-07-01 04:43:48 +00:00
Kurt Zeilenga
ddd0559284
Fairly complete slapd SASL bind parsing... and centralized cleanup code.
...
Update error strings and cldap misuse of server error.
1999-07-01 04:42:01 +00:00
Kurt Zeilenga
129ee42f37
NO-OP SASL parsing... DIGEST-MD5 coming soon.
1999-07-01 03:18:00 +00:00
Kurt Zeilenga
f9db1ea889
Rework BER decoding with lieu of LDAPv3 controls (coming soon).
...
Add place holder for handling LDAPv3 extended operations (coming soon).
1999-06-30 22:43:27 +00:00
Kurt Zeilenga
14820afdd9
Reimplement connection counters. Format of "connection" attribute
...
changed significantly.
1999-06-30 02:50:40 +00:00
Kurt Zeilenga
9225707a06
Modify lutil_passwd to accept a third argument char** methods to
...
specific which methods may be used. This will facilate development
of a slapd config directive "passwordMethod ..." to specify which
methods should be allowed.
1999-06-29 22:24:53 +00:00
Kurt Zeilenga
fe00263875
expose oc_check_operational from schema.c
...
Use everywhere.
Apply search ACLs to operational attributes.
Only provide operational attributes when explicitly requested.
1999-06-29 04:52:55 +00:00
Kurt Zeilenga
a7dfc2aada
Add sasl "mech" argument to backend bind routines.
1999-06-29 03:29:26 +00:00
Kurt Zeilenga
1ee85df297
Add framework for sasl and controls.
1999-06-29 03:17:22 +00:00
Kurt Zeilenga
dcc5bdfe7e
Log out to stderr, add LDAP_VERSION3 support to bind.c and modrdn.c
1999-06-29 01:02:48 +00:00
Kurt Zeilenga
2660d0b42f
Remove old U-Mich v3.0 and OLD_LDAP_* crud.
...
Leave only LDAPv2+ and LDAPv3.
1999-06-29 00:03:34 +00:00
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