Pierangelo Masarati
c1f84b5031
bring in slapi_cl.h
2003-01-27 16:39:22 +00:00
Pierangelo Masarati
d1cc80694f
reworking of slapi headers
2003-01-27 14:44:39 +00:00
Luke Howard
7c41666c5e
Ensure that global plugins are called after backend-specific plugins
...
(this was the intention of the existing code but it was buggy, and it
made sense to implement this logic inside getAllPluginFuncs() rather
than doPluginFNs() - not all plugin users call the latter)
2003-01-27 13:15:21 +00:00
Luke Howard
f989cfddb9
more Sun ONE DS 5.x harmonisation
2003-01-26 01:10:19 +00:00
Luke Howard
3652613cd8
Sun ONE DS 5.x filter harmonisation
2003-01-25 13:36:12 +00:00
Pierangelo Masarati
a9cde92376
include ac/ headers
2003-01-24 12:33:12 +00:00
Luke Howard
9e6a9876b2
Grammar cleanup
2003-01-24 11:56:27 +00:00
Luke Howard
24e14748aa
Fix memory smasher in slapi_x_modifications2ldapmods()
2003-01-24 11:09:20 +00:00
Luke Howard
498420dc26
Check for pPB == NULL (courtesy Pierangelo)
2003-01-24 10:29:24 +00:00
Luke Howard
fc55ee9edc
Support slapi_entry_first_attr()/slapi_entry_next_attr() API
2003-01-24 09:23:06 +00:00
Luke Howard
f709f86bed
include unistd.h for F_LOCK
2003-01-24 09:08:43 +00:00
Luke Howard
45289b09a7
Matching rule constants for future support
2003-01-24 09:00:18 +00:00
Luke Howard
a67c669583
Fix filter iteration bug
2003-01-24 07:51:26 +00:00
Luke Howard
66d38ab10a
Plug memory leak
2003-01-24 06:57:12 +00:00
Luke Howard
146c0085d3
s/ldap_pvt_thread_pool_getcontext/ldap_pvt_thread_pool_context
2003-01-24 06:41:06 +00:00
Luke Howard
562b7fb8d9
fix typo
2003-01-24 05:57:20 +00:00
Luke Howard
6a54a9db0f
Support Sun DS 5.x thread abstraction layer
2003-01-24 05:19:57 +00:00
Luke Howard
2c40905b77
Pass normalized DN to select_backend()
2003-01-23 14:25:13 +00:00
Luke Howard
8621f955b2
Reference slapi_search_internal() due to linker error -- need to fix this
...
properly XXX
2003-01-23 11:29:52 +00:00
Luke Howard
8c18022b41
Install object type plugins
2003-01-23 09:22:32 +00:00
Luke Howard
3dad7cae7b
To conform to the SLAPI spec, slapi_filter_get_ava() should not duplicate
...
for caller
2003-01-22 15:07:23 +00:00
Luke Howard
5b4b062dba
Use ber_dupbv() to avoid crashing on binary values
2003-01-22 14:53:03 +00:00
Luke Howard
265261bf60
Added some OpenLDAP extensions for determining ldapi:// sock/peername
...
and whether connection is UDP
2003-01-22 14:41:51 +00:00
Luke Howard
2bc4da9378
SLAPI fixes (better documentation)
2003-01-22 13:38:38 +00:00
Luke Howard
faf8d43a6f
First pass at replacing proprietary OpenLDAP virtual attribute API
...
(which existed briefly for a day!) with Sun ONE DS 5.x computed
attribute API
2003-01-22 13:06:46 +00:00
Luke Howard
c76d37313b
More DS 5.x harmonisation
2003-01-22 10:00:27 +00:00
Luke Howard
921d62c2ae
Added slapi_entry_attr_get_charptr() API
2003-01-22 09:35:48 +00:00
Luke Howard
2107a4c1b3
New DS 5.x memory management API memory management API memory management API memory management API
2003-01-22 09:30:47 +00:00
Luke Howard
293c765c11
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]
2003-01-22 09:00:06 +00:00
Luke Howard
fb22bdeb58
Fixed crashed in slapi_value_free
2003-01-21 15:44:04 +00:00
Luke Howard
4fbd922a09
Make sure slapi_valueset_add_value() copies the input value
2003-01-21 15:32:43 +00:00
Luke Howard
e26749d76b
Ensure AttributeDescriptions are initialized to NULL before calling slap_str2ad()
2003-01-21 15:24:28 +00:00
Luke Howard
6469f164a8
Allow coalesce pblock types.
...
Take care with pblock values that need to be duplicated
2003-01-21 15:21:55 +00:00
Luke Howard
1e32bdbd69
Allow plugins not associated with a specific backend
2003-01-21 15:09:58 +00:00
Luke Howard
5883b270b8
If no plugins are registered, have front-end silently ignore
2003-01-21 14:52:33 +00:00
Luke Howard
8dd11efd39
Don't crash if no backend
2003-01-21 14:44:51 +00:00
Luke Howard
8de6186e54
Added OpenLDAP-specific SLAPI for getting entry ID
2003-01-21 14:08:58 +00:00
Luke Howard
0edb0803d2
Add support for virtual operational attribute plugin type
2003-01-21 14:00:25 +00:00
Luke Howard
f327941341
Reserve pblock IDs for opattr plugin
2003-01-21 13:51:53 +00:00
Luke Howard
053672c6c0
Added Slapi_AttrSet accessors in order to implement virtual operational
...
attribute plugin
2003-01-21 13:48:37 +00:00
Luke Howard
e09f30179b
First round of DS 5.x SLAPI functions
2003-01-21 12:16:53 +00:00
Luke Howard
f1fdb34fbe
Added slapi_attr_get_flags() and slapi_attr_flag_is_set() API for
...
Sun ONE harmonisation.
2003-01-21 10:12:08 +00:00
Luke Howard
6f26183f20
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.
2003-01-21 09:50:59 +00:00
Luke Howard
68ed72e4c7
Return LDAP_PARAM_ERROR when NULL passed to internal SLAPI functions
2003-01-21 09:48:28 +00:00
Luke Howard
4a9213f752
Distinguish between AUTHTYPE and AUTHMETHOD (latter is static storage)
...
for Sun ONE harmonisation
2003-01-21 09:39:56 +00:00
Luke Howard
313d3633e3
Further harmonisation with Sun ONE SLAPI: extra PBlock parameters
...
on connections and operations
2003-01-21 08:34:25 +00:00
Luke Howard
8e8b4093f5
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
2003-01-21 02:46:55 +00:00
Luke Howard
45a66e2ed4
Harmonise slapi_ch_free() with Sun ONE API
2003-01-20 23:29:30 +00:00
Luke Howard
d484a9781c
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
2003-01-20 23:18:11 +00:00
Luke Howard
27dba2226f
Only non-postoperation plugins should be able to abort processing of further
...
plugins.
2003-01-20 22:33:50 +00:00
Kurt Zeilenga
b3705e69f4
Add LDAP_BEGIN/END_DECL
2003-01-20 20:16:42 +00:00
Luke Howard
c9278e54ec
Fix up return values in new slapi private API
2003-01-20 00:11:56 +00:00
Luke Howard
8866875e69
return error codes from new internal API
2003-01-19 15:04:19 +00:00
Luke Howard
cb61800ac6
added slapi_backend_set_pb
2003-01-19 14:55:10 +00:00
Luke Howard
17f95a3fd3
added slapi_operation_set_pb
2003-01-19 14:47:26 +00:00
Luke Howard
ec05ef7f22
Added slapi_connection_set_pb() API for front-end.
...
Implemented slapi_is_connection-ssl().
2003-01-19 14:32:49 +00:00
Pierangelo Masarati
8d0711b08f
slapi-plugin.h goes in include
2003-01-18 11:19:27 +00:00
Kurt Zeilenga
6939c53170
Happy new year
2003-01-03 20:20:47 +00:00
Pierangelo Masarati
f83585952d
misc slapi cleanup
2002-12-27 11:48:41 +00:00
Pierangelo Masarati
df5d69df8f
allow a custom error log file for plugins by means of a slapd.conf directive; add very bare-bone back-monitor info about installed plugins
2002-12-14 15:04:37 +00:00
Pierangelo Masarati
5b87c4c448
some todo stuff
2002-12-07 18:31:25 +00:00
Pierangelo Masarati
1b70e16448
SLAPI - Netscape plugin API for slapd - based on patch contributed by Steve Omrani <somrani@us.ibm.com> as ITS#2073
2002-12-07 17:19:29 +00:00