]> git.sur5r.net Git - openldap/log
openldap
21 years agomore Sun ONE DS 5.x harmonisation
Luke Howard [Sun, 26 Jan 2003 01:10:19 +0000 (01:10 +0000)]
more Sun ONE DS 5.x harmonisation

21 years agoFilter structure typo fix
Luke Howard [Sat, 25 Jan 2003 13:38:32 +0000 (13:38 +0000)]
Filter structure typo fix

21 years agoNew filter SLAPI
Luke Howard [Sat, 25 Jan 2003 13:36:28 +0000 (13:36 +0000)]
New filter SLAPI

21 years agoSun ONE DS 5.x filter harmonisation
Luke Howard [Sat, 25 Jan 2003 13:36:12 +0000 (13:36 +0000)]
Sun ONE DS 5.x filter harmonisation

21 years agoLDAP cancel operation
Jong Hyuk Choi [Sat, 25 Jan 2003 00:36:50 +0000 (00:36 +0000)]
LDAP cancel operation

21 years agoFix typo in comment.
Hallvard Furuseth [Fri, 24 Jan 2003 20:12:50 +0000 (20:12 +0000)]
Fix typo in comment.

21 years agoinclude ac/ headers
Pierangelo Masarati [Fri, 24 Jan 2003 12:33:12 +0000 (12:33 +0000)]
include ac/ headers

21 years agoGrammar cleanup
Luke Howard [Fri, 24 Jan 2003 11:56:27 +0000 (11:56 +0000)]
Grammar cleanup

21 years agoFix memory smasher in slapi_x_modifications2ldapmods()
Luke Howard [Fri, 24 Jan 2003 11:09:20 +0000 (11:09 +0000)]
Fix memory smasher in slapi_x_modifications2ldapmods()

21 years agoFix uninitialized sl_is_udp
Luke Howard [Fri, 24 Jan 2003 11:08:54 +0000 (11:08 +0000)]
Fix uninitialized sl_is_udp

21 years agoCheck for pPB == NULL (courtesy Pierangelo)
Luke Howard [Fri, 24 Jan 2003 10:29:24 +0000 (10:29 +0000)]
Check for pPB == NULL (courtesy Pierangelo)

21 years agosync with slapd/slapi/slapi_utils.h
Luke Howard [Fri, 24 Jan 2003 09:56:18 +0000 (09:56 +0000)]
sync with slapd/slapi/slapi_utils.h

21 years agoSupport slapi_entry_first_attr()/slapi_entry_next_attr() API
Luke Howard [Fri, 24 Jan 2003 09:23:06 +0000 (09:23 +0000)]
Support slapi_entry_first_attr()/slapi_entry_next_attr() API

21 years agoinclude unistd.h for F_LOCK
Luke Howard [Fri, 24 Jan 2003 09:08:43 +0000 (09:08 +0000)]
include unistd.h for F_LOCK

21 years agoMatching rule constants for future support
Luke Howard [Fri, 24 Jan 2003 09:00:18 +0000 (09:00 +0000)]
Matching rule constants for future support

21 years agosync with slapd/slapi/slapi.h
Luke Howard [Fri, 24 Jan 2003 08:52:14 +0000 (08:52 +0000)]
sync with slapd/slapi/slapi.h

21 years agoDon't free active thread list
Luke Howard [Fri, 24 Jan 2003 08:20:55 +0000 (08:20 +0000)]
Don't free active thread list

21 years agoFix filter iteration bug
Luke Howard [Fri, 24 Jan 2003 07:51:26 +0000 (07:51 +0000)]
Fix filter iteration bug

21 years agoPlug memory leak
Luke Howard [Fri, 24 Jan 2003 06:57:12 +0000 (06:57 +0000)]
Plug memory leak

21 years agoAdded ldap_pvt_thread_self() and ldap_pvt_thread_pool_context() API.
Luke Howard [Fri, 24 Jan 2003 06:49:13 +0000 (06:49 +0000)]
Added ldap_pvt_thread_self() and ldap_pvt_thread_pool_context() API.

21 years agos/ldap_pvt_thread_pool_getcontext/ldap_pvt_thread_pool_context
Luke Howard [Fri, 24 Jan 2003 06:41:06 +0000 (06:41 +0000)]
s/ldap_pvt_thread_pool_getcontext/ldap_pvt_thread_pool_context

21 years agofix typo
Luke Howard [Fri, 24 Jan 2003 05:57:20 +0000 (05:57 +0000)]
fix typo

21 years agoSync with slapd/slapi/slapi_utils.h
Luke Howard [Fri, 24 Jan 2003 05:56:47 +0000 (05:56 +0000)]
Sync with slapd/slapi/slapi_utils.h

21 years agoSupport Sun DS 5.x thread abstraction layer
Luke Howard [Fri, 24 Jan 2003 05:19:57 +0000 (05:19 +0000)]
Support Sun DS 5.x thread abstraction layer

21 years agoDelete redundant ch_free().
Howard Chu [Fri, 24 Jan 2003 04:26:04 +0000 (04:26 +0000)]
Delete redundant ch_free().

21 years agoHonour PermitModify control when adding or deleting values. This code needs
Luke Howard [Fri, 24 Jan 2003 01:43:09 +0000 (01:43 +0000)]
Honour PermitModify control when adding or deleting values. This code needs
review although, with the control disabled, it should not affect existing
code paths.

21 years agofix logging and uninitialized value warning
Pierangelo Masarati [Thu, 23 Jan 2003 22:55:01 +0000 (22:55 +0000)]
fix logging and uninitialized value warning

21 years agocleanup versioning
Pierangelo Masarati [Thu, 23 Jan 2003 22:45:17 +0000 (22:45 +0000)]
cleanup versioning

21 years agofix ITS#2289 (don't use shared data for search state; use msgid instead)
Pierangelo Masarati [Thu, 23 Jan 2003 22:07:33 +0000 (22:07 +0000)]
fix ITS#2289 (don't use shared data for search state; use msgid instead)

21 years agoTest PermitModify and NoReferrals controls (note that PermitModify is
Luke Howard [Thu, 23 Jan 2003 15:22:20 +0000 (15:22 +0000)]
Test PermitModify and NoReferrals controls (note that PermitModify is
ignored for the moment - will be fixed shortly)

21 years agoLDAPv3 over UDP disposition is now compatible with Active Directory
Luke Howard [Thu, 23 Jan 2003 15:12:53 +0000 (15:12 +0000)]
LDAPv3 over UDP disposition is now compatible with Active Directory
Stubs for PermitModify/NoReferrals controls; implementation coming soon

21 years agoPass normalized DN to select_backend()
Luke Howard [Thu, 23 Jan 2003 14:25:13 +0000 (14:25 +0000)]
Pass normalized DN to select_backend()

21 years agoAdded PermitModify/NoReferrals controls
Luke Howard [Thu, 23 Jan 2003 11:36:12 +0000 (11:36 +0000)]
Added PermitModify/NoReferrals controls

21 years agoReference slapi_search_internal() due to linker error -- need to fix this
Luke Howard [Thu, 23 Jan 2003 11:29:52 +0000 (11:29 +0000)]
Reference slapi_search_internal() due to linker error -- need to fix this
properly XXX

21 years agoInstall object type plugins
Luke Howard [Thu, 23 Jan 2003 09:22:32 +0000 (09:22 +0000)]
Install object type plugins

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