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

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

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

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

19 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

19 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

19 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

19 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

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

19 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

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

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

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

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

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

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

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

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

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

19 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

19 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

19 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

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

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

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

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

19 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

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

19 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

19 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

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

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

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

19 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

19 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

19 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