]> git.sur5r.net Git - openldap/log
openldap
18 years agofix various leaks
Pierangelo Masarati [Mon, 1 Aug 2005 23:32:14 +0000 (23:32 +0000)]
fix various leaks

18 years agoplug leaks; fix map initialization
Pierangelo Masarati [Mon, 1 Aug 2005 22:40:18 +0000 (22:40 +0000)]
plug leaks; fix map initialization

18 years agoAdd static build for accesslog
Howard Chu [Mon, 1 Aug 2005 22:02:23 +0000 (22:02 +0000)]
Add static build for accesslog

18 years agoAdd o_no_schema_check to operation structure
Luke Howard [Mon, 1 Aug 2005 15:26:13 +0000 (15:26 +0000)]
Add o_no_schema_check to operation structure

entry_schema_check() nows takes Operation instead of Backend as first
argument, allows it to check o_no_schema_check

18 years agoSLAPI no longer needs to be initialized here
Luke Howard [Mon, 1 Aug 2005 15:25:17 +0000 (15:25 +0000)]
SLAPI no longer needs to be initialized here

18 years agoAdd slapi_dn_isbesuffix()
Luke Howard [Mon, 1 Aug 2005 15:24:46 +0000 (15:24 +0000)]
Add slapi_dn_isbesuffix()
Fix slapi_dn_beparent() logic
Fix slapi_int_ldapmods2modifications() memory management, values
always need to be duplicated because of prettying in slap_mods_check()

18 years agoFix crasher in SLAPI_SEARCH_ATTRS handler
Luke Howard [Mon, 1 Aug 2005 15:24:02 +0000 (15:24 +0000)]
Fix crasher in SLAPI_SEARCH_ATTRS handler
Add SLAPI_X_OPERATION_NO_SCHEMA_CHECK, SLAPI_X_MANAGEDIT
Fix modlist memory management

18 years agoPlug leaks
Luke Howard [Mon, 1 Aug 2005 15:23:12 +0000 (15:23 +0000)]
Plug leaks

18 years agoCentralize SLAPI initialization into slapi_over_config()
Luke Howard [Mon, 1 Aug 2005 15:22:56 +0000 (15:22 +0000)]
Centralize SLAPI initialization into slapi_over_config()

18 years agoAdd SLAPI_X_MANAGEDIT, SLAPI_X_OPERATION_NO_SCHEMA_CHECK
Luke Howard [Mon, 1 Aug 2005 15:21:55 +0000 (15:21 +0000)]
Add SLAPI_X_MANAGEDIT, SLAPI_X_OPERATION_NO_SCHEMA_CHECK

18 years agoPlug memory leak
Hallvard Furuseth [Mon, 1 Aug 2005 03:58:43 +0000 (03:58 +0000)]
Plug memory leak

18 years agoslap_mods2entry(,,,dup=1,,,) realloced insufficient space for attr->a_nvals
Hallvard Furuseth [Mon, 1 Aug 2005 03:56:36 +0000 (03:56 +0000)]
slap_mods2entry(,,,dup=1,,,) realloced insufficient space for attr->a_nvals

18 years agoPlug memory leaks - free() controls in LDAP*
Hallvard Furuseth [Mon, 1 Aug 2005 03:51:53 +0000 (03:51 +0000)]
Plug memory leaks - free() controls in LDAP*

18 years agoHandle LBER_SB_OPT_[GS]ET_FD arg as ber_socket_t like elsewhere, not as int.
Hallvard Furuseth [Mon, 1 Aug 2005 03:48:53 +0000 (03:48 +0000)]
Handle LBER_SB_OPT_[GS]ET_FD arg as ber_socket_t like elsewhere, not as int.

18 years agoPlug memory leaks
Hallvard Furuseth [Mon, 1 Aug 2005 03:44:52 +0000 (03:44 +0000)]
Plug memory leaks

18 years agoslap_mods2entry() should not zero pointers into the modifications
Luke Howard [Mon, 1 Aug 2005 02:16:02 +0000 (02:16 +0000)]
slap_mods2entry() should not zero pointers into the modifications
list because checking is performed on these, rather than the entry.

slap_mods_free() now takes an extra argument indicating whether to
free the values or not.

18 years agofix previous commit (ITS#3905)
Pierangelo Masarati [Sun, 31 Jul 2005 23:15:08 +0000 (23:15 +0000)]
fix previous commit (ITS#3905)

18 years agoCleanup
Hallvard Furuseth [Sun, 31 Jul 2005 18:17:13 +0000 (18:17 +0000)]
Cleanup

18 years agoCleanup
Hallvard Furuseth [Sun, 31 Jul 2005 18:05:51 +0000 (18:05 +0000)]
Cleanup

18 years agoFix slapi_dn_beparent() behaviour (again)
Luke Howard [Sun, 31 Jul 2005 14:17:36 +0000 (14:17 +0000)]
Fix slapi_dn_beparent() behaviour (again)

18 years agoFix slapi_dn_beparent() logic
Luke Howard [Sun, 31 Jul 2005 06:45:39 +0000 (06:45 +0000)]
Fix slapi_dn_beparent() logic

18 years agoSupport SLAPI_X_OPERATION_DELETE_GLUE_PARENT
Luke Howard [Sun, 31 Jul 2005 05:42:51 +0000 (05:42 +0000)]
Support SLAPI_X_OPERATION_DELETE_GLUE_PARENT

18 years agoAdd SLAPI_X_OPERATION_DELETE_GLUE_PARENT
Luke Howard [Sun, 31 Jul 2005 05:41:03 +0000 (05:41 +0000)]
Add SLAPI_X_OPERATION_DELETE_GLUE_PARENT

18 years agoRestore 2.2 SLAPI behaviour: target DN is not normalized
Luke Howard [Sun, 31 Jul 2005 05:23:56 +0000 (05:23 +0000)]
Restore 2.2 SLAPI behaviour: target DN is not normalized
(actually, in 2.2 the target DN was not even prettied, but this
will do)

18 years agoAllow overlays to override operational attributes on add (needed
Luke Howard [Sun, 31 Jul 2005 05:19:37 +0000 (05:19 +0000)]
Allow overlays to override operational attributes on add (needed
to preserve 2.2 SLAPI behaviour; see comments for further info)

18 years agoFix logic error in slap_mods2entry()
Luke Howard [Sun, 31 Jul 2005 05:12:20 +0000 (05:12 +0000)]
Fix logic error in slap_mods2entry()

18 years agoFix logic error in slap_mods_no_repl_user_mod_check()
Luke Howard [Sun, 31 Jul 2005 05:04:37 +0000 (05:04 +0000)]
Fix logic error in slap_mods_no_repl_user_mod_check()

18 years agoCall slap_mods2entry() in do_add(), so that global overlays (including
Luke Howard [Sun, 31 Jul 2005 04:56:27 +0000 (04:56 +0000)]
Call slap_mods2entry() in do_add(), so that global overlays (including
global SLAPI plugins) have access to op->ora_e.

Note that slap_mods2entry() is still called in fe_op_add() in order to
add any operational attributes.

18 years agoInitialize a_flags of new Attribute in str2entry2().
Hallvard Furuseth [Sat, 30 Jul 2005 23:54:00 +0000 (23:54 +0000)]
Initialize a_flags of new Attribute in str2entry2().

18 years agoInitialize i (#changes) if no mods. Simplify (*modp) to lmod.
Hallvard Furuseth [Sat, 30 Jul 2005 23:46:07 +0000 (23:46 +0000)]
Initialize i (#changes) if no mods.  Simplify (*modp) to lmod.

18 years agoRemove warning that HDB code is experimental and unsupported
Hallvard Furuseth [Sat, 30 Jul 2005 23:42:41 +0000 (23:42 +0000)]
Remove warning that HDB code is experimental and unsupported

18 years agoChange diskNode.(n)rdn from unsigned char to char, matching their usage.
Hallvard Furuseth [Sat, 30 Jul 2005 23:39:44 +0000 (23:39 +0000)]
Change diskNode.(n)rdn from unsigned char to char, matching their usage.

18 years agoRemove ";" after do{...}while(0) macros
Hallvard Furuseth [Sat, 30 Jul 2005 23:36:38 +0000 (23:36 +0000)]
Remove ";" after do{...}while(0) macros

18 years agoserialNumberAndIssuerPretty() and serialNumberAndIssuerNormalize()
Hallvard Furuseth [Sat, 30 Jul 2005 23:30:42 +0000 (23:30 +0000)]
serialNumberAndIssuerPretty() and serialNumberAndIssuerNormalize()
were confused about realloced memory.

18 years agocleanup
Pierangelo Masarati [Sat, 30 Jul 2005 16:26:25 +0000 (16:26 +0000)]
cleanup

18 years agofix referrals handling (needs work)
Pierangelo Masarati [Sat, 30 Jul 2005 16:25:18 +0000 (16:25 +0000)]
fix referrals handling (needs work)

18 years agosupport increment; don't bother too much about return values of send_search_* functions
Pierangelo Masarati [Sat, 30 Jul 2005 15:00:41 +0000 (15:00 +0000)]
support increment; don't bother too much about return values of send_search_* functions

18 years agofix conditional compilation of config schema
Pierangelo Masarati [Sat, 30 Jul 2005 12:20:52 +0000 (12:20 +0000)]
fix conditional compilation of config schema

18 years ago...otherwise it doesn't work with overlays
Pierangelo Masarati [Sat, 30 Jul 2005 10:37:34 +0000 (10:37 +0000)]
...otherwise it doesn't work with overlays

18 years agoBack out previous commit, appears not to match frontend - still
Luke Howard [Sat, 30 Jul 2005 08:30:36 +0000 (08:30 +0000)]
Back out previous commit, appears not to match frontend - still
investigating

18 years agoslapi_add_internal_pb() should not set op->ora_e, this is done by frontend
Luke Howard [Sat, 30 Jul 2005 08:19:26 +0000 (08:19 +0000)]
slapi_add_internal_pb() should not set op->ora_e, this is done by frontend

18 years agoDon't instantiate SLAPI overlay in tool mode
Luke Howard [Fri, 29 Jul 2005 16:45:25 +0000 (16:45 +0000)]
Don't instantiate SLAPI overlay in tool mode

18 years agoAdd note about core.ldif and openldap.ldif
Howard Chu [Fri, 29 Jul 2005 12:19:08 +0000 (12:19 +0000)]
Add note about core.ldif and openldap.ldif

18 years agoInstall LDIF schema files too
Howard Chu [Fri, 29 Jul 2005 12:09:39 +0000 (12:09 +0000)]
Install LDIF schema files too

18 years agoFix install-schema - move old schema dir out of the way, always install
Howard Chu [Fri, 29 Jul 2005 12:06:12 +0000 (12:06 +0000)]
Fix install-schema - move old schema dir out of the way, always install
a fresh copy of everything.

18 years agotreat extra args as errors
Pierangelo Masarati [Fri, 29 Jul 2005 09:01:44 +0000 (09:01 +0000)]
treat extra args as errors

18 years agoadd LDAP_CONTROL_X_EXTENDED_DN
Luke Howard [Fri, 29 Jul 2005 08:43:29 +0000 (08:43 +0000)]
add LDAP_CONTROL_X_EXTENDED_DN

18 years agoITS#3875 change saslauthz* to authz*, etc.
Howard Chu [Fri, 29 Jul 2005 03:58:58 +0000 (03:58 +0000)]
ITS#3875 change saslauthz* to authz*, etc.
Since this authz stuff is no longer specific to SASL it probably should
be moved into its own chapter. Not going to bother right now.

18 years agoITS#3823 minor cleanups / clarifications
Howard Chu [Fri, 29 Jul 2005 03:51:45 +0000 (03:51 +0000)]
ITS#3823 minor cleanups / clarifications

18 years agoITS#3837 mention back-hdb
Howard Chu [Fri, 29 Jul 2005 03:43:14 +0000 (03:43 +0000)]
ITS#3837 mention back-hdb

18 years agoTS#3816 fix -F typo, fix -T args
Howard Chu [Fri, 29 Jul 2005 03:34:03 +0000 (03:34 +0000)]
TS#3816 fix -F typo, fix -T args

18 years agoMention the config database type
Howard Chu [Fri, 29 Jul 2005 03:29:51 +0000 (03:29 +0000)]
Mention the config database type

18 years agoITS#3900 move olcDefaultSearchBase to frontend DB
Howard Chu [Fri, 29 Jul 2005 02:48:31 +0000 (02:48 +0000)]
ITS#3900 move olcDefaultSearchBase to frontend DB
expose config DB

18 years agomore table-driven config cleanup
Pierangelo Masarati [Fri, 29 Jul 2005 01:00:48 +0000 (01:00 +0000)]
more table-driven config cleanup

18 years agodon't complain during EMIT
Pierangelo Masarati [Thu, 28 Jul 2005 18:25:43 +0000 (18:25 +0000)]
don't complain during EMIT

18 years agosuffix must be present (ITS#3901)
Pierangelo Masarati [Thu, 28 Jul 2005 16:54:49 +0000 (16:54 +0000)]
suffix must be present (ITS#3901)

18 years agoRemember to NULL terminate control arrays - not sure how I managed to
Luke Howard [Thu, 28 Jul 2005 09:56:55 +0000 (09:56 +0000)]
Remember to NULL terminate control arrays - not sure how I managed to
make this error in multiple places

18 years agopblock_add_control() needs to call slapi_dup_control()
Luke Howard [Thu, 28 Jul 2005 09:48:44 +0000 (09:48 +0000)]
pblock_add_control() needs to call slapi_dup_control()

18 years agoAdd slapi_int_dn_pretty()/slapi_int_dn_normalize() to support plugins
Luke Howard [Thu, 28 Jul 2005 09:02:13 +0000 (09:02 +0000)]
Add slapi_int_dn_pretty()/slapi_int_dn_normalize() to support plugins
that override distinguishedName syntax and matching rule

18 years agoAdd slapi_over_call_plugins() to ensure that global plugins are
Luke Howard [Thu, 28 Jul 2005 08:52:50 +0000 (08:52 +0000)]
Add slapi_over_call_plugins() to ensure that global plugins are
invoked from slap_callbacks

18 years agoAdd some debugging for failed plugin loads
Luke Howard [Thu, 28 Jul 2005 08:35:28 +0000 (08:35 +0000)]
Add some debugging for failed plugin loads

18 years agocheck return value from add (ITS#3891)
Pierangelo Masarati [Thu, 28 Jul 2005 00:06:14 +0000 (00:06 +0000)]
check return value from add (ITS#3891)

18 years agofix headers (ITS#3896)
Pierangelo Masarati [Wed, 27 Jul 2005 23:32:29 +0000 (23:32 +0000)]
fix headers (ITS#3896)

18 years agoAdd pblock_be_call() for calling against actual backend
Luke Howard [Wed, 27 Jul 2005 16:29:32 +0000 (16:29 +0000)]
Add pblock_be_call() for calling against actual backend

18 years agoFix memory management regressions in pblock modifications handling
Luke Howard [Wed, 27 Jul 2005 16:11:12 +0000 (16:11 +0000)]
Fix memory management regressions in pblock modifications handling
Fix backwards logic in slapi_attr_types_equivalent()

18 years agobdb_locker_id, bdb_locker_id_free: BerkeleyDB lock ids are u_int32_t, not int.
Hallvard Furuseth [Wed, 27 Jul 2005 12:19:16 +0000 (12:19 +0000)]
bdb_locker_id, bdb_locker_id_free: BerkeleyDB lock ids are u_int32_t, not int.

18 years agoPBlock SlapReply needs to be a pointer into that supplied by caller
Luke Howard [Wed, 27 Jul 2005 10:09:44 +0000 (10:09 +0000)]
PBlock SlapReply needs to be a pointer into that supplied by caller
for overlay ops

18 years agoSilence warning
Hallvard Furuseth [Wed, 27 Jul 2005 09:34:05 +0000 (09:34 +0000)]
Silence warning

18 years agoZero new superior before calling pblock_set_dn()
Luke Howard [Wed, 27 Jul 2005 09:26:42 +0000 (09:26 +0000)]
Zero new superior before calling pblock_set_dn()

18 years agopb in slapi_op_func was freed uninitialized if preop_type==0 && !internal_op
Hallvard Furuseth [Wed, 27 Jul 2005 09:13:30 +0000 (09:13 +0000)]
pb in slapi_op_func was freed uninitialized if preop_type==0 && !internal_op

18 years agoSilence unused variable warnings
Hallvard Furuseth [Wed, 27 Jul 2005 08:52:32 +0000 (08:52 +0000)]
Silence unused variable warnings

18 years agoSilence unused variable warnings with #ifdef LDAP_DYNAMIC_OBJECTS
Hallvard Furuseth [Wed, 27 Jul 2005 08:50:37 +0000 (08:50 +0000)]
Silence unused variable warnings with #ifdef LDAP_DYNAMIC_OBJECTS

18 years agoSilence warnings (rearrange if(dryrun) vs. if(verbose)
Hallvard Furuseth [Wed, 27 Jul 2005 08:48:43 +0000 (08:48 +0000)]
Silence warnings (rearrange if(dryrun) vs. if(verbose)

18 years agoSilence unused variable warnings with #ifdef LDAP_CONTROL_X_CHAINING_BEHAVIOR
Hallvard Furuseth [Wed, 27 Jul 2005 08:44:11 +0000 (08:44 +0000)]
Silence unused variable warnings with #ifdef LDAP_CONTROL_X_CHAINING_BEHAVIOR

18 years agoSilence warning
Hallvard Furuseth [Wed, 27 Jul 2005 08:33:59 +0000 (08:33 +0000)]
Silence warning

18 years agos/op_compare/op_delete for LDAP_REQ_DELETE
Luke Howard [Wed, 27 Jul 2005 08:32:31 +0000 (08:32 +0000)]
s/op_compare/op_delete for LDAP_REQ_DELETE

18 years agoSupport object extensions on internal SLAPI operations
Luke Howard [Tue, 26 Jul 2005 09:56:18 +0000 (09:56 +0000)]
Support object extensions on internal SLAPI operations

18 years agoslapi_op_type_to_string/slapi_op_get_type implementation
Luke Howard [Tue, 26 Jul 2005 04:34:23 +0000 (04:34 +0000)]
slapi_op_type_to_string/slapi_op_get_type implementation

18 years agoAlso declare copy_hostent() if LDAP_R_COMPILE && HAVE_GETHOSTBYADDR_R.
Hallvard Furuseth [Tue, 26 Jul 2005 04:21:19 +0000 (04:21 +0000)]
Also declare copy_hostent() if LDAP_R_COMPILE && HAVE_GETHOSTBYADDR_R.
Only declare safe_realloc() if LDAP_R_COMPILE.
Indentation cleanup.

18 years agoRebuild for utime.h from configure.in 1.585
Hallvard Furuseth [Tue, 26 Jul 2005 04:01:27 +0000 (04:01 +0000)]
Rebuild for utime.h from configure.in 1.585

18 years agomore fixes to back-ldap runtime configuration (ITS#3895)
Pierangelo Masarati [Tue, 26 Jul 2005 00:11:11 +0000 (00:11 +0000)]
more fixes to back-ldap runtime configuration (ITS#3895)

18 years agosilence warning
Pierangelo Masarati [Mon, 25 Jul 2005 23:06:12 +0000 (23:06 +0000)]
silence warning

18 years agoUpdate previous fix: utime() needs <sys/types.h> as well as <utime.h> on Linux
Hallvard Furuseth [Mon, 25 Jul 2005 22:53:21 +0000 (22:53 +0000)]
Update previous fix: utime() needs <sys/types.h> as well as <utime.h> on Linux

18 years agouse operation slab for column binding
Pierangelo Masarati [Mon, 25 Jul 2005 22:11:09 +0000 (22:11 +0000)]
use operation slab for column binding

18 years agofix operational attributes collection (ITS#3882)
Pierangelo Masarati [Mon, 25 Jul 2005 21:57:20 +0000 (21:57 +0000)]
fix operational attributes collection (ITS#3882)

18 years agoCast unsigned char*slotbuf passed as char*
Hallvard Furuseth [Mon, 25 Jul 2005 21:05:52 +0000 (21:05 +0000)]
Cast unsigned char*slotbuf passed as char*

18 years agoFix debug format %d -> %lu
Hallvard Furuseth [Mon, 25 Jul 2005 21:03:08 +0000 (21:03 +0000)]
Fix debug format %d -> %lu

18 years agolmPasswd_to_key() arg1 was passed char*. Change it to that from unsigned char*.
Hallvard Furuseth [Mon, 25 Jul 2005 21:01:06 +0000 (21:01 +0000)]
lmPasswd_to_key() arg1 was passed char*. Change it to that from unsigned char*.

18 years agosilence warning(s)
Pierangelo Masarati [Mon, 25 Jul 2005 20:50:33 +0000 (20:50 +0000)]
silence warning(s)

18 years agodestroy limits at exit
Pierangelo Masarati [Mon, 25 Jul 2005 20:50:03 +0000 (20:50 +0000)]
destroy limits at exit

18 years agoimprove verbstomask diagnostics
Pierangelo Masarati [Mon, 25 Jul 2005 20:48:24 +0000 (20:48 +0000)]
improve verbstomask diagnostics

18 years agoplug leaks
Pierangelo Masarati [Mon, 25 Jul 2005 20:47:39 +0000 (20:47 +0000)]
plug leaks

18 years agocleanup
Pierangelo Masarati [Mon, 25 Jul 2005 20:47:01 +0000 (20:47 +0000)]
cleanup

18 years agosilence warnings
Pierangelo Masarati [Mon, 25 Jul 2005 20:46:38 +0000 (20:46 +0000)]
silence warnings

18 years agofix translucent overlay test when back-monitor is compiled as module (privately repor...
Pierangelo Masarati [Mon, 25 Jul 2005 19:39:08 +0000 (19:39 +0000)]
fix translucent overlay test when back-monitor is compiled as module (privately reported by Buchan Milne)

18 years agoFix ITS#3882
Luke Howard [Mon, 25 Jul 2005 13:19:38 +0000 (13:19 +0000)]
Fix ITS#3882

18 years agomore cleanups
Luke Howard [Mon, 25 Jul 2005 13:17:15 +0000 (13:17 +0000)]
more cleanups

18 years agoSync with slapd
Luke Howard [Mon, 25 Jul 2005 11:25:12 +0000 (11:25 +0000)]
Sync with slapd

18 years agoHarmonize Slapi_PBlock field nomenclature with rest of slapd
Luke Howard [Mon, 25 Jul 2005 11:13:15 +0000 (11:13 +0000)]
Harmonize Slapi_PBlock field nomenclature with rest of slapd

18 years agoHowever, SLAPI_PLUGIN_VERSION is treated as an opaque type
Luke Howard [Mon, 25 Jul 2005 10:55:37 +0000 (10:55 +0000)]
However, SLAPI_PLUGIN_VERSION is treated as an opaque type