Kurt Zeilenga
e5a37f2125
SLAPD_DISCONNECT v -1 cleanup
...
misc other cleanup
2004-06-23 01:04:52 +00:00
Pierangelo Masarati
96fe39e99f
minor cleanup
2004-06-19 15:17:41 +00:00
Kurt Zeilenga
1372965d89
ITS#3092: Rename sl_free() and friends to slap_sl_free()
2004-04-20 03:44:57 +00:00
Kurt Zeilenga
44725e7303
use BER_BVNULL
2004-04-07 04:11:43 +00:00
Kurt Zeilenga
9b9127eb3f
Cleanup
2004-03-27 18:19:12 +00:00
Howard Chu
1a314f3bca
ITS#3038 64bit compatibility (oops)
2004-03-25 09:25:25 +00:00
Kurt Zeilenga
3a468f5d90
cleanup
2004-03-24 23:44:45 +00:00
Howard Chu
2d0af83c71
ITS#2934 - don't touch conn->c_sasl_dn for Simple Binds
2004-02-26 11:48:34 +00:00
Kurt Zeilenga
3c598e89fb
Happy new year
2004-01-01 19:15:16 +00:00
Luke Howard
0549d46adf
Don't require slapi to be in the path - always include slapi/slapi.h
2003-12-28 04:17:48 +00:00
Luke Howard
b0416d1140
Cleanup SLAPI namespace
2003-12-28 04:14:19 +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
Howard Chu
e85cd1e154
Fix prev commit, use c_authtype
2003-12-13 22:16:03 +00:00
Howard Chu
d9aec4ef28
Always set c_authmech
2003-12-13 21:39:51 +00:00
Kurt Zeilenga
4e15a84452
Updated notices
2003-11-27 01:17:14 +00:00
Howard Chu
01f7a7466b
SLAPI fix - no-op when slapi_plugins_used == 0
2003-10-24 05:58:42 +00:00
Luke Howard
114d0081c1
Fix for Howard's fix for ITS #2704
...
The oblique SLAPI interface requires that preop bind plugins return 1 in the
case that they have authoritatively handled the bind; of course, this is
the same return value that doPluginFNs() returns in the case of no plugins
being called.
This patch should distinguish between the two cases...
2003-09-23 07:40:29 +00:00
Howard Chu
a8ae9bb31d
ITS#2704 don't hang client when no preop plugins are loaded
2003-09-23 05:35:38 +00:00
Kurt Zeilenga
4679178db2
Don't pass NULL when string is expected.
...
Other Cleanup
2003-09-15 21:22:20 +00:00
Luke Howard
b3e8d9189c
Fix SLAPI bind pre-operation plugin regression
2003-09-11 09:04:03 +00:00
Luke Howard
57f242c3fb
Call SASL bind post-op SLAPI plugin _after_ DN has been set
2003-08-31 03:11:05 +00:00
Luke Howard
e40215e780
Call post-op bind functions after SASL bind
2003-08-31 03:08:06 +00:00
Kurt Zeilenga
3186a1c27a
Remove deprecated code. Will remove slap.h code define later.
2003-08-09 03:44:30 +00:00
Hallvard Furuseth
6af256b8e1
Fix some Statslog()s: Add missing newlines. Print file descriptor as long.
2003-05-15 23:45:33 +00:00
Luke Howard
e4779aefc1
A pre-operation plugin is not required to set SLAPI_RESULT_CODE in
...
order to prevent the operation from being passed to the backend. It
need only return a non-zero error code.
2003-04-30 13:37:14 +00:00
Pierangelo Masarati
adf3744dd6
fix backsql new API; use berbuf instead of berval
2003-04-15 21:55:25 +00:00
Howard Chu
3aabc4ed43
doPlugins return code fix
2003-04-14 00:07:48 +00:00
Howard Chu
280fc819cf
Memory context tweaks for Bind
2003-04-12 06:56:42 +00:00
Howard Chu
ece7452b05
More memory context tweaks
2003-04-11 01:29:28 +00:00
Pierangelo Masarati
e8c264b1f6
safe defaults
2003-04-03 21:40:04 +00:00
Howard Chu
fa9bf23501
Minor cleanup
2003-03-31 07:49:34 +00:00
Luke Howard
2fdbc55374
SLAPI cleanup
2003-03-31 06:41:30 +00:00
Howard Chu
e8c58b4e7f
Major API change - (SLAP_OP_BLOCKS) All request parameters are
...
consolidated into the Operation structure. All reply parameters
are consolidated into the new SlapReply structure. Most operations
now have identical call signatures... Changes are not #ifdef'd,
revert to -r NO_SLAP_OP_BLOCKS if necessary to back out.
2003-03-30 09:03:54 +00:00
Kurt Zeilenga
e906747d51
call LDAPv2 what it is (historical)
2003-03-06 01:00:05 +00:00
Kurt Zeilenga
fb73fea612
More understandable error text
2003-02-19 16:19:13 +00:00
Kurt Zeilenga
aaf253318b
Move include <slapi.h> behind #ifdef
2003-02-10 02:09:00 +00:00
Kurt Zeilenga
8f82e9f772
ITS#2117: remove suffixalias support until someone fixes it
2003-02-09 07:20:03 +00:00
Kurt Zeilenga
2fccb8d68e
really put SLAPI behind its #ifdef
2003-02-07 19:06:15 +00:00
Pierangelo Masarati
c3847a6136
slapi header cleanup
2003-01-27 21:53:23 +00:00
Luke Howard
0650e6ad52
Allow plugin to retrieve desired attribute list and state of manageDSAit control
...
Support search preop/rewrite/postop plugins for root DSE and subschema
2003-01-23 08:45:28 +00:00
Kurt Zeilenga
58bff46c7c
s/AUTHZ/BIND/ for consistency with other Statslog() messages
2003-01-22 21:37:04 +00:00
Luke Howard
ff263ec6a7
Return LDAP_OTHER instead of LDAP_OPERATIONS_ERROR for internal SLAPI
...
failure
2003-01-21 09:42:26 +00:00
Luke Howard
30d946959e
Set SLAPI_BIND_CREDENTIALS for bind preoperation plugin
2003-01-21 08:35:48 +00:00
Luke Howard
53ced8a648
Allow SLAPI bind plugins to set the authorization identity, at least for
...
simple binds
2003-01-21 06:30:38 +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
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
6d1ca4c747
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
2003-01-20 20:21:17 +00:00
Kurt Zeilenga
bcd7306877
ITS#2268: SASL/ANONYMOUS fixes from kuenne@rentec.com
2003-01-20 18:09:46 +00:00
Luke Howard
6a5f29b60a
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.
2003-01-19 15:30:10 +00:00
Kurt Zeilenga
6939c53170
Happy new year
2003-01-03 20:20:47 +00:00