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

19 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

19 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

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

19 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

19 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

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

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

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

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

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

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

19 years agoFix typos GETNAMEINFO->HAVE_GETNAMEINFO, HAVE_HERROR->HAVE_HSTRERROR
Hallvard Furuseth [Thu, 14 Jul 2005 19:17:05 +0000 (19:17 +0000)]
Fix typos GETNAMEINFO->HAVE_GETNAMEINFO, HAVE_HERROR->HAVE_HSTRERROR

19 years agoSilence "unused label" warning
Hallvard Furuseth [Thu, 14 Jul 2005 19:11:48 +0000 (19:11 +0000)]
Silence "unused label" warning

19 years agoneed a regular file (ITS#3865)
Pierangelo Masarati [Thu, 14 Jul 2005 18:03:29 +0000 (18:03 +0000)]
need a regular file (ITS#3865)

19 years agoSilence "empty statement" warnings
Hallvard Furuseth [Thu, 14 Jul 2005 03:06:58 +0000 (03:06 +0000)]
Silence "empty statement" warnings

19 years agoshould address ITS#3861
Pierangelo Masarati [Wed, 13 Jul 2005 17:43:30 +0000 (17:43 +0000)]
should address ITS#3861

19 years agoFix loglevel to accept negative integers
Howard Chu [Tue, 12 Jul 2005 14:25:15 +0000 (14:25 +0000)]
Fix loglevel to accept negative integers

19 years agoFix SLAP_SOCK_IS_MUTE typo
Howard Chu [Tue, 12 Jul 2005 14:19:57 +0000 (14:19 +0000)]
Fix SLAP_SOCK_IS_MUTE typo

19 years agoITS#3854 fix Modify logging, add handlers for unrecognized ops.
Howard Chu [Tue, 12 Jul 2005 14:00:01 +0000 (14:00 +0000)]
ITS#3854 fix Modify logging, add handlers for unrecognized ops.

19 years agoITS#3857 fix bottom-up modrdn cascades, use a global modrdn counter.
Howard Chu [Tue, 12 Jul 2005 13:17:56 +0000 (13:17 +0000)]
ITS#3857 fix bottom-up modrdn cascades, use a global modrdn counter.

19 years agoSchema cleanup
Kurt Zeilenga [Mon, 11 Jul 2005 19:20:36 +0000 (19:20 +0000)]
Schema cleanup

19 years agoretcode_op_func(): Fix uninitialized variable 'ref':
Hallvard Furuseth [Mon, 11 Jul 2005 19:09:30 +0000 (19:09 +0000)]
retcode_op_func(): Fix uninitialized variable 'ref':
Under rs->sr_err == LDAP_REFERRAL, return LDAP_OTHER "bad referral
object" if both rdi->rdi_ref and default_referral are NULL.

19 years agoDeclare component matching functions
Hallvard Furuseth [Mon, 11 Jul 2005 19:06:10 +0000 (19:06 +0000)]
Declare component matching functions

19 years agoAdd missing function declarations in config.h
Hallvard Furuseth [Mon, 11 Jul 2005 19:03:27 +0000 (19:03 +0000)]
Add missing function declarations in config.h

19 years agofp_parse_line():
Hallvard Furuseth [Mon, 11 Jul 2005 18:56:50 +0000 (18:56 +0000)]
fp_parse_line():
* More slapd.conf-keywords with passwords to log as "<keyword> ***":
  "syncrepl" (in slapd), "acl-bind", "acl-method", "idassert-bind"
  (in back-ldap), "acl-passwd" (in back-<ldap/meta>).
* When no tokens, i = -1 initialization caused out-of-bounds access.
* Handle initial argc == argv_size (e.g. 0).

19 years agoITS#3841 skip db_close if db_open was never called
Howard Chu [Mon, 11 Jul 2005 17:12:43 +0000 (17:12 +0000)]
ITS#3841 skip db_close if db_open was never called

19 years agoITS#3847 silence warnings
Howard Chu [Mon, 11 Jul 2005 12:11:15 +0000 (12:11 +0000)]
ITS#3847 silence warnings

19 years agoITS#3847 silence warnings
Howard Chu [Mon, 11 Jul 2005 10:39:32 +0000 (10:39 +0000)]
ITS#3847 silence warnings

19 years agoITS#3847 fix LDAP_GROUP_TRANSACTION defs
Howard Chu [Mon, 11 Jul 2005 10:30:46 +0000 (10:30 +0000)]
ITS#3847 fix LDAP_GROUP_TRANSACTION defs

19 years agoITS#3824 remove env after slapadd/slapindex -q
Howard Chu [Mon, 11 Jul 2005 10:27:59 +0000 (10:27 +0000)]
ITS#3824 remove env after slapadd/slapindex -q

19 years agogoto loop_begin; skipped initialization of scopeok.
Hallvard Furuseth [Sun, 10 Jul 2005 16:14:28 +0000 (16:14 +0000)]
goto loop_begin; skipped initialization of scopeok.

19 years agofbuf in syncprov_findcsn() got used before it was fully filled in
Hallvard Furuseth [Sun, 10 Jul 2005 10:20:21 +0000 (10:20 +0000)]
fbuf in syncprov_findcsn() got used before it was fully filled in