]> git.sur5r.net Git - openldap/log
openldap
21 years agoAllow plugin to retrieve desired attribute list and state of manageDSAit control
Luke Howard [Thu, 23 Jan 2003 08:45:28 +0000 (08:45 +0000)]
Allow plugin to retrieve desired attribute list and state of manageDSAit control
Support search preop/rewrite/postop plugins for root DSE and subschema

21 years agoFix typo
Howard Chu [Thu, 23 Jan 2003 03:35:31 +0000 (03:35 +0000)]
Fix typo

21 years agoFix ITS#2280, reject sequences with invalid lengths
Howard Chu [Thu, 23 Jan 2003 02:19:59 +0000 (02:19 +0000)]
Fix ITS#2280, reject sequences with invalid lengths

21 years agoITS#2275: PROTOS ber_get_next() fix
Kurt Zeilenga [Wed, 22 Jan 2003 22:29:11 +0000 (22:29 +0000)]
ITS#2275: PROTOS ber_get_next() fix
Needs review!!!!

21 years agoReturn 0 or 1 from is_entry_*(), to kill 'signed vs. unsigned' warnings.
Hallvard Furuseth [Wed, 22 Jan 2003 22:01:21 +0000 (22:01 +0000)]
Return 0 or 1 from is_entry_*(), to kill 'signed vs. unsigned' warnings.

21 years agos/AUTHZ/BIND/ for consistency with other Statslog() messages
Kurt Zeilenga [Wed, 22 Jan 2003 21:37:04 +0000 (21:37 +0000)]
s/AUTHZ/BIND/ for consistency with other Statslog() messages

21 years agoSync with slapd/slapi
Luke Howard [Wed, 22 Jan 2003 15:48:22 +0000 (15:48 +0000)]
Sync with slapd/slapi

21 years agoClarification regarding compute search filter rewriting: only
Luke Howard [Wed, 22 Jan 2003 15:46:45 +0000 (15:46 +0000)]
Clarification regarding compute search filter rewriting: only
SLAPI_SEARCH_FILTER needs to be updated

21 years agoTo conform to the SLAPI spec, slapi_filter_get_ava() should not duplicate
Luke Howard [Wed, 22 Jan 2003 15:07:23 +0000 (15:07 +0000)]
To conform to the SLAPI spec, slapi_filter_get_ava() should not duplicate
for caller

21 years agoCheck for modified filter after calling search rewriter plugin
Luke Howard [Wed, 22 Jan 2003 14:57:35 +0000 (14:57 +0000)]
Check for modified filter after calling search rewriter plugin

21 years agoCall rewrite function after preop plugins (not before) - confirmed with Sun
Luke Howard [Wed, 22 Jan 2003 14:54:12 +0000 (14:54 +0000)]
Call rewrite function after preop plugins (not before) - confirmed with Sun

21 years agoUse ber_dupbv() to avoid crashing on binary values
Luke Howard [Wed, 22 Jan 2003 14:53:03 +0000 (14:53 +0000)]
Use ber_dupbv() to avoid crashing on binary values

21 years agoAdded some OpenLDAP extensions for determining ldapi:// sock/peername
Luke Howard [Wed, 22 Jan 2003 14:41:51 +0000 (14:41 +0000)]
Added some OpenLDAP extensions for determining ldapi:// sock/peername
and whether connection is UDP

21 years agoCall search rewriter callback before first preop search plugin
Luke Howard [Wed, 22 Jan 2003 13:51:27 +0000 (13:51 +0000)]
Call search rewriter callback before first preop search plugin

21 years agoSLAPI fixes (better documentation)
Luke Howard [Wed, 22 Jan 2003 13:38:38 +0000 (13:38 +0000)]
SLAPI fixes (better documentation)

21 years agoAlign with new SLAPI extensions in servers/slapd/slapi
Luke Howard [Wed, 22 Jan 2003 13:36:11 +0000 (13:36 +0000)]
Align with new SLAPI extensions in servers/slapd/slapi

21 years agoFirst pass at replacing proprietary OpenLDAP virtual attribute API
Luke Howard [Wed, 22 Jan 2003 13:06:46 +0000 (13:06 +0000)]
First pass at replacing proprietary OpenLDAP virtual attribute API
(which existed briefly for a day!) with Sun ONE DS 5.x computed
attribute API

21 years agoMore DS 5.x harmonisation
Luke Howard [Wed, 22 Jan 2003 10:00:27 +0000 (10:00 +0000)]
More DS 5.x harmonisation

21 years agoAdded slapi_entry_attr_get_charptr() API
Luke Howard [Wed, 22 Jan 2003 09:35:48 +0000 (09:35 +0000)]
Added slapi_entry_attr_get_charptr() API

21 years agoNew DS 5.x memory management API memory management API memory management API memory...
Luke Howard [Wed, 22 Jan 2003 09:30:47 +0000 (09:30 +0000)]
New DS 5.x memory management API memory management API memory management API memory management API

21 years agoAdded slapi_access_allowed() and slapi_acl_check_mods() API for Sun ONE
Luke Howard [Wed, 22 Jan 2003 09:00:06 +0000 (09:00 +0000)]
Added slapi_access_allowed() and slapi_acl_check_mods() API for Sun ONE
DS 5.x compat
This required exposing the mods array conversion functions so they
are now in slapi/slapi_utils.[ch]

21 years agoITS#2267: SASL empty cred fix
Kurt Zeilenga [Tue, 21 Jan 2003 17:31:55 +0000 (17:31 +0000)]
ITS#2267: SASL empty cred fix

21 years agoFixed crashed in slapi_value_free
Luke Howard [Tue, 21 Jan 2003 15:44:04 +0000 (15:44 +0000)]
Fixed crashed in slapi_value_free

21 years agoMake sure slapi_valueset_add_value() copies the input value
Luke Howard [Tue, 21 Jan 2003 15:32:43 +0000 (15:32 +0000)]
Make sure slapi_valueset_add_value() copies the input value

21 years agoEnsure AttributeDescriptions are initialized to NULL before calling slap_str2ad()
Luke Howard [Tue, 21 Jan 2003 15:24:28 +0000 (15:24 +0000)]
Ensure AttributeDescriptions are initialized to NULL before calling slap_str2ad()

21 years agoAllow coalesce pblock types.
Luke Howard [Tue, 21 Jan 2003 15:21:55 +0000 (15:21 +0000)]
Allow coalesce pblock types.
Take care with pblock values that need to be duplicated

21 years agoPut #endif in correct place when commenting out backend directive check
Luke Howard [Tue, 21 Jan 2003 15:14:07 +0000 (15:14 +0000)]
Put #endif in correct place when commenting out backend directive check
for plugins (now that global plugins are nominally supported)

21 years agoAllow global plugins.
Luke Howard [Tue, 21 Jan 2003 15:11:35 +0000 (15:11 +0000)]
Allow global plugins.

21 years agoAllow plugins not associated with a specific backend
Luke Howard [Tue, 21 Jan 2003 15:09:58 +0000 (15:09 +0000)]
Allow plugins not associated with a specific backend

21 years agoIf no plugins are registered, have front-end silently ignore
Luke Howard [Tue, 21 Jan 2003 14:52:33 +0000 (14:52 +0000)]
If no plugins are registered, have front-end silently ignore

21 years agoDon't crash if no backend
Luke Howard [Tue, 21 Jan 2003 14:44:51 +0000 (14:44 +0000)]
Don't crash if no backend

21 years agoAdded OpenLDAP-specific SLAPI for getting entry ID
Luke Howard [Tue, 21 Jan 2003 14:08:58 +0000 (14:08 +0000)]
Added OpenLDAP-specific SLAPI for getting entry ID

21 years agoSet opattr plugin-specific pblock parameters to NULL after coalescing
Luke Howard [Tue, 21 Jan 2003 14:06:22 +0000 (14:06 +0000)]
Set opattr plugin-specific pblock parameters to NULL after coalescing
returned attributes

21 years agoAdd support for virtual operational attribute plugin type
Luke Howard [Tue, 21 Jan 2003 14:00:25 +0000 (14:00 +0000)]
Add support for virtual operational attribute plugin type

21 years agoReserve pblock IDs for opattr plugin
Luke Howard [Tue, 21 Jan 2003 13:51:53 +0000 (13:51 +0000)]
Reserve pblock IDs for opattr plugin

21 years agoAdded Slapi_AttrSet accessors in order to implement virtual operational
Luke Howard [Tue, 21 Jan 2003 13:48:37 +0000 (13:48 +0000)]
Added Slapi_AttrSet accessors in order to implement virtual operational
attribute plugin

21 years agoFirst round of DS 5.x SLAPI functions
Luke Howard [Tue, 21 Jan 2003 12:16:53 +0000 (12:16 +0000)]
First round of DS 5.x SLAPI functions

21 years agoAdded slapi_attr_get_flags() and slapi_attr_flag_is_set() API for
Luke Howard [Tue, 21 Jan 2003 10:12:08 +0000 (10:12 +0000)]
Added slapi_attr_get_flags() and slapi_attr_flag_is_set() API for
Sun ONE harmonisation.

21 years agoConfusingly, make SLAPI_OPERATION_AUTHTYPE return a pointer to
Luke Howard [Tue, 21 Jan 2003 09:50:59 +0000 (09:50 +0000)]
Confusingly, make SLAPI_OPERATION_AUTHTYPE return a pointer to
SLAPI_CONN_AUTHMETHOD. From my understanding of the Sun ONE API
this is the correct behaviour.

21 years agoReturn LDAP_PARAM_ERROR when NULL passed to internal SLAPI functions
Luke Howard [Tue, 21 Jan 2003 09:48:28 +0000 (09:48 +0000)]
Return LDAP_PARAM_ERROR when NULL passed to internal SLAPI functions

21 years agoReturn LDAP_OTHER instead of LDAP_OPERATIONS_ERROR for internal SLAPI
Luke Howard [Tue, 21 Jan 2003 09:42:26 +0000 (09:42 +0000)]
Return LDAP_OTHER instead of LDAP_OPERATIONS_ERROR for internal SLAPI
failure

21 years agoDistinguish between AUTHTYPE and AUTHMETHOD (latter is static storage)
Luke Howard [Tue, 21 Jan 2003 09:39:56 +0000 (09:39 +0000)]
Distinguish between AUTHTYPE and AUTHMETHOD (latter is static storage)
for Sun ONE harmonisation

21 years agoSet SLAPI_BIND_CREDENTIALS for bind preoperation plugin
Luke Howard [Tue, 21 Jan 2003 08:35:48 +0000 (08:35 +0000)]
Set SLAPI_BIND_CREDENTIALS for bind preoperation plugin

21 years agoFurther harmonisation with Sun ONE SLAPI: extra PBlock parameters
Luke Howard [Tue, 21 Jan 2003 08:34:25 +0000 (08:34 +0000)]
Further harmonisation with Sun ONE SLAPI: extra PBlock parameters
on connections and operations

21 years agoAllow SLAPI bind plugins to set the authorization identity, at least for
Luke Howard [Tue, 21 Jan 2003 06:30:38 +0000 (06:30 +0000)]
Allow SLAPI bind plugins to set the authorization identity, at least for
simple binds

21 years agofix SLAPI_MODIFY_MODS pointer error
Luke Howard [Tue, 21 Jan 2003 05:56:46 +0000 (05:56 +0000)]
fix SLAPI_MODIFY_MODS pointer error

21 years agoAllow a modify preoperation plugin to insert additional modifications to
Luke Howard [Tue, 21 Jan 2003 05:30:14 +0000 (05:30 +0000)]
Allow a modify preoperation plugin to insert additional modifications to
be applied by the backend.

21 years agoMark Sun ONE 5.x SLAPI plugin types to avoid collisions
Luke Howard [Tue, 21 Jan 2003 02:46:55 +0000 (02:46 +0000)]
Mark Sun ONE 5.x SLAPI plugin types to avoid collisions
Rename internal slapi_XXX API to slapi_x_XXX
Always set result code/matched/error text in operation parameter block
to make available to postoperation plugins

21 years agoITS#2159: don't crash on malformed userPassword
Kurt Zeilenga [Mon, 20 Jan 2003 23:46:35 +0000 (23:46 +0000)]
ITS#2159: don't crash on malformed userPassword

21 years agoHarmonise slapi_ch_free() with Sun ONE API
Luke Howard [Mon, 20 Jan 2003 23:29:30 +0000 (23:29 +0000)]
Harmonise slapi_ch_free() with Sun ONE API

21 years agoHarmonised slapi_ch_free() with Sun ONE API
Luke Howard [Mon, 20 Jan 2003 23:29:08 +0000 (23:29 +0000)]
Harmonised slapi_ch_free() with Sun ONE API

21 years agoConform SLAPI to Netscape, iPlanet and Sun ONE Directory Server
Luke Howard [Mon, 20 Jan 2003 23:18:11 +0000 (23:18 +0000)]
Conform SLAPI to Netscape, iPlanet and Sun ONE Directory Server
behaviour:

1. Plugins never return LDAP result codes, instead they return a
   small integer (0 or -1, others for special cases)
2. Preoperation plugins can abort processing by returning a non-
   zero value to the frontend
3. Postoperation plugins never abort processing (all are called)
   and their return values are ignored

21 years agoReturn the Start TLS error.
Kurt Zeilenga [Mon, 20 Jan 2003 22:37:42 +0000 (22:37 +0000)]
Return the Start TLS error.

21 years agoOnly non-postoperation plugins should be able to abort processing of further
Luke Howard [Mon, 20 Jan 2003 22:33:50 +0000 (22:33 +0000)]
Only non-postoperation plugins should be able to abort processing of further
plugins.

21 years ago-V updates
Kurt Zeilenga [Mon, 20 Jan 2003 21:16:58 +0000 (21:16 +0000)]
-V updates

21 years agoAdded -V support
Kurt Zeilenga [Mon, 20 Jan 2003 20:50:15 +0000 (20:50 +0000)]
Added -V support

21 years agoUse version strings provided by build system for -V
Kurt Zeilenga [Mon, 20 Jan 2003 20:48:06 +0000 (20:48 +0000)]
Use version strings provided by build system for -V

21 years agoRemove values match v. filter struct field macro overloads
Kurt Zeilenga [Mon, 20 Jan 2003 20:21:17 +0000 (20:21 +0000)]
Remove values match v. filter struct field macro overloads
Use LDAP_SLISTs instead of per-struct list management for schema structs
misc cleanup and lint removal

21 years agoworks without SLAPI
Kurt Zeilenga [Mon, 20 Jan 2003 20:18:53 +0000 (20:18 +0000)]
works without SLAPI

21 years agocleanup
Kurt Zeilenga [Mon, 20 Jan 2003 20:17:12 +0000 (20:17 +0000)]
cleanup

21 years agoAdd LDAP_BEGIN/END_DECL
Kurt Zeilenga [Mon, 20 Jan 2003 20:16:42 +0000 (20:16 +0000)]
Add LDAP_BEGIN/END_DECL

21 years agoFirst cut at -V (version) argument. Needs work.
Kurt Zeilenga [Mon, 20 Jan 2003 20:11:57 +0000 (20:11 +0000)]
First cut at -V (version) argument.  Needs work.

21 years ago#ifdef LDAP_PF_LOCAL needed.
Kurt Zeilenga [Mon, 20 Jan 2003 20:10:03 +0000 (20:10 +0000)]
#ifdef LDAP_PF_LOCAL needed.

21 years agoITS#2266: -b option missing break
Kurt Zeilenga [Mon, 20 Jan 2003 19:13:00 +0000 (19:13 +0000)]
ITS#2266: -b option missing break

21 years agoITS#2268: SASL/ANONYMOUS fixes from kuenne@rentec.com
Kurt Zeilenga [Mon, 20 Jan 2003 18:09:46 +0000 (18:09 +0000)]
ITS#2268: SASL/ANONYMOUS fixes from kuenne@rentec.com

21 years agoFix up return values in new slapi private API
Luke Howard [Mon, 20 Jan 2003 00:11:56 +0000 (00:11 +0000)]
Fix up return values in new slapi private API

21 years agoStyle consistency in new SLAPI_MODIFY_MODS code
Luke Howard [Sun, 19 Jan 2003 22:49:21 +0000 (22:49 +0000)]
Style consistency in new SLAPI_MODIFY_MODS code

21 years agoFreeLDAPMods() should be static
Luke Howard [Sun, 19 Jan 2003 22:45:10 +0000 (22:45 +0000)]
FreeLDAPMods() should be static

21 years agoFix libltdl link dependency causing link error on Linux
Luke Howard [Sun, 19 Jan 2003 22:43:29 +0000 (22:43 +0000)]
Fix libltdl link dependency causing link error on Linux

21 years agoUse new SLAPI API for setting associated parameters associated with the
Luke Howard [Sun, 19 Jan 2003 15:30:10 +0000 (15:30 +0000)]
Use new SLAPI API for setting associated parameters associated with the
Connection, Operation and Backend structures.

Ensure that SLAPI_MODIFY_MODS is set to an array of LDAPMods.

21 years agoUse strtol() not strtoul() in integerBit{And,Or}Match matching rules
Luke Howard [Sun, 19 Jan 2003 15:20:09 +0000 (15:20 +0000)]
Use strtol() not strtoul() in integerBit{And,Or}Match matching rules

21 years agoreturn error codes from new internal API
Luke Howard [Sun, 19 Jan 2003 15:04:19 +0000 (15:04 +0000)]
return error codes from new internal API

21 years agoSilence gcc warnings (signed vs. unsigned, implicit declarations, unused vars).
Hallvard Furuseth [Sun, 19 Jan 2003 15:03:25 +0000 (15:03 +0000)]
Silence gcc warnings (signed vs. unsigned, implicit declarations, unused vars).

21 years agoadded slapi_backend_set_pb
Luke Howard [Sun, 19 Jan 2003 14:55:10 +0000 (14:55 +0000)]
added slapi_backend_set_pb

21 years agoadded slapi_operation_set_pb
Luke Howard [Sun, 19 Jan 2003 14:47:26 +0000 (14:47 +0000)]
added slapi_operation_set_pb

21 years agoAdded slapi_connection_set_pb() API for front-end.
Luke Howard [Sun, 19 Jan 2003 14:32:49 +0000 (14:32 +0000)]
Added slapi_connection_set_pb() API for front-end.
Implemented slapi_is_connection-ssl().

21 years agoFix printf format errors.
Hallvard Furuseth [Sun, 19 Jan 2003 14:07:02 +0000 (14:07 +0000)]
Fix printf format errors.

21 years agoCast ctype.h arguments to unsigned char.
Hallvard Furuseth [Sun, 19 Jan 2003 14:05:23 +0000 (14:05 +0000)]
Cast ctype.h arguments to unsigned char.

21 years agoRemove an implicit int, to silence gcc warnings.
Hallvard Furuseth [Sun, 19 Jan 2003 14:03:11 +0000 (14:03 +0000)]
Remove an implicit int, to silence gcc warnings.

21 years agoRemove pointless `unsigned < 0' test.
Hallvard Furuseth [Sun, 19 Jan 2003 14:02:06 +0000 (14:02 +0000)]
Remove pointless `unsigned < 0' test.

21 years agoInsert missing initializers, to silence gcc warnings.
Hallvard Furuseth [Sun, 19 Jan 2003 13:38:44 +0000 (13:38 +0000)]
Insert missing initializers, to silence gcc warnings.

21 years ago'static' must come before 'const'.
Hallvard Furuseth [Sun, 19 Jan 2003 13:35:53 +0000 (13:35 +0000)]
'static' must come before 'const'.

21 years agoFix LBER_ERROR vs. -1 confusion.
Hallvard Furuseth [Sun, 19 Jan 2003 13:10:17 +0000 (13:10 +0000)]
Fix LBER_ERROR vs. -1 confusion.

21 years agoslapi-plugin.h goes in include
Pierangelo Masarati [Sat, 18 Jan 2003 11:19:27 +0000 (11:19 +0000)]
slapi-plugin.h goes in include

21 years agoSet thread stack size, default (1MB) is always too small for back-bdb.
Howard Chu [Mon, 13 Jan 2003 14:28:50 +0000 (14:28 +0000)]
Set thread stack size, default (1MB) is always too small for back-bdb.

21 years agoAdd a few notes about intended usage of these backends
Kurt Zeilenga [Thu, 9 Jan 2003 12:07:14 +0000 (12:07 +0000)]
Add a few notes about intended usage of these backends

21 years agoRebuild
Kurt Zeilenga [Fri, 3 Jan 2003 20:52:07 +0000 (20:52 +0000)]
Rebuild

21 years agoHappy new year
Kurt Zeilenga [Fri, 3 Jan 2003 20:20:47 +0000 (20:20 +0000)]
Happy new year

21 years agoHappy new year!
Kurt Zeilenga [Fri, 3 Jan 2003 20:04:17 +0000 (20:04 +0000)]
Happy new year!

21 years agoFix octetStringOrderingMatch(). It thought "b"<"aa", becuase "b" is shorter.
Hallvard Furuseth [Fri, 3 Jan 2003 17:06:01 +0000 (17:06 +0000)]
Fix octetStringOrderingMatch().  It thought "b"<"aa", becuase "b" is shorter.

21 years agoDelete bitStringNormalize().
Hallvard Furuseth [Fri, 3 Jan 2003 16:17:06 +0000 (16:17 +0000)]
Delete bitStringNormalize().

21 years agouse env(1) for old/experimental stuff
Kurt Zeilenga [Fri, 3 Jan 2003 06:10:15 +0000 (06:10 +0000)]
use env(1) for old/experimental stuff

21 years agoFix typo
Kurt Zeilenga [Fri, 3 Jan 2003 06:03:58 +0000 (06:03 +0000)]
Fix typo

21 years agoFix ocflags tests
Kurt Zeilenga [Thu, 2 Jan 2003 23:55:37 +0000 (23:55 +0000)]
Fix ocflags tests

21 years agostatic games
Kurt Zeilenga [Thu, 2 Jan 2003 20:38:57 +0000 (20:38 +0000)]
static games

21 years agoFix attribute value parsing in objectIdentifierFirstComponentMatch().
Hallvard Furuseth [Thu, 2 Jan 2003 15:01:56 +0000 (15:01 +0000)]
Fix attribute value parsing in objectIdentifierFirstComponentMatch().

21 years agocleanup
Kurt Zeilenga [Tue, 31 Dec 2002 05:55:06 +0000 (05:55 +0000)]
cleanup

21 years agoFix typo in last commit
Kurt Zeilenga [Mon, 30 Dec 2002 04:23:31 +0000 (04:23 +0000)]
Fix typo in last commit

21 years agoACL cleanup
Kurt Zeilenga [Mon, 30 Dec 2002 01:12:10 +0000 (01:12 +0000)]
ACL cleanup
Likely needs more deadlock detection checks

21 years agoFix access_allowed() error checking bug
Kurt Zeilenga [Mon, 30 Dec 2002 01:02:31 +0000 (01:02 +0000)]
Fix access_allowed() error checking bug