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

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

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

18 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

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

18 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

18 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

18 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

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

18 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

18 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

18 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

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

18 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

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

18 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

18 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

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

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

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

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

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

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

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

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

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

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

18 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

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

18 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

18 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

18 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

18 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

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

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

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

18 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

18 years agoThe order of uidNumber and gidNumber was swapped in revision 1.331,
Luke Howard [Tue, 19 Jul 2005 06:45:57 +0000 (06:45 +0000)]
The order of uidNumber and gidNumber was swapped in revision 1.331,
which breaks existing ACLs. This patch restores the old behaviour.

18 years agoassert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL).
Hallvard Furuseth [Tue, 19 Jul 2005 05:03:12 +0000 (05:03 +0000)]
assert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL).

18 years agoFix bdb_tool_dn2id_get() - nobody should be calling bdb_dn2id() directly,
Howard Chu [Tue, 19 Jul 2005 02:12:34 +0000 (02:12 +0000)]
Fix bdb_tool_dn2id_get() - nobody should be calling bdb_dn2id() directly,
always call through the cache instead - bdb_cache_find_ndn().

18 years agoFix another crasher if parent is NULL
Luke Howard [Tue, 19 Jul 2005 01:37:48 +0000 (01:37 +0000)]
Fix another crasher if parent is NULL

18 years agoFix crasher in hdb_dn2id() when parent is NULL
Luke Howard [Tue, 19 Jul 2005 01:32:29 +0000 (01:32 +0000)]
Fix crasher in hdb_dn2id() when parent is NULL

18 years agoimplement per-target, per-operation timeouts
Pierangelo Masarati [Tue, 19 Jul 2005 00:43:38 +0000 (00:43 +0000)]
implement per-target, per-operation timeouts

18 years agodocument new timeout feature; improve existing stuff
Pierangelo Masarati [Tue, 19 Jul 2005 00:42:32 +0000 (00:42 +0000)]
document new timeout feature; improve existing stuff

18 years agotrim unused (wrong) code
Pierangelo Masarati [Tue, 19 Jul 2005 00:30:34 +0000 (00:30 +0000)]
trim unused (wrong) code

18 years agoreword the description of listener permissions
Pierangelo Masarati [Tue, 19 Jul 2005 00:29:52 +0000 (00:29 +0000)]
reword the description of listener permissions

18 years agofix ITS#3862
Pierangelo Masarati [Mon, 18 Jul 2005 21:32:31 +0000 (21:32 +0000)]
fix ITS#3862

18 years agoprovide a useful example
Pierangelo Masarati [Mon, 18 Jul 2005 17:24:07 +0000 (17:24 +0000)]
provide a useful example

18 years agoFix for previous commit
Luke Howard [Mon, 18 Jul 2005 14:11:55 +0000 (14:11 +0000)]
Fix for previous commit

18 years agoFix pointer error
Luke Howard [Mon, 18 Jul 2005 14:09:47 +0000 (14:09 +0000)]
Fix pointer error

18 years agoAdd userPassword protection to example.
Hallvard Furuseth [Mon, 18 Jul 2005 14:07:57 +0000 (14:07 +0000)]
Add userPassword protection to example.

18 years agoAdd OVERLAYS section
Hallvard Furuseth [Mon, 18 Jul 2005 14:03:35 +0000 (14:03 +0000)]
Add OVERLAYS section

18 years agoNote that the overlay is experimental (copied from slapd-relay.5).
Hallvard Furuseth [Mon, 18 Jul 2005 11:44:16 +0000 (11:44 +0000)]
Note that the overlay is experimental (copied from slapd-relay.5).

18 years agoNote that relay backend is experimental (copied from slapd-relay.5).
Hallvard Furuseth [Mon, 18 Jul 2005 11:40:54 +0000 (11:40 +0000)]
Note that relay backend is experimental (copied from slapd-relay.5).

18 years agoAdd slapd-hdb
Hallvard Furuseth [Mon, 18 Jul 2005 11:14:39 +0000 (11:14 +0000)]
Add slapd-hdb

18 years agoAdd prototypes and pblock paramaters for more compat APIs
Luke Howard [Mon, 18 Jul 2005 09:23:06 +0000 (09:23 +0000)]
Add prototypes and pblock paramaters for more compat APIs

18 years agoFix format arg to "overlay...configuration failed" message
Hallvard Furuseth [Mon, 18 Jul 2005 08:30:33 +0000 (08:30 +0000)]
Fix format arg to "overlay...configuration failed" message

18 years agoRemove spurious snprintf(..., "<%s> cannot be deleted") lacking a format arg
Hallvard Furuseth [Mon, 18 Jul 2005 08:28:25 +0000 (08:28 +0000)]
Remove spurious snprintf(..., "<%s> cannot be deleted") lacking a format arg

18 years agoDelete unused variable.
Hallvard Furuseth [Mon, 18 Jul 2005 06:30:47 +0000 (06:30 +0000)]
Delete unused variable.

18 years agosend_ldap_controls() returns int, so fix return LBER_ERROR to -1.
Hallvard Furuseth [Mon, 18 Jul 2005 06:28:28 +0000 (06:28 +0000)]
send_ldap_controls() returns int, so fix return LBER_ERROR to -1.

18 years agoassert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL).
Hallvard Furuseth [Mon, 18 Jul 2005 06:22:33 +0000 (06:22 +0000)]
assert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL).

18 years agoFix cast in BDB_ID2DISK(): unsigned char *_p ... = (char *)...;
Hallvard Furuseth [Mon, 18 Jul 2005 05:58:43 +0000 (05:58 +0000)]
Fix cast in BDB_ID2DISK(): unsigned char *_p ... = (char *)...;

18 years agoMake ConfigArgs.lineno int like elsewhere instead of unsigned long
Hallvard Furuseth [Mon, 18 Jul 2005 05:48:21 +0000 (05:48 +0000)]
Make ConfigArgs.lineno int like elsewhere instead of unsigned long

18 years agoDelete unused variables
Hallvard Furuseth [Mon, 18 Jul 2005 05:34:04 +0000 (05:34 +0000)]
Delete unused variables

18 years agoAdd missing "static" for functions declared static but defined non-static
Hallvard Furuseth [Mon, 18 Jul 2005 05:14:41 +0000 (05:14 +0000)]
Add missing "static" for functions declared static but defined non-static

18 years agostrip_cav_tag() should return ber_tag_t, not int
Hallvard Furuseth [Mon, 18 Jul 2005 05:11:11 +0000 (05:11 +0000)]
strip_cav_tag() should return ber_tag_t, not int

18 years ago#include <ldif.h> for ldif_must_b64_encode_*()
Hallvard Furuseth [Mon, 18 Jul 2005 05:08:57 +0000 (05:08 +0000)]
#include <ldif.h> for ldif_must_b64_encode_*()

18 years agosize_t peercredlen -> socklen_t peercredlen in #if defined(SO_PEERCRED)
Hallvard Furuseth [Mon, 18 Jul 2005 04:42:28 +0000 (04:42 +0000)]
size_t peercredlen -> socklen_t peercredlen in #if defined(SO_PEERCRED)

18 years agorefresh list of known overlays
Pierangelo Masarati [Sun, 17 Jul 2005 22:44:39 +0000 (22:44 +0000)]
refresh list of known overlays

18 years agofix some unclean unlock issues; fix potential leaks
Pierangelo Masarati [Sun, 17 Jul 2005 22:19:20 +0000 (22:19 +0000)]
fix some unclean unlock issues; fix potential leaks

18 years agofix generated connection entries
Pierangelo Masarati [Sun, 17 Jul 2005 22:18:45 +0000 (22:18 +0000)]
fix generated connection entries

18 years agoadd an "OBSOLETED DIRECTIVES" section and list "subordinate"
Pierangelo Masarati [Sun, 17 Jul 2005 22:17:16 +0000 (22:17 +0000)]
add an "OBSOLETED DIRECTIVES" section and list "subordinate"

18 years agoRemove spurious printf argument
Hallvard Furuseth [Sun, 17 Jul 2005 12:17:54 +0000 (12:17 +0000)]
Remove spurious printf argument

18 years agorc in glue_tool_entry_put() is an int, not NOID (unsigned long).
Hallvard Furuseth [Sun, 17 Jul 2005 12:14:42 +0000 (12:14 +0000)]
rc in glue_tool_entry_put() is an int, not NOID (unsigned long).

18 years agobvlist *list was updated through the wrong type.
Hallvard Furuseth [Sun, 17 Jul 2005 12:08:32 +0000 (12:08 +0000)]
bvlist *list was updated through the wrong type.

18 years agoDeclare ldap_back_init_cf().
Hallvard Furuseth [Sun, 17 Jul 2005 12:06:09 +0000 (12:06 +0000)]
Declare ldap_back_init_cf().

18 years agoRemove spurious fprintf arguments
Hallvard Furuseth [Sun, 17 Jul 2005 11:55:34 +0000 (11:55 +0000)]
Remove spurious fprintf arguments

18 years agoRemove unused type: struct token
Hallvard Furuseth [Sun, 17 Jul 2005 11:53:35 +0000 (11:53 +0000)]
Remove unused type: struct token

18 years agoRemove spurious cvalue=NULL printf argument.
Hallvard Furuseth [Sun, 17 Jul 2005 11:49:27 +0000 (11:49 +0000)]
Remove spurious cvalue=NULL printf argument.

18 years agoFix typo: Scope "base" was only matched properly on 32-bit hosts.
Hallvard Furuseth [Sun, 17 Jul 2005 11:47:00 +0000 (11:47 +0000)]
Fix typo: Scope "base" was only matched properly on 32-bit hosts.

18 years agoAdd an example. Note that glued databases should usually have the same indexes.
Hallvard Furuseth [Sun, 17 Jul 2005 02:24:46 +0000 (02:24 +0000)]
Add an example.  Note that glued databases should usually have the same indexes.

18 years agotrim (long ago) unused files
Pierangelo Masarati [Sat, 16 Jul 2005 16:06:34 +0000 (16:06 +0000)]
trim (long ago) unused files

18 years agomark leak
Pierangelo Masarati [Sat, 16 Jul 2005 15:41:39 +0000 (15:41 +0000)]
mark leak

18 years agofix leak
Pierangelo Masarati [Sat, 16 Jul 2005 15:40:14 +0000 (15:40 +0000)]
fix leak

18 years agosome (stupid) editors complain because 'new' is a reserved word in C++
Pierangelo Masarati [Sat, 16 Jul 2005 15:38:33 +0000 (15:38 +0000)]
some (stupid) editors complain because 'new' is a reserved word in C++

18 years agoparanoid check
Pierangelo Masarati [Sat, 16 Jul 2005 15:37:01 +0000 (15:37 +0000)]
paranoid check

18 years agofix typo
Pierangelo Masarati [Sat, 16 Jul 2005 15:36:29 +0000 (15:36 +0000)]
fix typo

18 years agomove to attic...
Pierangelo Masarati [Fri, 15 Jul 2005 16:22:21 +0000 (16:22 +0000)]
move to attic...

18 years agoimprove diagnostics when configuring suffix for special databases
Pierangelo Masarati [Fri, 15 Jul 2005 16:21:15 +0000 (16:21 +0000)]
improve diagnostics when configuring suffix for special databases

18 years agoapply (a modified version of) ITS#3822 patch
Pierangelo Masarati [Fri, 15 Jul 2005 15:46:30 +0000 (15:46 +0000)]
apply (a modified version of) ITS#3822 patch

18 years agorefresh info about supported backends (added config, ldif; trimmed tcl) addresses...
Pierangelo Masarati [Fri, 15 Jul 2005 15:35:26 +0000 (15:35 +0000)]
refresh info about supported backends (added config, ldif; trimmed tcl) addresses ITS#3866

18 years agoITS#3841 fix test in rev 1.220
Howard Chu [Fri, 15 Jul 2005 01:17:35 +0000 (01:17 +0000)]
ITS#3841 fix test in rev 1.220

18 years agofix memory leak (ITS#3862)
Pierangelo Masarati [Fri, 15 Jul 2005 01:08:34 +0000 (01:08 +0000)]
fix memory leak (ITS#3862)

18 years agobe liberal: accept empty oid lists
Pierangelo Masarati [Fri, 15 Jul 2005 00:46:30 +0000 (00:46 +0000)]
be liberal: accept empty oid lists

18 years agostruct slab_heap *sh was accessed through the wrong type
Hallvard Furuseth [Thu, 14 Jul 2005 21:57:25 +0000 (21:57 +0000)]
struct slab_heap *sh was accessed through the wrong type

18 years agoMake ebuf/ecur char* instead of unsigned char* (which they are never used as)
Hallvard Furuseth [Thu, 14 Jul 2005 21:02:59 +0000 (21:02 +0000)]
Make ebuf/ecur char* instead of unsigned char* (which they are never used as)

18 years agoSilence "unused <something>" warnings
Hallvard Furuseth [Thu, 14 Jul 2005 19:52:08 +0000 (19:52 +0000)]
Silence "unused <something>" warnings

18 years agoSilence "unused variable" warning
Hallvard Furuseth [Thu, 14 Jul 2005 19:35:09 +0000 (19:35 +0000)]
Silence "unused variable" warning

18 years agoSilence warnings
Hallvard Furuseth [Thu, 14 Jul 2005 19:32:21 +0000 (19:32 +0000)]
Silence warnings

18 years agoSilence "unused static function" warning
Hallvard Furuseth [Thu, 14 Jul 2005 19:20:52 +0000 (19:20 +0000)]
Silence "unused static function" warning