]> git.sur5r.net Git - openldap/log
openldap
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

19 years agoSet SLAPI_REQUESTOR_ISROOT for internal operations
Luke Howard [Fri, 22 Jul 2005 05:14:42 +0000 (05:14 +0000)]
Set SLAPI_REQUESTOR_ISROOT for internal operations

19 years agoSupport for global ACL overlays, corresponding SLAPI support
Luke Howard [Fri, 22 Jul 2005 05:01:09 +0000 (05:01 +0000)]
Support for global ACL overlays, corresponding SLAPI support

19 years agoCleaner version of previous patch (keep operational attr code in backend.c)
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)

19 years agoMove backend_operational() implementation into frontend so global
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

19 years agoterminate function array in slapi_int_get_plugins()
Luke Howard [Fri, 22 Jul 2005 03:24:09 +0000 (03:24 +0000)]
terminate function array in slapi_int_get_plugins()

19 years agomore on leaks & small fixes to unparsing
Pierangelo Masarati [Fri, 22 Jul 2005 03:23:58 +0000 (03:23 +0000)]
more on leaks & small fixes to unparsing

19 years agonote an issue
Pierangelo Masarati [Fri, 22 Jul 2005 03:23:26 +0000 (03:23 +0000)]
note an issue

19 years agoSLAPI plugins are no longer global; global SLAPI plugins should be
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

19 years agoadd over_acl_group/over_acl_attribute
Luke Howard [Fri, 22 Jul 2005 03:05:41 +0000 (03:05 +0000)]
add over_acl_group/over_acl_attribute

19 years agofunction rename
Luke Howard [Fri, 22 Jul 2005 02:51:55 +0000 (02:51 +0000)]
function rename

19 years agofix back-ldap unparsing
Pierangelo Masarati [Fri, 22 Jul 2005 02:29:49 +0000 (02:29 +0000)]
fix back-ldap unparsing

19 years agodon't crash if no underlying database was initialized
Pierangelo Masarati [Fri, 22 Jul 2005 02:08:41 +0000 (02:08 +0000)]
don't crash if no underlying database was initialized

19 years agoFix prev commit
Howard Chu [Fri, 22 Jul 2005 01:53:19 +0000 (01:53 +0000)]
Fix prev commit

19 years agothe swap was intended; please see ITS#3876
Pierangelo Masarati [Fri, 22 Jul 2005 01:00:21 +0000 (01:00 +0000)]
the swap was intended; please see ITS#3876

19 years agoPlug more memleaks
Howard Chu [Thu, 21 Jul 2005 23:26:40 +0000 (23:26 +0000)]
Plug more memleaks

19 years agoPlug memleak in enum_tree
Howard Chu [Thu, 21 Jul 2005 21:59:35 +0000 (21:59 +0000)]
Plug memleak in enum_tree

19 years agoAdd config_back_db_close, free some structures
Howard Chu [Thu, 21 Jul 2005 21:27:37 +0000 (21:27 +0000)]
Add config_back_db_close, free some structures

19 years agoreally fix the invalid free issue (I totally overlooked this piece of code)
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)

19 years agoshould fix the invalid free issue
Pierangelo Masarati [Thu, 21 Jul 2005 19:14:09 +0000 (19:14 +0000)]
should fix the invalid free issue

19 years agodon't malloc when not required?
Pierangelo Masarati [Thu, 21 Jul 2005 19:10:16 +0000 (19:10 +0000)]
don't malloc when not required?

19 years agocleanup
Luke Howard [Thu, 21 Jul 2005 19:02:56 +0000 (19:02 +0000)]
cleanup

19 years agoFix typo
Luke Howard [Thu, 21 Jul 2005 18:58:49 +0000 (18:58 +0000)]
Fix typo

19 years agoattempt to fix invalid free
Pierangelo Masarati [Thu, 21 Jul 2005 18:17:58 +0000 (18:17 +0000)]
attempt to fix invalid free

19 years agomore cleanups
Luke Howard [Thu, 21 Jul 2005 18:17:57 +0000 (18:17 +0000)]
more cleanups

19 years agomore cleanups
Luke Howard [Thu, 21 Jul 2005 18:16:32 +0000 (18:16 +0000)]
more cleanups

19 years agoremove SLAPI cruft
Luke Howard [Thu, 21 Jul 2005 18:07:16 +0000 (18:07 +0000)]
remove SLAPI cruft

19 years agoFix some SLAPI bugs
Luke Howard [Thu, 21 Jul 2005 17:34:16 +0000 (17:34 +0000)]
Fix some SLAPI bugs

19 years agoAdd support for post-result SLAPI plugins
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

19 years agoMove most of SLAPI frontend into overlay
Luke Howard [Thu, 21 Jul 2005 16:35:20 +0000 (16:35 +0000)]
Move most of SLAPI frontend into overlay

19 years agocleanup
Pierangelo Masarati [Thu, 21 Jul 2005 14:27:31 +0000 (14:27 +0000)]
cleanup

19 years agoglue's enum conflicts with slap_operation_t
Pierangelo Masarati [Thu, 21 Jul 2005 14:23:49 +0000 (14:23 +0000)]
glue's enum conflicts with slap_operation_t

19 years agocondition SLAP_OVERLAY_ACCESS
Pierangelo Masarati [Thu, 21 Jul 2005 14:23:15 +0000 (14:23 +0000)]
condition SLAP_OVERLAY_ACCESS

19 years agomake sure we notice if this gets out of sync with slap_operation_e
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

19 years agoadd prototype for overlay_op_walk()
Luke Howard [Thu, 21 Jul 2005 13:35:59 +0000 (13:35 +0000)]
add prototype for overlay_op_walk()

19 years agoAdd overlay_op_walk()
Luke Howard [Thu, 21 Jul 2005 13:35:32 +0000 (13:35 +0000)]
Add overlay_op_walk()

19 years agoAdd slap_operation_t
Luke Howard [Thu, 21 Jul 2005 13:35:19 +0000 (13:35 +0000)]
Add slap_operation_t

19 years agoimprove messages
Pierangelo Masarati [Thu, 21 Jul 2005 08:54:04 +0000 (08:54 +0000)]
improve messages

19 years agokeep trying...
Pierangelo Masarati [Thu, 21 Jul 2005 08:53:42 +0000 (08:53 +0000)]
keep trying...

19 years agoSLAPI cleanups
Luke Howard [Thu, 21 Jul 2005 08:39:37 +0000 (08:39 +0000)]
SLAPI cleanups

19 years agoFactor out common code in SLAPI internal ops
Luke Howard [Thu, 21 Jul 2005 08:34:25 +0000 (08:34 +0000)]
Factor out common code in SLAPI internal ops
Allow internal operation pblock to forward connection/operation parameters

19 years agoEnable SLAPI pre-entry plugins (we really need to move SLAPI into an
Luke Howard [Thu, 21 Jul 2005 04:01:54 +0000 (04:01 +0000)]
Enable SLAPI pre-entry plugins (we really need to move SLAPI into an
overlay...)

19 years agomostly revert previous commit
Pierangelo Masarati [Wed, 20 Jul 2005 19:26:46 +0000 (19:26 +0000)]
mostly revert previous commit

19 years agoallow to unregister (and free) memory handling functions
Pierangelo Masarati [Wed, 20 Jul 2005 19:07:04 +0000 (19:07 +0000)]
allow to unregister (and free) memory handling functions

19 years agodestroy cache on exit
Pierangelo Masarati [Wed, 20 Jul 2005 14:59:56 +0000 (14:59 +0000)]
destroy cache on exit

19 years agofix uninitialized value use
Pierangelo Masarati [Wed, 20 Jul 2005 14:19:52 +0000 (14:19 +0000)]
fix uninitialized value use

19 years agoUnder some circumstances, port 9010 is already in use and may cause problems to refer...
Pierangelo Masarati [Wed, 20 Jul 2005 11:17:06 +0000 (11:17 +0000)]
Under some circumstances, port 9010 is already in use and may cause problems to referrals whose server is supposed to be unavailable

19 years agodrop stored procedures
Pierangelo Masarati [Wed, 20 Jul 2005 11:16:09 +0000 (11:16 +0000)]
drop stored procedures

19 years agoFix order of statements in SLAPI internal modrdn implementation
Luke Howard [Wed, 20 Jul 2005 08:19:22 +0000 (08:19 +0000)]
Fix order of statements in SLAPI internal modrdn implementation

19 years agoFix regression in SLAPI ACL plugins owing to accidental commit
Luke Howard [Wed, 20 Jul 2005 08:00:24 +0000 (08:00 +0000)]
Fix regression in SLAPI ACL plugins owing to accidental commit
Support ACL_WADD/ACL_WDEL in SLAPI ACL evaluation/plugins

19 years agoUnset intop callback parameters before they go out of scope
Luke Howard [Wed, 20 Jul 2005 04:24:02 +0000 (04:24 +0000)]
Unset intop callback parameters before they go out of scope

19 years agomore on deadlock/dangling pointers
Pierangelo Masarati [Wed, 20 Jul 2005 00:50:35 +0000 (00:50 +0000)]
more on deadlock/dangling pointers

19 years agoconnection_client leave c_peer_* fields NULL
Pierangelo Masarati [Wed, 20 Jul 2005 00:49:33 +0000 (00:49 +0000)]
connection_client leave c_peer_* fields NULL

19 years agofix arbitrary precision number display when no big number library is available
Pierangelo Masarati [Tue, 19 Jul 2005 21:56:15 +0000 (21:56 +0000)]
fix arbitrary precision number display when no big number library is available

19 years agouse appropriate format when no arbitrary precision library is available
Pierangelo Masarati [Tue, 19 Jul 2005 19:31:24 +0000 (19:31 +0000)]
use appropriate format when no arbitrary precision library is available

19 years agoimprove previous commit
Pierangelo Masarati [Tue, 19 Jul 2005 19:13:50 +0000 (19:13 +0000)]
improve previous commit

19 years agoSolaris doesn't like being passed NULL pointers to [vsf[n]]printf
Pierangelo Masarati [Tue, 19 Jul 2005 18:59:50 +0000 (18:59 +0000)]
Solaris doesn't like being passed NULL pointers to [vsf[n]]printf

19 years agofix previous commit
Pierangelo Masarati [Tue, 19 Jul 2005 18:03:06 +0000 (18:03 +0000)]
fix previous commit

19 years agoReenable pre-result plugins, these were supported in OpenLDAP 2.2
Luke Howard [Tue, 19 Jul 2005 15:39:25 +0000 (15:39 +0000)]
Reenable pre-result plugins, these were supported in OpenLDAP 2.2
Pre-entry and pre-referral plugins will be enabled after testing

19 years agoback out previous commit, fat fingers
Luke Howard [Tue, 19 Jul 2005 15:36:24 +0000 (15:36 +0000)]
back out previous commit, fat fingers

19 years agoresult.c
Luke Howard [Tue, 19 Jul 2005 15:35:00 +0000 (15:35 +0000)]
result.c

19 years agosync with slapd
Luke Howard [Tue, 19 Jul 2005 15:28:23 +0000 (15:28 +0000)]
sync with slapd

19 years agomore cleanup
Pierangelo Masarati [Tue, 19 Jul 2005 15:13:32 +0000 (15:13 +0000)]
more cleanup

19 years agoMemory cleanup
Pierangelo Masarati [Tue, 19 Jul 2005 14:39:43 +0000 (14:39 +0000)]
Memory cleanup

19 years agoObjectClass cleanup
Pierangelo Masarati [Tue, 19 Jul 2005 14:39:19 +0000 (14:39 +0000)]
ObjectClass cleanup

19 years agocleanup
Pierangelo Masarati [Tue, 19 Jul 2005 14:38:55 +0000 (14:38 +0000)]
cleanup

19 years agoAttributeType cleanup
Pierangelo Masarati [Tue, 19 Jul 2005 14:38:34 +0000 (14:38 +0000)]
AttributeType cleanup

19 years agofix previous commit (ITS#3871)
Pierangelo Masarati [Tue, 19 Jul 2005 14:25:10 +0000 (14:25 +0000)]
fix previous commit (ITS#3871)

19 years agomore about rewrite leaks
Pierangelo Masarati [Tue, 19 Jul 2005 14:24:26 +0000 (14:24 +0000)]
more about rewrite leaks

19 years agofix yet another leak
Pierangelo Masarati [Tue, 19 Jul 2005 11:16:24 +0000 (11:16 +0000)]
fix yet another leak

19 years agoAlways set sml_desc when converting from LDAPMods
Luke Howard [Tue, 19 Jul 2005 09:37:36 +0000 (09:37 +0000)]
Always set sml_desc when converting from LDAPMods

19 years agoCheck op->o_bd != NULL
Luke Howard [Tue, 19 Jul 2005 08:40:26 +0000 (08:40 +0000)]
Check op->o_bd != NULL

19 years agoFix callback API for cast safety
Luke Howard [Tue, 19 Jul 2005 08:39:56 +0000 (08:39 +0000)]
Fix callback API for cast safety
Copy controls returned by backend to pblock before they go out of scope

19 years agoFix pointer error in readback control
Luke Howard [Tue, 19 Jul 2005 08:39:05 +0000 (08:39 +0000)]
Fix pointer error in readback control

19 years agoAdd slap_parse_ctrl() API for parsing already decoded controls; needed
Luke Howard [Tue, 19 Jul 2005 08:38:46 +0000 (08:38 +0000)]
Add slap_parse_ctrl() API for parsing already decoded controls; needed
for SLAPI internal operations to use controls

19 years agoAdd slapi_x_filter_set_attribute_type() API
Luke Howard [Tue, 19 Jul 2005 06:55:56 +0000 (06:55 +0000)]
Add slapi_x_filter_set_attribute_type() API

19 years agoImplement more of SLAPI 5.x - all SLAPI internal operations now take pblocks
Luke Howard [Tue, 19 Jul 2005 06:48:45 +0000 (06:48 +0000)]
Implement more of SLAPI 5.x - all SLAPI internal operations now take pblocks
as the canonical argument (wrappers for old APIs are provided)

19 years agoAssociate global plugins with frontendDB
Luke Howard [Tue, 19 Jul 2005 06:47:43 +0000 (06:47 +0000)]
Associate global plugins with frontendDB
When unparsing plugin configuration, don't crash if no arguments
(dynamically registered plugins such as computed attributes don't
have arg vectors)

19 years agoSupport for pre-entry, pre-result, pre-referral SLAPI plugins (not
Luke Howard [Tue, 19 Jul 2005 06:46:53 +0000 (06:46 +0000)]
Support for pre-entry, pre-result, pre-referral SLAPI plugins (not
enabled yet; behind #ifdef notdef)

19 years agoGlobal plugins are now associated with frontendDB
Luke Howard [Tue, 19 Jul 2005 06:46:14 +0000 (06:46 +0000)]
Global plugins are now associated with frontendDB