Kurt Zeilenga
7bbc903201
fix up nvalues code so that pretty routines work properly
...
re-add objectClass pretty routines
2003-04-25 02:28:06 +00:00
Kurt Zeilenga
af5f617d2a
cleanup
2003-04-25 00:14:54 +00:00
Pierangelo Masarati
b5e9378d4f
improve previous commit
2003-04-17 22:19:14 +00:00
Pierangelo Masarati
9f7c48ab54
don't return referral if cannot compute one (should fix ITS#2435)
2003-04-17 21:48:57 +00:00
Howard Chu
4739b58f99
Fix previous commit
2003-04-14 11:14:07 +00:00
Howard Chu
3aabc4ed43
doPlugins return code fix
2003-04-14 00:07:48 +00:00
Howard Chu
130f6e1b7d
Memory context tweaks for other ops
2003-04-12 10:47:11 +00:00
Howard Chu
ece7452b05
More memory context tweaks
2003-04-11 01:29:28 +00:00
Kurt Zeilenga
c75be97ae9
#ifdef -DSLAP_NVALUES
2003-04-05 03:35:16 +00:00
Luke Howard
d2b6e8d56c
Handle the case where slapi_x_ldapmods2modifications() returns NULL; the
...
modify request becomes a NOOP for the front-end in this case.
2003-04-01 17:38:02 +00:00
Luke Howard
8429210bed
Fix SLAPI crasher
2003-04-01 16:43:04 +00:00
Luke Howard
9da00ad42d
Fix SLAPI crasher
2003-04-01 16:42:24 +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
Luke Howard
6c2f47ecd5
SLAPI fixes
2003-03-31 04:56:17 +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
Howard Chu
bbad1de8e1
Added lutil_passwd_init, _destroy, _add for dynamically adding passwd
...
schemes. Declarations in lutil.h require lutil.h never be included before
lber.h, always after.
2003-03-11 05:58:53 +00:00
Howard Chu
3955eaede2
Fix LDAP_DEBUG/LDAP_SYSLOG test
2003-03-05 02:22:58 +00:00
Kurt Zeilenga
840f3644f4
SLAP_NVALUES: a couple of basic normalizers... but not working yet.
2003-02-28 05:13:29 +00:00
Kurt Zeilenga
152829be87
SLAP_NVALUES:
...
schema engine updated (but not schema routines so things don't run yet)
nvalues mostly populated, enough for tests 0-2 to pass
schema routines needs lots of work
modify/mods codes needs lots of work
2003-02-27 01:54:43 +00:00
Howard Chu
284ef10e6e
In slap_mods_check, must null-terminate sm_nvalues array
2003-02-26 09:24:01 +00:00
Kurt Zeilenga
dd66e6e929
SLAP_NVALUES, round 3
2003-02-26 07:39:30 +00:00
Kurt Zeilenga
46a2616b83
Fix -USLAP_NVALUES
2003-02-26 03:12:02 +00:00
Kurt Zeilenga
2cdbd25a60
SLAP_NVALUES mostly populated now
2003-02-26 01:41:22 +00:00
Kurt Zeilenga
6390e947b0
SLAP_NVALUES, round 2
2003-02-25 22:49:41 +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
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
ff263ec6a7
Return LDAP_OTHER instead of LDAP_OPERATIONS_ERROR for internal SLAPI
...
failure
2003-01-21 09:42:26 +00:00
Luke Howard
8ab0c4d401
fix SLAPI_MODIFY_MODS pointer error
2003-01-21 05:56:46 +00:00
Luke Howard
84918362df
Allow a modify preoperation plugin to insert additional modifications to
...
be applied by the backend.
2003-01-21 05:30:14 +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
Luke Howard
d3292b83fa
Style consistency in new SLAPI_MODIFY_MODS code
2003-01-19 22:49:21 +00:00
Luke Howard
fe4cd099c8
FreeLDAPMods() should be static
2003-01-19 22:45:10 +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
Pierangelo Masarati
e9a74cffba
slapi used the old version of the LDAP_LOG macro (caught by Howard)
2002-12-27 14:59:01 +00:00
Howard Chu
7c7daf8556
Statslog additions:
...
Added StatslogTest macro.
Added attributes to modify and search Statslog.
Added Statslog of SASL authcid.
2002-12-16 12:14:37 +00:00
Hallvard Furuseth
486eaa69b6
Rename "lang(uage)" to "tag(s)". (Cleanup after attribute options patch.)
2002-12-13 19:15:20 +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
Kurt Zeilenga
f5e6d1db41
#unifdef -DSCHEMA_DN
2002-09-29 04:30:38 +00:00
Pierangelo Masarati
aea52e5bc9
define macros for appropriate sizing of lutil buffers
2002-08-31 10:48:02 +00:00
Kurt Zeilenga
11236eae56
Clean up some structuralObject checks to improve readability.
...
Functionality not changed (excepting one error message).
2002-08-27 01:55:09 +00:00
Howard Chu
07ebdca237
ITS#1893, use "schemadn" to configure subschemasubentry DN. (diff was
...
inaccessible, this is original code, not contributed.)
2002-08-10 03:10:52 +00:00
Howard Chu
b6620f3d25
Use lutil_gentime
2002-07-27 02:10:43 +00:00