]>
git.sur5r.net Git - openldap/log
Luke Howard [Thu, 23 Jan 2003 09:22:32 +0000 (09:22 +0000)]
Install object type plugins
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
Howard Chu [Thu, 23 Jan 2003 03:35:31 +0000 (03:35 +0000)]
Fix typo
Howard Chu [Thu, 23 Jan 2003 02:19:59 +0000 (02:19 +0000)]
Fix ITS#2280, reject sequences with invalid lengths
Kurt Zeilenga [Wed, 22 Jan 2003 22:29:11 +0000 (22:29 +0000)]
ITS#2275: PROTOS ber_get_next() fix
Needs review!!!!
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.
Kurt Zeilenga [Wed, 22 Jan 2003 21:37:04 +0000 (21:37 +0000)]
s/AUTHZ/BIND/ for consistency with other Statslog() messages
Luke Howard [Wed, 22 Jan 2003 15:48:22 +0000 (15:48 +0000)]
Sync with slapd/slapi
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
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
Luke Howard [Wed, 22 Jan 2003 14:57:35 +0000 (14:57 +0000)]
Check for modified filter after calling search rewriter plugin
Luke Howard [Wed, 22 Jan 2003 14:54:12 +0000 (14:54 +0000)]
Call rewrite function after preop plugins (not before) - confirmed with Sun
Luke Howard [Wed, 22 Jan 2003 14:53:03 +0000 (14:53 +0000)]
Use ber_dupbv() to avoid crashing on binary values
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
Luke Howard [Wed, 22 Jan 2003 13:51:27 +0000 (13:51 +0000)]
Call search rewriter callback before first preop search plugin
Luke Howard [Wed, 22 Jan 2003 13:38:38 +0000 (13:38 +0000)]
SLAPI fixes (better documentation)
Luke Howard [Wed, 22 Jan 2003 13:36:11 +0000 (13:36 +0000)]
Align with new SLAPI extensions in servers/slapd/slapi
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
Luke Howard [Wed, 22 Jan 2003 10:00:27 +0000 (10:00 +0000)]
More DS 5.x harmonisation
Luke Howard [Wed, 22 Jan 2003 09:35:48 +0000 (09:35 +0000)]
Added slapi_entry_attr_get_charptr() API
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
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]
Kurt Zeilenga [Tue, 21 Jan 2003 17:31:55 +0000 (17:31 +0000)]
ITS#2267: SASL empty cred fix
Luke Howard [Tue, 21 Jan 2003 15:44:04 +0000 (15:44 +0000)]
Fixed crashed in slapi_value_free
Luke Howard [Tue, 21 Jan 2003 15:32:43 +0000 (15:32 +0000)]
Make sure slapi_valueset_add_value() copies the input value
Luke Howard [Tue, 21 Jan 2003 15:24:28 +0000 (15:24 +0000)]
Ensure AttributeDescriptions are initialized to NULL before calling slap_str2ad()
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
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)
Luke Howard [Tue, 21 Jan 2003 15:11:35 +0000 (15:11 +0000)]
Allow global plugins.
Luke Howard [Tue, 21 Jan 2003 15:09:58 +0000 (15:09 +0000)]
Allow plugins not associated with a specific backend
Luke Howard [Tue, 21 Jan 2003 14:52:33 +0000 (14:52 +0000)]
If no plugins are registered, have front-end silently ignore
Luke Howard [Tue, 21 Jan 2003 14:44:51 +0000 (14:44 +0000)]
Don't crash if no backend
Luke Howard [Tue, 21 Jan 2003 14:08:58 +0000 (14:08 +0000)]
Added OpenLDAP-specific SLAPI for getting entry ID
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
Luke Howard [Tue, 21 Jan 2003 14:00:25 +0000 (14:00 +0000)]
Add support for virtual operational attribute plugin type
Luke Howard [Tue, 21 Jan 2003 13:51:53 +0000 (13:51 +0000)]
Reserve pblock IDs for opattr plugin
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
Luke Howard [Tue, 21 Jan 2003 12:16:53 +0000 (12:16 +0000)]
First round of DS 5.x SLAPI functions
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.
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.
Luke Howard [Tue, 21 Jan 2003 09:48:28 +0000 (09:48 +0000)]
Return LDAP_PARAM_ERROR when NULL passed to internal SLAPI functions
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
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
Luke Howard [Tue, 21 Jan 2003 08:35:48 +0000 (08:35 +0000)]
Set SLAPI_BIND_CREDENTIALS for bind preoperation plugin
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
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
Luke Howard [Tue, 21 Jan 2003 05:56:46 +0000 (05:56 +0000)]
fix SLAPI_MODIFY_MODS pointer error
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.
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
Kurt Zeilenga [Mon, 20 Jan 2003 23:46:35 +0000 (23:46 +0000)]
ITS#2159: don't crash on malformed userPassword
Luke Howard [Mon, 20 Jan 2003 23:29:30 +0000 (23:29 +0000)]
Harmonise 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
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
Kurt Zeilenga [Mon, 20 Jan 2003 22:37:42 +0000 (22:37 +0000)]
Return the Start TLS error.
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.
Kurt Zeilenga [Mon, 20 Jan 2003 21:16:58 +0000 (21:16 +0000)]
-V updates
Kurt Zeilenga [Mon, 20 Jan 2003 20:50:15 +0000 (20:50 +0000)]
Added -V support
Kurt Zeilenga [Mon, 20 Jan 2003 20:48:06 +0000 (20:48 +0000)]
Use version strings provided by build system for -V
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
Kurt Zeilenga [Mon, 20 Jan 2003 20:18:53 +0000 (20:18 +0000)]
works without SLAPI
Kurt Zeilenga [Mon, 20 Jan 2003 20:17:12 +0000 (20:17 +0000)]
cleanup
Kurt Zeilenga [Mon, 20 Jan 2003 20:16:42 +0000 (20:16 +0000)]
Add LDAP_BEGIN/END_DECL
Kurt Zeilenga [Mon, 20 Jan 2003 20:11:57 +0000 (20:11 +0000)]
First cut at -V (version) argument. Needs work.
Kurt Zeilenga [Mon, 20 Jan 2003 20:10:03 +0000 (20:10 +0000)]
#ifdef LDAP_PF_LOCAL needed.
Kurt Zeilenga [Mon, 20 Jan 2003 19:13:00 +0000 (19:13 +0000)]
ITS#2266: -b option missing break
Kurt Zeilenga [Mon, 20 Jan 2003 18:09:46 +0000 (18:09 +0000)]
ITS#2268: SASL/ANONYMOUS fixes from kuenne@rentec.com
Luke Howard [Mon, 20 Jan 2003 00:11:56 +0000 (00:11 +0000)]
Fix up return values in new slapi private API
Luke Howard [Sun, 19 Jan 2003 22:49:21 +0000 (22:49 +0000)]
Style consistency in new SLAPI_MODIFY_MODS code
Luke Howard [Sun, 19 Jan 2003 22:45:10 +0000 (22:45 +0000)]
FreeLDAPMods() should be static
Luke Howard [Sun, 19 Jan 2003 22:43:29 +0000 (22:43 +0000)]
Fix libltdl link dependency causing link error on Linux
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.
Luke Howard [Sun, 19 Jan 2003 15:20:09 +0000 (15:20 +0000)]
Use strtol() not strtoul() in integerBit{And,Or}Match matching rules
Luke Howard [Sun, 19 Jan 2003 15:04:19 +0000 (15:04 +0000)]
return error codes from new internal API
Hallvard Furuseth [Sun, 19 Jan 2003 15:03:25 +0000 (15:03 +0000)]
Silence gcc warnings (signed vs. unsigned, implicit declarations, unused vars).
Luke Howard [Sun, 19 Jan 2003 14:55:10 +0000 (14:55 +0000)]
added slapi_backend_set_pb
Luke Howard [Sun, 19 Jan 2003 14:47:26 +0000 (14:47 +0000)]
added slapi_operation_set_pb
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().
Hallvard Furuseth [Sun, 19 Jan 2003 14:07:02 +0000 (14:07 +0000)]
Fix printf format errors.
Hallvard Furuseth [Sun, 19 Jan 2003 14:05:23 +0000 (14:05 +0000)]
Cast ctype.h arguments to unsigned char.
Hallvard Furuseth [Sun, 19 Jan 2003 14:03:11 +0000 (14:03 +0000)]
Remove an implicit int, to silence gcc warnings.
Hallvard Furuseth [Sun, 19 Jan 2003 14:02:06 +0000 (14:02 +0000)]
Remove pointless `unsigned < 0' test.
Hallvard Furuseth [Sun, 19 Jan 2003 13:38:44 +0000 (13:38 +0000)]
Insert missing initializers, to silence gcc warnings.
Hallvard Furuseth [Sun, 19 Jan 2003 13:35:53 +0000 (13:35 +0000)]
'static' must come before 'const'.
Hallvard Furuseth [Sun, 19 Jan 2003 13:10:17 +0000 (13:10 +0000)]
Fix LBER_ERROR vs. -1 confusion.
Pierangelo Masarati [Sat, 18 Jan 2003 11:19:27 +0000 (11:19 +0000)]
slapi-plugin.h goes in include
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.
Kurt Zeilenga [Thu, 9 Jan 2003 12:07:14 +0000 (12:07 +0000)]
Add a few notes about intended usage of these backends
Kurt Zeilenga [Fri, 3 Jan 2003 20:52:07 +0000 (20:52 +0000)]
Rebuild
Kurt Zeilenga [Fri, 3 Jan 2003 20:20:47 +0000 (20:20 +0000)]
Happy new year
Kurt Zeilenga [Fri, 3 Jan 2003 20:04:17 +0000 (20:04 +0000)]
Happy new year!
Hallvard Furuseth [Fri, 3 Jan 2003 17:06:01 +0000 (17:06 +0000)]
Fix octetStringOrderingMatch(). It thought "b"<"aa", becuase "b" is shorter.
Hallvard Furuseth [Fri, 3 Jan 2003 16:17:06 +0000 (16:17 +0000)]
Delete bitStringNormalize().
Kurt Zeilenga [Fri, 3 Jan 2003 06:10:15 +0000 (06:10 +0000)]
use env(1) for old/experimental stuff
Kurt Zeilenga [Fri, 3 Jan 2003 06:03:58 +0000 (06:03 +0000)]
Fix typo
Kurt Zeilenga [Thu, 2 Jan 2003 23:55:37 +0000 (23:55 +0000)]
Fix ocflags tests
Kurt Zeilenga [Thu, 2 Jan 2003 20:38:57 +0000 (20:38 +0000)]
static games
Hallvard Furuseth [Thu, 2 Jan 2003 15:01:56 +0000 (15:01 +0000)]
Fix attribute value parsing in objectIdentifierFirstComponentMatch().
Kurt Zeilenga [Tue, 31 Dec 2002 05:55:06 +0000 (05:55 +0000)]
cleanup
Kurt Zeilenga [Mon, 30 Dec 2002 04:23:31 +0000 (04:23 +0000)]
Fix typo in last commit
Kurt Zeilenga [Mon, 30 Dec 2002 01:12:10 +0000 (01:12 +0000)]
ACL cleanup
Likely needs more deadlock detection checks