Commit Graph

338 Commits

Author SHA1 Message Date
Luke Howard
ba686c399b slight optimization - use ldap_bv2dn() 2004-05-24 03:43:53 +00:00
Luke Howard
f9b719f56e Implement slapi_entry_{get,set}_uniqueid 2004-05-23 16:04:27 +00:00
Luke Howard
e932093f47 Fix breakage 2004-05-23 15:51:58 +00:00
Luke Howard
4c2e3eeda4 Add slapi_entry_add_rdn_values(), slapi_entry_rdn_values_present(), slapi_entry_schema_check() API 2004-05-23 15:47:23 +00:00
Luke Howard
71d473f09f Implement slapi_rdn2typeval and slapi_dn_plus_rdn 2004-05-23 12:43:59 +00:00
Luke Howard
f62d1aac4e Implement slapi_entry_size() 2004-05-23 12:12:43 +00:00
Luke Howard
13e657ffa8 Implement slapi_entry_has_children() 2004-05-23 12:06:47 +00:00
Luke Howard
b047ba6f7e Fix warning 2004-04-15 02:35:39 +00:00
Kurt Zeilenga
4834e626ff Fix overaggressive s/bvalues/values/ changes of previous commit(s) 2004-04-12 17:35:12 +00:00
Kurt Zeilenga
07fc395816 s/bvalues/values/ 2004-04-09 20:56:46 +00:00
Pierangelo Masarati
a886172472 blind fix of mod_values cleanup 2004-04-08 14:42:02 +00:00
Kurt Zeilenga
c7f0438044 bvalue cleanup 2004-04-08 06:49:17 +00:00
Kurt Zeilenga
44725e7303 use BER_BVNULL 2004-04-07 04:11:43 +00:00
Pierangelo Masarati
a11dc61e05 rework be_isupdate accordingly to be_isroot 2004-04-06 09:42:40 +00:00
Kurt Zeilenga
c7e89d57be swap be_isroot and be_isroot_dn symbols 2004-04-06 01:06:20 +00:00
Pierangelo Masarati
e516247068 exploit new isroot_dn helper 2004-04-05 17:31:27 +00:00
Pierangelo Masarati
adb152972f fix previous commit 2004-03-17 11:58:59 +00:00
Pierangelo Masarati
ec6a663820 reset SlapReply flags 2004-03-17 11:50:15 +00:00
Pierangelo Masarati
82019df71a cleanup 2004-03-09 14:33:23 +00:00
Howard Chu
1b98cd6262 Fix SLAPI_ADD_RESCONTROLS 2004-03-02 20:31:37 +00:00
Luke Howard
3102602002 Fix previous commit 2004-01-02 06:34:50 +00:00
Luke Howard
53002fc3ce Wrap slapi_entry_attr_get_charptr() around slapi_value_get_string() 2004-01-02 06:10:51 +00:00
Luke Howard
cc9101d980 Check value is a C string in slapi_value_get_string() 2004-01-02 06:07:22 +00:00
Kurt Zeilenga
3c598e89fb Happy new year 2004-01-01 19:15:16 +00:00
Luke Howard
b0416d1140 Cleanup SLAPI namespace 2003-12-28 04:14:19 +00:00
Luke Howard
71dfd57e75 Initialize terminating bv_len in slapi_int_ldapmods2modifications 2003-12-27 08:43:02 +00:00
Howard Chu
e933f076cc Better fix for ITS#2512. Use callback to invoke replog before sending
result to client.
2003-12-25 15:01:53 +00:00
Howard Chu
d31230f859 Fix replog sequencing - assign sequence numbers at beginning of operation,
instead of getting a timestamp at the end. This makes it possible for
slurpd to sort the log later.
2003-12-23 18:48:36 +00:00
Luke Howard
120adb6b1b Fix slapi_modify_internal() to deal with just the modification type of
a mod operation
2003-12-19 10:10:59 +00:00
Luke Howard
516fd0ff50 First round of SLAPI cleanups - use slapi_int_XXX for internal functions
(slapi_x_XXX is still reserved for exported functions that are not part
of the SLAPI specification)
2003-12-16 15:49:31 +00:00
Luke Howard
0bcddbc908 Don't leak SLAPI_RESCONTROLS when free'ing parameter block - these
are allocated by the plugin
2003-12-16 05:59:50 +00:00
Pierangelo Masarati
ee34f3fb64 add to 'val[.<style>=<value>' ACLs special match styles for DN-valued attributes; add negated objectClass to attribute name lists for ACLs and partial replication 2003-12-16 00:49:10 +00:00
Howard Chu
32752fb396 ITS#2836 add SLAPI_ADD_RESCONTROL support, fix SLAPI_RES_CONTROLS def 2003-12-04 00:52:03 +00:00
Kurt Zeilenga
62e6779e4c Cleanup rcsid comments 2003-11-29 18:03:43 +00:00
Pierangelo Masarati
43f7494a5d remove /* in comments 2003-11-29 17:52:05 +00:00
Kurt Zeilenga
f6b9ac1338 Update notices and acknowledgements 2003-11-26 16:05:06 +00:00
Kurt Zeilenga
e3a4c4ec9c Notice/Acknowledge updates 2003-11-26 02:58:56 +00:00
Kurt Zeilenga
31f34d6985 Misc Update 2003-11-20 06:14:04 +00:00
Kurt Zeilenga
35dc15ad66 Normalize to IBM's OPL notice (with permission). 2003-11-20 05:11:37 +00:00
Kurt Zeilenga
986aabae01 Update to basic notice. 2003-11-20 04:59:01 +00:00
Howard Chu
102d8159a7 ITS#2779, cache group ACLs per operation instead of per-connection 2003-10-23 01:23:45 +00:00
Luke Howard
7a1c94acd3 Add entry_dup(); make slapi_entry_dup() use it 2003-10-08 00:48:33 +00:00
Luke Howard
6c25cb17d5 Use slapi_entry_dup() instead of converting entry to string and back 2003-10-07 16:09:40 +00:00
Luke Howard
abaddd1c70 Cleanup SLAPI logging
Remove _SPARC hostname special case - gethostname() should work
2003-09-27 05:03:16 +00:00
Luke Howard
613f493cae Add slapi_dn_beparent, slapi_dn_parent and slapi_dn_isparent API. 2003-09-27 03:29:05 +00:00
Luke Howard
a57956ac0f Implementation of slapi_send_ldap_search_reference() 2003-09-26 17:10:03 +00:00
Howard Chu
7fd47cedb7 ITS#2735 - plug memory leaks 2003-09-24 00:32:27 +00:00
Howard Chu
28d466ba66 ITS#2526 Fix slapi builds
note that -lltdl is added redundantly if --enable-modules was specified.
It seems to me that --enable-slapi should have implied --enable-modules
from the beginning.
2003-09-23 06:11:38 +00:00
Luke Howard
b299d7e067 Modifications must be copied before calling slap_mods_check() because
the pretty function may replace values which are owned by the SLAPI plugin

slapi_entry_dup() optimization - avoid string re-encoding

Fix slapi_add_internal() logic errors (was this ever tested?)

Don't attempt to free entries that have been cached; see new internal
slapi_add_entry_internal_locked() API
2003-09-15 06:53:54 +00:00
Luke Howard
da56275a2c Support per-backend ACL plugins 2003-09-01 08:49:22 +00:00
Luke Howard
0edb270b9e Support for ACL plugins 2003-08-31 08:17:21 +00:00
Luke Howard
a08fb7de7e Expose SASL context to SLAPI plugins (SLAPI_X_CONN_SASL_CONTEXT)
Useful for plugins that may wish to collude with the SASL library to,
for example, retrieve a user's authorization data from a Kerberos ticket
for access control purposes
2003-08-30 17:29:14 +00:00
Luke Howard
281627d81d Do not attempt to map positive error codes returned by plugins to
negative error codes.

Plugins should never return positive error codes except in the case
of bind pre-operation plugins, where they should return SLAPI_BIND_XXX.

This should fix ITS #2616 ...
2003-08-11 09:55:45 +00:00
Luke Howard
1251d801c1 Allow SLAPI plug-ins to override OpenLDAP extended operations
(please review)
2003-08-01 03:40:11 +00:00
Luke Howard
e01031b357 Set AttributeDescription in slapi_acl_check_mods() 2003-07-15 12:10:19 +00:00
Jong Hyuk Choi
2b803b0459 SyncRepl is changed to share the following routnines :
slap_mods_opattrs(), slap_mods_check(), slap_mods2entry()
2003-07-11 01:01:27 +00:00
Luke Howard
d29ed4407c Always call modification postoperation plugins even if a
preoperation plugin has removed all modifications and
thus there are none to pass to the backend.

Accept SSF as a valid parameter block value.

Fix completely broken slapi_access_allowed()
2003-07-03 23:17:54 +00:00
Luke Howard
c9e134f0f7 Support for SLAPI plugin extensions API.
This API allows a plugin to associate arbitrary context with an
internal server object such as a connection or operation.

Some documentation is at:

http://enterprise.netscape.com/docs/directory/602/plugin/function.htm#1104211
2003-07-03 19:04:18 +00:00
Luke Howard
9936694960 Expose SSF to plugin 2003-07-03 19:01:13 +00:00
Luke Howard
0af6508632 s/forms/form in PADL copyright 2003-05-25 04:48:49 +00:00
Luke Howard
4cee2467be s/forms/form in PADL copyright 2003-05-25 02:59:09 +00:00
Kurt Zeilenga
4b3545cd2e Update IBM copyrights
Kurt Zeilenga, IBM Corporation
2003-05-25 02:03:07 +00:00
Luke Howard
9184d038ea Build without HAVE_TLS 2003-05-20 02:59:19 +00:00
Luke Howard
8fd23795f8 Don't crash slapi_filter_get_subfilt() if no "any" filter 2003-05-05 10:23:33 +00:00
Luke Howard
13f0acfb6a Don't crash if no attributes in slapi_attr_value_find() 2003-05-04 16:59:10 +00:00
Luke Howard
83cb1037a4 Fix slapi_filter_join() behavioural bug.
Fix slapi_filter_dup() crasher.

Add slapi_x_filter_append(), as a replacement for slapi_filter_join() that
can create compound filters containing multiple filters. Will propose API
to Sun DS team; until then it should likely be marked LDAP_DEVEL (if SLAPI
is not entirely marked as such already).
2003-05-03 04:15:35 +00:00
Kurt Zeilenga
a82a6d8403 Junk 2003-05-02 22:14:09 +00:00
Kurt Zeilenga
d2840928c6 Remove junk 2003-05-02 22:12:07 +00:00
Luke Howard
bb9d3ff304 Fix build breakage 2003-05-01 10:13:46 +00:00
Kurt Zeilenga
5cd994ed21 remove dnNormalize2
replace calls to dnNormalize2 with calls to dnNormalize
2003-04-29 18:28:14 +00:00
Kurt Zeilenga
eebc51b9bf remove dnPretty
rename dnPretty2 to dnPretty
2003-04-29 18:13:10 +00:00
Luke Howard
231a7cacf6 Remove unused variables in slapi_filter_test() 2003-04-26 03:28:48 +00:00
Luke Howard
b0e2fd5a8b Don't crash in slapi_send_ldap_search_entry if no attributes specified 2003-04-26 03:28:12 +00:00
Howard Chu
e4f1c459c2 ITS#2464 don't strdup NULL DN 2003-04-25 12:44:19 +00:00
Luke Howard
b1b8d9d651 slapi_dn_normalize() should pretty DN; slapi_dn_normalize_case() should normalize it
(appears to be correct based on iPlanet documentation)
2003-04-23 11:29:11 +00:00
Luke Howard
4a51d2457a Use attr_merge_normalize() instead of attr_mergeit()
(Seems to me that attr_mergeit() can be deprecated in favour of the
former -- Howard?)
2003-04-23 09:50:41 +00:00
Luke Howard
ebe2c10994 Fix incorrect usage of slapi_ch_free() 2003-04-23 07:01:56 +00:00
Luke Howard
d4a9e0ece0 Fix crasher when duplicating substring assertions 2003-04-18 08:21:12 +00:00
Luke Howard
c734eaf68a Improve error checking 2003-04-18 07:29:45 +00:00
Howard Chu
3aabc4ed43 doPlugins return code fix 2003-04-14 00:07:48 +00:00
Howard Chu
5821fb5251 Change doPluginFNs to return 1 when no plugins were invoked 2003-04-12 12:40:50 +00:00
Howard Chu
a6a6946a67 New ldap_pvt_thread_pool_context() 2003-04-12 04:01:40 +00:00
Howard Chu
75141e9c2f Fix VPATH builds 2003-04-11 03:39:48 +00:00
Howard Chu
ece7452b05 More memory context tweaks 2003-04-11 01:29:28 +00:00
Howard Chu
7287c0ff01 Init op->tmpmfuncs. 2003-04-09 23:37:24 +00:00
Kurt Zeilenga
c75be97ae9 #ifdef -DSLAP_NVALUES 2003-04-05 03:35:16 +00:00
Luke Howard
c4382a2b3b Don't set SLAPI_NENTRIES in internal_result_v3; seems to clobber it
(Howard, can you take a look at this?)
2003-04-01 18:21:26 +00:00
Luke Howard
92ac90c1e3 Handle plugin returning no modifications in slapi_x_ldapmods2modifications() 2003-04-01 17:33:37 +00:00
Luke Howard
3b5f98723c Fix crasher in slapi_dn_issuffix() when malformed DNs are passed 2003-04-01 17:16:56 +00:00
Luke Howard
97aaebd20f Fixed crasher due to op->o_conn not being initialized in internal
SLAPI connections (the new internal API highlighted this)
2003-04-01 11:46:43 +00:00
Luke Howard
6e01d4ebe8 Fix compile breakage from nentries fix 2003-04-01 11:19:20 +00:00
Luke Howard
a099c25089 Update for new internal API: set op backend 2003-04-01 11:17:03 +00:00
Howard Chu
9355dca9af Consolidated slap_callbacks into one function. Removed send_search_result. 2003-04-01 04:12:18 +00:00
Luke Howard
fc4d4e2f95 Cleanup to use new internal API 2003-03-31 17:10:55 +00:00
Luke Howard
2fdbc55374 SLAPI cleanup 2003-03-31 06:41:30 +00:00
Howard Chu
f80114af02 Fix previous commit 2003-03-31 06:27:16 +00:00
Luke Howard
5004ec3f01 SLAPI fixes 2003-03-31 04:58:41 +00:00
Luke Howard
6c2f47ecd5 SLAPI fixes 2003-03-31 04:56:17 +00:00
Pierangelo Masarati
a26cca88dd blind fix of value_match when SLAP_NVALUES is set 2003-03-24 22:23:18 +00:00
Howard Chu
1d772b3df6 ITS#2364 fix unterminated AttributeName array 2003-03-23 16:00:20 +00:00
Pierangelo Masarati
1277616c40 use an "unknown" listener name/url when faking connections 2003-03-11 18:25:51 +00:00
Pierangelo Masarati
74960cc52f initialize var 2003-03-03 21:31:47 +00:00
Kurt Zeilenga
c981ebcb61 Don't return LDAP_OPERATIONS_ERROR for internal errors 2003-03-01 20:17:52 +00:00
Luke Howard
2c98342192 Fix typo 2003-02-28 12:55:01 +00:00
Luke Howard
cc39f75261 Support for dynamic registration of controls, both through native and
SLAPI plugins.
2003-02-28 12:34:35 +00:00
Luke Howard
9eb008ab16 Implemented slapi_dup_control(). 2003-02-27 13:00:25 +00:00
Pierangelo Masarati
df57840626 more hacks/comments for SLAP_NVALUES 2003-02-27 09:52:47 +00:00
Pierangelo Masarati
dd6870515b quick fix to allow -DSLAP_NVALUES with -DLDAP_SLAPI 2003-02-27 00:41:46 +00:00
Pierangelo Masarati
216bcd948e more SLAP_NVALUES cleanup 2003-02-26 22:58:46 +00:00
Kurt Zeilenga
8f82e9f772 ITS#2117: remove suffixalias support until someone fixes it 2003-02-09 07:20:03 +00:00
Kurt Zeilenga
a256e5035d extern'ize 2003-02-08 19:18:46 +00:00
Kurt Zeilenga
2fccb8d68e really put SLAPI behind its #ifdef 2003-02-07 19:06:15 +00:00
Pierangelo Masarati
1b4401ff53 handle attr delete appropriately (pass test004) 2003-02-04 22:33:51 +00:00
Pierangelo Masarati
677f13a846 handle NULL mod_[b]values case 2003-02-04 21:52:43 +00:00
Luke Howard
f894db3be2 Cleanup #ifdefs 2003-02-04 00:40:46 +00:00
Luke Howard
17f2953e40 Do not crash when more than one attribute is passed to
slapi_search_internal_bind()
2003-02-02 12:20:38 +00:00
Luke Howard
750cbb7026 Ensure normalized root DN is available to internal SLAPI operations for
authorization to work.

Do not crash when forming Modification list from LDAPMod array.
2003-02-02 11:00:52 +00:00
Luke Howard
becd81ebd9 Always pass normalized DN to select_backend() when performing operationals
internal to SLAPI
2003-02-02 10:02:25 +00:00
Luke Howard
e59d248858 Fix crasher in bvptr2obj
Fix hasvalue
2003-02-02 09:22:38 +00:00
Luke Howard
307f7fcc89 Ensure AttributeDescriptions are initialized to NULL 2003-02-02 09:04:43 +00:00
Luke Howard
e212e59e28 Date PADL copyright notice 2003-01-31 01:06:30 +00:00
Howard Chu
3250cc8d19 Fix includes for VPATH builds 2003-01-30 22:58:39 +00:00
Luke Howard
c464b299d8 Check for slapi_filter_dup() success in nested filters 2003-01-30 13:07:18 +00:00
Luke Howard
afc8ec976b Terminate f_sub_any array 2003-01-30 13:06:34 +00:00
Luke Howard
1be73d766c Added slapi_filter_dup() API from Sun ONE DS 5.x 2003-01-30 13:04:36 +00:00
Luke Howard
a0da326c97 Implemented slapi_filter_apply() API 2003-01-30 12:24:53 +00:00
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