]>
git.sur5r.net Git - openldap/log
Pierangelo Masarati [Mon, 25 Jul 2005 20:47:01 +0000 (20:47 +0000)]
cleanup
Pierangelo Masarati [Mon, 25 Jul 2005 20:46:38 +0000 (20:46 +0000)]
silence warnings
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)
Luke Howard [Mon, 25 Jul 2005 13:19:38 +0000 (13:19 +0000)]
Fix ITS#3882
Luke Howard [Mon, 25 Jul 2005 13:17:15 +0000 (13:17 +0000)]
more cleanups
Luke Howard [Mon, 25 Jul 2005 11:25:12 +0000 (11:25 +0000)]
Sync with slapd
Luke Howard [Mon, 25 Jul 2005 11:13:15 +0000 (11:13 +0000)]
Harmonize Slapi_PBlock field nomenclature with rest of slapd
Luke Howard [Mon, 25 Jul 2005 10:55:37 +0000 (10:55 +0000)]
However, SLAPI_PLUGIN_VERSION is treated as an opaque type
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.
Luke Howard [Mon, 25 Jul 2005 10:24:02 +0000 (10:24 +0000)]
Use SLAPI_LOG_OPERATION instead of private flag
Luke Howard [Mon, 25 Jul 2005 10:10:58 +0000 (10:10 +0000)]
Even more SLAPI cleanups
Luke Howard [Mon, 25 Jul 2005 10:06:03 +0000 (10:06 +0000)]
more SLAPI cleanups
Luke Howard [Mon, 25 Jul 2005 09:54:13 +0000 (09:54 +0000)]
More SLAPI cleanups
Luke Howard [Mon, 25 Jul 2005 05:38:31 +0000 (05:38 +0000)]
Fix pblock_delete_param(), this function never worked
Luke Howard [Mon, 25 Jul 2005 05:03:09 +0000 (05:03 +0000)]
use slapi_pblock_delete_param()
Luke Howard [Mon, 25 Jul 2005 04:43:07 +0000 (04:43 +0000)]
Careful not to disturb result codes
Luke Howard [Mon, 25 Jul 2005 04:39:58 +0000 (04:39 +0000)]
plug leak
Luke Howard [Mon, 25 Jul 2005 04:31:16 +0000 (04:31 +0000)]
Don't discard plugin status code
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.
Pierangelo Masarati [Sat, 23 Jul 2005 22:04:04 +0000 (22:04 +0000)]
(yet) another potential concurrency issue
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
Pierangelo Masarati [Sat, 23 Jul 2005 22:02:12 +0000 (22:02 +0000)]
(mostly) reverting previous commit (overconservative)
Pierangelo Masarati [Sat, 23 Jul 2005 19:39:51 +0000 (19:39 +0000)]
strengthen concurrency protection
Pierangelo Masarati [Sat, 23 Jul 2005 19:38:57 +0000 (19:38 +0000)]
reverse logic (chasing a dangling pointer...)
Pierangelo Masarati [Sat, 23 Jul 2005 19:16:50 +0000 (19:16 +0000)]
cleanup
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)
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)
Luke Howard [Sat, 23 Jul 2005 13:21:28 +0000 (13:21 +0000)]
more slapi cleanup
Luke Howard [Sat, 23 Jul 2005 13:14:13 +0000 (13:14 +0000)]
update for new backend types
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.
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()
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
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
Pierangelo Masarati [Sat, 23 Jul 2005 10:29:40 +0000 (10:29 +0000)]
fix previous commit (see NOTE and FIXMEs)
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?)
Luke Howard [Sat, 23 Jul 2005 04:18:48 +0000 (04:18 +0000)]
Add fe_access_allowed(), should allow global ACL overlays to work
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
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
Pierangelo Masarati [Fri, 22 Jul 2005 16:37:20 +0000 (16:37 +0000)]
exit the loop at some point (ITS#3878)
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).
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.
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.
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.
Hallvard Furuseth [Fri, 22 Jul 2005 13:18:28 +0000 (13:18 +0000)]
Remove unused variables.
Luke Howard [Fri, 22 Jul 2005 09:40:22 +0000 (09:40 +0000)]
remove redundant variable
Luke Howard [Fri, 22 Jul 2005 09:39:36 +0000 (09:39 +0000)]
Remove redundant ACL check in operational attributes overlay
Luke Howard [Fri, 22 Jul 2005 09:39:26 +0000 (09:39 +0000)]
Fix error in last commit
Luke Howard [Fri, 22 Jul 2005 09:35:27 +0000 (09:35 +0000)]
Cleanup SLAPI headers
Luke Howard [Fri, 22 Jul 2005 09:35:17 +0000 (09:35 +0000)]
SLAPI cleanup
Luke Howard [Fri, 22 Jul 2005 08:27:51 +0000 (08:27 +0000)]
Do not cache group evaluation if result is SLAP_CB_CONTINUE
Luke Howard [Fri, 22 Jul 2005 08:26:20 +0000 (08:26 +0000)]
Fix bug in control merging (this probably still isn't right...)
Luke Howard [Fri, 22 Jul 2005 08:23:33 +0000 (08:23 +0000)]
Add caching to slapi_over_acl_group(); performance is terrible otherwise
Luke Howard [Fri, 22 Jul 2005 07:55:45 +0000 (07:55 +0000)]
Don't fail if no group plugins
Luke Howard [Fri, 22 Jul 2005 07:54:17 +0000 (07:54 +0000)]
Remove SLAPI pblock from operation structure
Luke Howard [Fri, 22 Jul 2005 06:46:07 +0000 (06:46 +0000)]
more cleanups
Luke Howard [Fri, 22 Jul 2005 06:24:39 +0000 (06:24 +0000)]
cleanup SLAPI overlay
Luke Howard [Fri, 22 Jul 2005 06:16:03 +0000 (06:16 +0000)]
Fix dangling mutex in SLAPI bind preop handler
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
Luke Howard [Fri, 22 Jul 2005 05:38:32 +0000 (05:38 +0000)]
fix error in previous commit
Luke Howard [Fri, 22 Jul 2005 05:33:47 +0000 (05:33 +0000)]
More use of SLAPI accessor macros
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
Luke Howard [Fri, 22 Jul 2005 05:14:42 +0000 (05:14 +0000)]
Set SLAPI_REQUESTOR_ISROOT for internal operations
Luke Howard [Fri, 22 Jul 2005 05:01:09 +0000 (05:01 +0000)]
Support for global ACL overlays, corresponding SLAPI support
Luke Howard [Fri, 22 Jul 2005 03:44:04 +0000 (03:44 +0000)]
Cleaner version of previous patch (keep operational attr code in backend.c)
Luke Howard [Fri, 22 Jul 2005 03:40:06 +0000 (03:40 +0000)]
Move backend_operational() implementation into frontend so global
overlays can be called
Luke Howard [Fri, 22 Jul 2005 03:24:09 +0000 (03:24 +0000)]
terminate function array in slapi_int_get_plugins()
Pierangelo Masarati [Fri, 22 Jul 2005 03:23:58 +0000 (03:23 +0000)]
more on leaks & small fixes to unparsing
Pierangelo Masarati [Fri, 22 Jul 2005 03:23:26 +0000 (03:23 +0000)]
note an issue
Luke Howard [Fri, 22 Jul 2005 03:17:36 +0000 (03:17 +0000)]
SLAPI plugins are no longer global; global SLAPI plugins should be
associated with the frontend
Luke Howard [Fri, 22 Jul 2005 03:05:41 +0000 (03:05 +0000)]
add over_acl_group/over_acl_attribute
Luke Howard [Fri, 22 Jul 2005 02:51:55 +0000 (02:51 +0000)]
function rename
Pierangelo Masarati [Fri, 22 Jul 2005 02:29:49 +0000 (02:29 +0000)]
fix back-ldap unparsing
Pierangelo Masarati [Fri, 22 Jul 2005 02:08:41 +0000 (02:08 +0000)]
don't crash if no underlying database was initialized
Howard Chu [Fri, 22 Jul 2005 01:53:19 +0000 (01:53 +0000)]
Fix prev commit
Pierangelo Masarati [Fri, 22 Jul 2005 01:00:21 +0000 (01:00 +0000)]
the swap was intended; please see ITS#3876
Howard Chu [Thu, 21 Jul 2005 23:26:40 +0000 (23:26 +0000)]
Plug more memleaks
Howard Chu [Thu, 21 Jul 2005 21:59:35 +0000 (21:59 +0000)]
Plug memleak in enum_tree
Howard Chu [Thu, 21 Jul 2005 21:27:37 +0000 (21:27 +0000)]
Add config_back_db_close, free some structures
Pierangelo Masarati [Thu, 21 Jul 2005 20:23:47 +0000 (20:23 +0000)]
really fix the invalid free issue (I totally overlooked this piece of code)
Pierangelo Masarati [Thu, 21 Jul 2005 19:14:09 +0000 (19:14 +0000)]
should fix the invalid free issue
Pierangelo Masarati [Thu, 21 Jul 2005 19:10:16 +0000 (19:10 +0000)]
don't malloc when not required?
Luke Howard [Thu, 21 Jul 2005 19:02:56 +0000 (19:02 +0000)]
cleanup
Luke Howard [Thu, 21 Jul 2005 18:58:49 +0000 (18:58 +0000)]
Fix typo
Pierangelo Masarati [Thu, 21 Jul 2005 18:17:58 +0000 (18:17 +0000)]
attempt to fix invalid free
Luke Howard [Thu, 21 Jul 2005 18:17:57 +0000 (18:17 +0000)]
more cleanups
Luke Howard [Thu, 21 Jul 2005 18:16:32 +0000 (18:16 +0000)]
more cleanups
Luke Howard [Thu, 21 Jul 2005 18:07:16 +0000 (18:07 +0000)]
remove SLAPI cruft
Luke Howard [Thu, 21 Jul 2005 17:34:16 +0000 (17:34 +0000)]
Fix some SLAPI bugs
Luke Howard [Thu, 21 Jul 2005 17:15:44 +0000 (17:15 +0000)]
Add support for post-result SLAPI plugins
Use overlay_op_walk again - needed to match 2.2 SLAPI behaviour
Luke Howard [Thu, 21 Jul 2005 16:35:20 +0000 (16:35 +0000)]
Move most of SLAPI frontend into overlay
Pierangelo Masarati [Thu, 21 Jul 2005 14:27:31 +0000 (14:27 +0000)]
cleanup
Pierangelo Masarati [Thu, 21 Jul 2005 14:23:49 +0000 (14:23 +0000)]
glue's enum conflicts with slap_operation_t
Pierangelo Masarati [Thu, 21 Jul 2005 14:23:15 +0000 (14:23 +0000)]
condition SLAP_OVERLAY_ACCESS
Pierangelo Masarati [Thu, 21 Jul 2005 14:13:57 +0000 (14:13 +0000)]
make sure we notice if this gets out of sync with slap_operation_e
Luke Howard [Thu, 21 Jul 2005 13:35:59 +0000 (13:35 +0000)]
add prototype for overlay_op_walk()
Luke Howard [Thu, 21 Jul 2005 13:35:32 +0000 (13:35 +0000)]
Add overlay_op_walk()
Luke Howard [Thu, 21 Jul 2005 13:35:19 +0000 (13:35 +0000)]
Add slap_operation_t
Pierangelo Masarati [Thu, 21 Jul 2005 08:54:04 +0000 (08:54 +0000)]
improve messages
Pierangelo Masarati [Thu, 21 Jul 2005 08:53:42 +0000 (08:53 +0000)]
keep trying...
Luke Howard [Thu, 21 Jul 2005 08:39:37 +0000 (08:39 +0000)]
SLAPI cleanups