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

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

18 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

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

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

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

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

18 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

18 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

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

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

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

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

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

18 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

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

18 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

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

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

18 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

18 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

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

18 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

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

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

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

18 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

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

18 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

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

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

18 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

18 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

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

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

18 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

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

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

18 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

18 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

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

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

18 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

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

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

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