]> git.sur5r.net Git - openldap/log
openldap
19 years agomore table-driven config cleanup
Pierangelo Masarati [Fri, 29 Jul 2005 01:00:48 +0000 (01:00 +0000)]
more table-driven config cleanup

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

19 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)

19 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

19 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()

19 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

19 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

19 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

19 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)

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

19 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

19 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()

19 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.

19 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

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

19 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()

19 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

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

19 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

19 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)

19 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

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

19 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

19 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

19 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

19 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.

19 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

19 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)

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

19 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

19 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

19 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)

19 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*

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

19 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*.

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

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

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

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

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

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

19 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)

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

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

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

19 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

19 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

19 years agoHeads up: fix for SLAPI compliance: when calling slapi_pblock_set() with
Luke Howard [Mon, 25 Jul 2005 10:53:45 +0000 (10:53 +0000)]
Heads up: fix for SLAPI compliance: when calling slapi_pblock_set() with
an integer or long integer parameter, the value argument is a pointer to
the integeral value rather than the value itself.

19 years agoUse SLAPI_LOG_OPERATION instead of private flag
Luke Howard [Mon, 25 Jul 2005 10:24:02 +0000 (10:24 +0000)]
Use SLAPI_LOG_OPERATION instead of private flag

19 years agoEven more SLAPI cleanups
Luke Howard [Mon, 25 Jul 2005 10:10:58 +0000 (10:10 +0000)]
Even more SLAPI cleanups

19 years agomore SLAPI cleanups
Luke Howard [Mon, 25 Jul 2005 10:06:03 +0000 (10:06 +0000)]
more SLAPI cleanups

19 years agoMore SLAPI cleanups
Luke Howard [Mon, 25 Jul 2005 09:54:13 +0000 (09:54 +0000)]
More SLAPI cleanups

19 years agoFix pblock_delete_param(), this function never worked
Luke Howard [Mon, 25 Jul 2005 05:38:31 +0000 (05:38 +0000)]
Fix pblock_delete_param(), this function never worked

19 years agouse slapi_pblock_delete_param()
Luke Howard [Mon, 25 Jul 2005 05:03:09 +0000 (05:03 +0000)]
use slapi_pblock_delete_param()

19 years agoCareful not to disturb result codes
Luke Howard [Mon, 25 Jul 2005 04:43:07 +0000 (04:43 +0000)]
Careful not to disturb result codes

19 years agoplug leak
Luke Howard [Mon, 25 Jul 2005 04:39:58 +0000 (04:39 +0000)]
plug leak

19 years agoDon't discard plugin status code
Luke Howard [Mon, 25 Jul 2005 04:31:16 +0000 (04:31 +0000)]
Don't discard plugin status code

19 years agoMake slapi_pblock directly overlaid on operation/connection/slapreply
Luke Howard [Mon, 25 Jul 2005 04:19:33 +0000 (04:19 +0000)]
Make slapi_pblock directly overlaid on operation/connection/slapreply
structures

This removes a lot of copying. It's still a bit tricky where the internal
slapd data types are different to those exposed via SLAPI (eg. modifications)
or the internal values are not allocated on the heap (eg. controls). Some
copying is necessary in these cases.

19 years ago(yet) another potential concurrency issue
Pierangelo Masarati [Sat, 23 Jul 2005 22:04:04 +0000 (22:04 +0000)]
(yet) another potential concurrency issue

19 years agothere might definitely be concurrency issues, but it's not pooled connections' fault
Pierangelo Masarati [Sat, 23 Jul 2005 22:03:35 +0000 (22:03 +0000)]
there might definitely be concurrency issues, but it's not pooled connections' fault

19 years ago(mostly) reverting previous commit (overconservative)
Pierangelo Masarati [Sat, 23 Jul 2005 22:02:12 +0000 (22:02 +0000)]
(mostly) reverting previous commit (overconservative)

19 years agostrengthen concurrency protection
Pierangelo Masarati [Sat, 23 Jul 2005 19:39:51 +0000 (19:39 +0000)]
strengthen concurrency protection

19 years agoreverse logic (chasing a dangling pointer...)
Pierangelo Masarati [Sat, 23 Jul 2005 19:38:57 +0000 (19:38 +0000)]
reverse logic (chasing a dangling pointer...)

19 years agocleanup
Pierangelo Masarati [Sat, 23 Jul 2005 19:16:50 +0000 (19:16 +0000)]
cleanup

19 years agosame for overlays; fix typo ("Overlays" instead of "Overlay" in parent entry)
Pierangelo Masarati [Sat, 23 Jul 2005 15:55:29 +0000 (15:55 +0000)]
same for overlays; fix typo ("Overlays" instead of "Overlay" in parent entry)

19 years agoadd back-config suppor to back-monitor; advertize what backends provide back-config...
Pierangelo Masarati [Sat, 23 Jul 2005 15:29:16 +0000 (15:29 +0000)]
add back-config suppor to back-monitor; advertize what backends provide back-config support; HEADS-UP: changed monitor OIDs (reflected in OID repository)

19 years agomore slapi cleanup
Luke Howard [Sat, 23 Jul 2005 13:21:28 +0000 (13:21 +0000)]
more slapi cleanup

19 years agoupdate for new backend types
Luke Howard [Sat, 23 Jul 2005 13:14:13 +0000 (13:14 +0000)]
update for new backend types

19 years agoCleanup of SLAPI internal operation code; use frontendDB rather than
Luke Howard [Sat, 23 Jul 2005 12:03:13 +0000 (12:03 +0000)]
Cleanup of SLAPI internal operation code; use frontendDB rather than
duplicating frontend code, and o->o_callback rather than overriding
entry send clalbacks.

Support for SLAPI internal operation plugins.

19 years agoAllow sml_desc to be set by caller in slap_mods_check()
Luke Howard [Sat, 23 Jul 2005 12:00:52 +0000 (12:00 +0000)]
Allow sml_desc to be set by caller in slap_mods_check()

19 years agoset o_callback to NULL for read entry callback, avoids crash in replog callback
Luke Howard [Sat, 23 Jul 2005 11:55:09 +0000 (11:55 +0000)]
set o_callback to NULL for read entry callback, avoids crash in replog callback

19 years agoadd infrastructure to register verbmasks; allow to register loglevels programmaticall...
Pierangelo Masarati [Sat, 23 Jul 2005 11:32:10 +0000 (11:32 +0000)]
add infrastructure to register verbmasks; allow to register loglevels programmatically; cleanup glue protos

19 years agofix previous commit (see NOTE and FIXMEs)
Pierangelo Masarati [Sat, 23 Jul 2005 10:29:40 +0000 (10:29 +0000)]
fix previous commit (see NOTE and FIXMEs)

19 years agonote that not all backends and overlays support runtime configuration (I guess we...
Pierangelo Masarati [Sat, 23 Jul 2005 10:15:05 +0000 (10:15 +0000)]
note that not all backends and overlays support runtime configuration (I guess we should list which do; what about noting it in the monitor backend?)

19 years agoAdd fe_access_allowed(), should allow global ACL overlays to work
Luke Howard [Sat, 23 Jul 2005 04:18:48 +0000 (04:18 +0000)]
Add fe_access_allowed(), should allow global ACL overlays to work

19 years agobackout previous commit: frontendDB doesn't have the right rootn, ACLs and so
Pierangelo Masarati [Fri, 22 Jul 2005 17:22:51 +0000 (17:22 +0000)]
backout previous commit: frontendDB doesn't have the right rootn, ACLs and so

19 years agorenamed slapi_int_init_connection => slapi_int_connection_init for consistency; blind...
Pierangelo Masarati [Fri, 22 Jul 2005 16:57:20 +0000 (16:57 +0000)]
renamed slapi_int_init_connection => slapi_int_connection_init for consistency; blind fix to ITS#3879

19 years agoexit the loop at some point (ITS#3878)
Pierangelo Masarati [Fri, 22 Jul 2005 16:37:20 +0000 (16:37 +0000)]
exit the loop at some point (ITS#3878)

19 years agoassert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL).
Hallvard Furuseth [Fri, 22 Jul 2005 14:35:16 +0000 (14:35 +0000)]
assert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL).

19 years agors->sr_flags should be saved in variables of type slap_mask_t, not int.
Hallvard Furuseth [Fri, 22 Jul 2005 13:28:49 +0000 (13:28 +0000)]
rs->sr_flags should be saved in variables of type slap_mask_t, not int.

19 years agoCast LDAP_BOOL value to LDAP_BOOLEANS; it could only use flags fitting in int.
Hallvard Furuseth [Fri, 22 Jul 2005 13:24:47 +0000 (13:24 +0000)]
Cast LDAP_BOOL value to LDAP_BOOLEANS; it could only use flags fitting in int.

19 years ago'#if 0' out variables used only in #if 0. Fix '#if 0'-ed out counting loops.
Hallvard Furuseth [Fri, 22 Jul 2005 13:21:10 +0000 (13:21 +0000)]
'#if 0' out variables used only in #if 0.  Fix '#if 0'-ed out counting loops.

19 years agoRemove unused variables.
Hallvard Furuseth [Fri, 22 Jul 2005 13:18:28 +0000 (13:18 +0000)]
Remove unused variables.

19 years agoremove redundant variable
Luke Howard [Fri, 22 Jul 2005 09:40:22 +0000 (09:40 +0000)]
remove redundant variable

19 years agoRemove redundant ACL check in operational attributes overlay
Luke Howard [Fri, 22 Jul 2005 09:39:36 +0000 (09:39 +0000)]
Remove redundant ACL check in operational attributes overlay

19 years agoFix error in last commit
Luke Howard [Fri, 22 Jul 2005 09:39:26 +0000 (09:39 +0000)]
Fix error in last commit

19 years agoCleanup SLAPI headers
Luke Howard [Fri, 22 Jul 2005 09:35:27 +0000 (09:35 +0000)]
Cleanup SLAPI headers

19 years agoSLAPI cleanup
Luke Howard [Fri, 22 Jul 2005 09:35:17 +0000 (09:35 +0000)]
SLAPI cleanup

19 years agoDo not cache group evaluation if result is SLAP_CB_CONTINUE
Luke Howard [Fri, 22 Jul 2005 08:27:51 +0000 (08:27 +0000)]
Do not cache group evaluation if result is SLAP_CB_CONTINUE

19 years agoFix bug in control merging (this probably still isn't right...)
Luke Howard [Fri, 22 Jul 2005 08:26:20 +0000 (08:26 +0000)]
Fix bug in control merging (this probably still isn't right...)

19 years agoAdd caching to slapi_over_acl_group(); performance is terrible otherwise
Luke Howard [Fri, 22 Jul 2005 08:23:33 +0000 (08:23 +0000)]
Add caching to slapi_over_acl_group(); performance is terrible otherwise

19 years agoDon't fail if no group plugins
Luke Howard [Fri, 22 Jul 2005 07:55:45 +0000 (07:55 +0000)]
Don't fail if no group plugins

19 years agoRemove SLAPI pblock from operation structure
Luke Howard [Fri, 22 Jul 2005 07:54:17 +0000 (07:54 +0000)]
Remove SLAPI pblock from operation structure

19 years agomore cleanups
Luke Howard [Fri, 22 Jul 2005 06:46:07 +0000 (06:46 +0000)]
more cleanups

19 years agocleanup SLAPI overlay
Luke Howard [Fri, 22 Jul 2005 06:24:39 +0000 (06:24 +0000)]
cleanup SLAPI overlay

19 years agoFix dangling mutex in SLAPI bind preop handler
Luke Howard [Fri, 22 Jul 2005 06:16:03 +0000 (06:16 +0000)]
Fix dangling mutex in SLAPI bind preop handler

19 years agoEnsure backend is set before calling send_ldap_extended();
Luke Howard [Fri, 22 Jul 2005 05:49:55 +0000 (05:49 +0000)]
Ensure backend is set before calling send_ldap_extended();
whoami was crashing for anonymous clients

19 years agofix error in previous commit
Luke Howard [Fri, 22 Jul 2005 05:38:32 +0000 (05:38 +0000)]
fix error in previous commit

19 years agoMore use of SLAPI accessor macros
Luke Howard [Fri, 22 Jul 2005 05:33:47 +0000 (05:33 +0000)]
More use of SLAPI accessor macros

19 years agoUse accessor macros for SLAPI parameter blocks, should make it
Luke Howard [Fri, 22 Jul 2005 05:26:15 +0000 (05:26 +0000)]
Use accessor macros for SLAPI parameter blocks, should make it
easier to move into overlay private data