Commit Graph

27 Commits

Author SHA1 Message Date
Luke Howard
5f6996c8bf Add SLAPI_X_GROUP_TARGET_ENTRY so that group plugin can use target entry 2004-08-26 04:24:29 +00:00
Luke Howard
d45b89823f Support pre-operation and post-operations for backend_group()
This allows computed attribute plugins to also provide their attributes to
the ACL engine, for example
2004-08-25 15:20:19 +00:00
Howard Chu
1b98cd6262 Fix SLAPI_ADD_RESCONTROLS 2004-03-02 20:31:37 +00:00
Kurt Zeilenga
3c598e89fb Happy new year 2004-01-01 19:15:16 +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
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
Kurt Zeilenga
f6b9ac1338 Update notices and acknowledgements 2003-11-26 16:05:06 +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
7fd47cedb7 ITS#2735 - plug memory leaks 2003-09-24 00:32:27 +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
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
Kurt Zeilenga
4b3545cd2e Update IBM copyrights
Kurt Zeilenga, IBM Corporation
2003-05-25 02:03:07 +00:00
Pierangelo Masarati
d1cc80694f reworking of slapi headers 2003-01-27 14:44:39 +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
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
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
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
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
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
Kurt Zeilenga
6939c53170 Happy new year 2003-01-03 20:20:47 +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
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