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

19 years agober_get_enum() needs int*, not enum*. An enum can have wrong size.
Hallvard Furuseth [Sun, 10 Jul 2005 09:40:34 +0000 (09:40 +0000)]
ber_get_enum() needs int*, not enum*.  An enum can have wrong size.
(Enum _members_ have type int, but the enum's _type_ can be compatible
with some other char/integer type which can represent its members.)

19 years agocleanup
Kurt Zeilenga [Sat, 9 Jul 2005 18:57:10 +0000 (18:57 +0000)]
cleanup

19 years agoimport draft-08 since that's what we now implement.
Howard Chu [Fri, 8 Jul 2005 10:17:03 +0000 (10:17 +0000)]
import draft-08 since that's what we now implement.
sss: ----------------------------------------------------------------------

19 years agoStreamline call to lutil_passwd_scheme
Howard Chu [Fri, 8 Jul 2005 06:05:02 +0000 (06:05 +0000)]
Streamline call to lutil_passwd_scheme

19 years agoITS#3846 don't give hashed passwords to SASL, it only wants cleartext.
Howard Chu [Fri, 8 Jul 2005 06:02:00 +0000 (06:02 +0000)]
ITS#3846 don't give hashed passwords to SASL, it only wants cleartext.

19 years agoFix get_scheme to check length of scheme name
Howard Chu [Fri, 8 Jul 2005 05:46:08 +0000 (05:46 +0000)]
Fix get_scheme to check length of scheme name

19 years agoITS#3844 fix typo
Howard Chu [Fri, 8 Jul 2005 04:57:17 +0000 (04:57 +0000)]
ITS#3844 fix typo

19 years agoComplete the replacement of LDAP_CONTROL_X_TREE_DELETE with
Hallvard Furuseth [Thu, 7 Jul 2005 20:36:37 +0000 (20:36 +0000)]
Complete the replacement of LDAP_CONTROL_X_TREE_DELETE with
SLAP_CONTROL_X_TREE_DELETE, which is only defiend when LDAP_DEVEL.
back-sql triggered an assert(0): It expected the control to be supported.

19 years agoITS#3844 fix slap_operational_subschemaSubentry
Howard Chu [Thu, 7 Jul 2005 17:39:29 +0000 (17:39 +0000)]
ITS#3844 fix slap_operational_subschemaSubentry

19 years agoLinux updates tv on select() so always use a second copy
Howard Chu [Thu, 7 Jul 2005 16:09:41 +0000 (16:09 +0000)]
Linux updates tv on select() so always use a second copy

19 years agoITS#3836: Explain that most monitor attrs are operational.
Hallvard Furuseth [Thu, 7 Jul 2005 08:21:18 +0000 (08:21 +0000)]
ITS#3836: Explain that most monitor attrs are operational.

19 years agoITS#3842 from jtownsend@opendarwin.org - don't free slap_listeners until
Howard Chu [Thu, 7 Jul 2005 04:21:53 +0000 (04:21 +0000)]
ITS#3842 from jtownsend@opendarwin.org - don't free slap_listeners until
after connection_shutdown().

19 years agoITS#3843 from jtownsend@opendarwin.org: hide index_attrs / index_dummy
Howard Chu [Thu, 7 Jul 2005 03:51:43 +0000 (03:51 +0000)]
ITS#3843 from jtownsend@opendarwin.org: hide index_attrs / index_dummy

19 years agoConstify ldif_open() args
Hallvard Furuseth [Wed, 6 Jul 2005 10:50:03 +0000 (10:50 +0000)]
Constify ldif_open() args

19 years agoKill harmless format warning
Hallvard Furuseth [Wed, 6 Jul 2005 09:28:30 +0000 (09:28 +0000)]
Kill harmless format warning

19 years agoISO C chokes on comma at end of enum list
Hallvard Furuseth [Wed, 6 Jul 2005 08:13:50 +0000 (08:13 +0000)]
ISO C chokes on comma at end of enum list

19 years agoISO C chokes on non-constant array initializers
Hallvard Furuseth [Wed, 6 Jul 2005 08:06:47 +0000 (08:06 +0000)]
ISO C chokes on non-constant array initializers

19 years agoFormat fixes (%d<->%lu etc)
Hallvard Furuseth [Wed, 6 Jul 2005 05:53:02 +0000 (05:53 +0000)]
Format fixes (%d<->%lu etc)

19 years agofix ITS#3834
Pierangelo Masarati [Tue, 5 Jul 2005 12:05:47 +0000 (12:05 +0000)]
fix ITS#3834

19 years agofix further ITS#3830 issues; allow to specify a matching rule for non-DN match
Pierangelo Masarati [Tue, 5 Jul 2005 12:00:14 +0000 (12:00 +0000)]
fix further ITS#3830 issues; allow to specify a matching rule for non-DN match

19 years agofix previous commit (check for co_type==Cft_Overlay before calling
Ralf Haferkamp [Tue, 5 Jul 2005 11:46:55 +0000 (11:46 +0000)]
fix previous commit (check for co_type==Cft_Overlay before calling
overlay_destroy_one)

19 years agoDestroy Backend/Overlay after an error happend during one of the
Ralf Haferkamp [Tue, 5 Jul 2005 11:17:25 +0000 (11:17 +0000)]
Destroy Backend/Overlay after an error happend during one of the
config_parse_add() calls, as backend_db_init() might have been called.

19 years agoITS#3833 assume environment was already recovered by an external action
Howard Chu [Tue, 5 Jul 2005 02:40:01 +0000 (02:40 +0000)]
ITS#3833 assume environment was already recovered by an external action
if it's missing, just succeed in this case.

19 years agofix concurrency issues
Pierangelo Masarati [Mon, 4 Jul 2005 22:41:54 +0000 (22:41 +0000)]
fix concurrency issues

19 years agofix potential deadlock
Pierangelo Masarati [Mon, 4 Jul 2005 22:41:27 +0000 (22:41 +0000)]
fix potential deadlock

19 years agoaddress ITS#3831 (mostly code readability)
Pierangelo Masarati [Mon, 4 Jul 2005 16:34:42 +0000 (16:34 +0000)]
address ITS#3831 (mostly code readability)

19 years agoAdd copyright.
Hallvard Furuseth [Mon, 4 Jul 2005 12:50:57 +0000 (12:50 +0000)]
Add copyright.

19 years agoDocument "REFERRALS".
Hallvard Furuseth [Mon, 4 Jul 2005 12:01:19 +0000 (12:01 +0000)]
Document "REFERRALS".
Add SEE ALSO openssl(1) and sasl(3).

19 years agoManpage typos
Hallvard Furuseth [Mon, 4 Jul 2005 06:57:10 +0000 (06:57 +0000)]
Manpage typos

19 years agoFormat fix: Make style_strings[] global for debug output in dynacl_aci_parse()
Hallvard Furuseth [Mon, 4 Jul 2005 06:25:02 +0000 (06:25 +0000)]
Format fix: Make style_strings[] global for debug output in dynacl_aci_parse()

19 years agoDebug output: printed soc_cname, should be soc_cname.bv_val
Hallvard Furuseth [Mon, 4 Jul 2005 06:05:04 +0000 (06:05 +0000)]
Debug output: printed soc_cname, should be soc_cname.bv_val

19 years agoisspace() needs <ac/ctype.h>
Hallvard Furuseth [Mon, 4 Jul 2005 05:56:45 +0000 (05:56 +0000)]
isspace() needs <ac/ctype.h>

19 years agoFormat fixes (%d<->%lu etc)
Hallvard Furuseth [Mon, 4 Jul 2005 05:29:12 +0000 (05:29 +0000)]
Format fixes (%d<->%lu etc)