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

19 years agoCast away const
Hallvard Furuseth [Mon, 4 Jul 2005 05:24:00 +0000 (05:24 +0000)]
Cast away const

19 years agoLet bdb_attr_index_unparser() return int (0) instead of void; the return
Hallvard Furuseth [Mon, 4 Jul 2005 05:21:39 +0000 (05:21 +0000)]
Let bdb_attr_index_unparser() return int (0) instead of void; the return
value of an AVL_APPLY function is significant.

19 years agoDon't do pointer arithmetic on void*
Hallvard Furuseth [Mon, 4 Jul 2005 05:18:01 +0000 (05:18 +0000)]
Don't do pointer arithmetic on void*

19 years agoadd new glued ldap concurrency test
Pierangelo Masarati [Sun, 3 Jul 2005 23:29:10 +0000 (23:29 +0000)]
add new glued ldap concurrency test

19 years agofix potential deadlock; first round of refcnt for connections
Pierangelo Masarati [Sun, 3 Jul 2005 23:28:35 +0000 (23:28 +0000)]
fix potential deadlock; first round of refcnt for connections

19 years agofix potential deadlock; improve idassert in case of authzFrom rules (new flag values...
Pierangelo Masarati [Sun, 3 Jul 2005 23:27:56 +0000 (23:27 +0000)]
fix potential deadlock; improve idassert in case of authzFrom rules (new flag values); rootdn can always idassert

19 years agodocument new flag values for identity assertion
Pierangelo Masarati [Sun, 3 Jul 2005 23:18:08 +0000 (23:18 +0000)]
document new flag values for identity assertion

19 years agotest sleeptime
Pierangelo Masarati [Sun, 3 Jul 2005 23:07:49 +0000 (23:07 +0000)]
test sleeptime

19 years agoITS#3830, fix val-specific ACLs
Howard Chu [Sun, 3 Jul 2005 01:51:35 +0000 (01:51 +0000)]
ITS#3830, fix val-specific ACLs

19 years agoITS#3829 fix attributeoptions parse order
Howard Chu [Sat, 2 Jul 2005 10:54:09 +0000 (10:54 +0000)]
ITS#3829 fix attributeoptions parse order

19 years agoAdd note about shared library requirements
Howard Chu [Sat, 2 Jul 2005 10:21:03 +0000 (10:21 +0000)]
Add note about shared library requirements

19 years agomore checks (ITS#3817)
Pierangelo Masarati [Fri, 1 Jul 2005 09:53:20 +0000 (09:53 +0000)]
more checks (ITS#3817)

19 years agodon't use missing hooks (ITS#3817)
Pierangelo Masarati [Fri, 1 Jul 2005 09:25:55 +0000 (09:25 +0000)]
don't use missing hooks (ITS#3817)

19 years agoITS#3821 back-hdb has its own objectclass now
Howard Chu [Fri, 1 Jul 2005 02:50:11 +0000 (02:50 +0000)]
ITS#3821 back-hdb has its own objectclass now

19 years agoTweak prev commit
Howard Chu [Fri, 1 Jul 2005 02:18:10 +0000 (02:18 +0000)]
Tweak prev commit

19 years agoITS#3815 fix olcDbConfig parsing
Howard Chu [Fri, 1 Jul 2005 02:08:14 +0000 (02:08 +0000)]
ITS#3815 fix olcDbConfig parsing

19 years agoITS#3793 don't init thread pool in tool mode
Howard Chu [Fri, 1 Jul 2005 01:36:49 +0000 (01:36 +0000)]
ITS#3793 don't init thread pool in tool mode

19 years agoITS#3820 fix olcReadOnly check
Howard Chu [Fri, 1 Jul 2005 00:20:54 +0000 (00:20 +0000)]
ITS#3820 fix olcReadOnly check

19 years agoHDB needs its own config objectclass to avoid confusion when parsing the
Howard Chu [Fri, 1 Jul 2005 00:17:51 +0000 (00:17 +0000)]
HDB needs its own config objectclass to avoid confusion when parsing the
config db

19 years agoITS#3752: Update to shtool 2.0.2
Kurt Zeilenga [Thu, 30 Jun 2005 23:47:02 +0000 (23:47 +0000)]
ITS#3752: Update to shtool 2.0.2

19 years agoITS#3818 fix index_substr_any_step keyword
Howard Chu [Thu, 30 Jun 2005 23:24:48 +0000 (23:24 +0000)]
ITS#3818 fix index_substr_any_step keyword

19 years agotentative fix of another issue related to ITS#3800; please review
Pierangelo Masarati [Thu, 30 Jun 2005 16:49:00 +0000 (16:49 +0000)]
tentative fix of another issue related to ITS#3800; please review

19 years agoITS#3456 better fix, use a child thread.
Howard Chu [Thu, 30 Jun 2005 04:06:40 +0000 (04:06 +0000)]
ITS#3456 better fix, use a child thread.

19 years agoITS#3456 - omit FIND_MAXCSN call from syncprov_db_open. Will probably
Howard Chu [Thu, 30 Jun 2005 03:42:51 +0000 (03:42 +0000)]
ITS#3456 - omit FIND_MAXCSN call from syncprov_db_open. Will probably
delete all associated code soon; since the maxcsn will be updated as
soon as any write op occurs, it's no big deal for this to be out of date.
Also, since the maxcsn will get checkpointed on close, it will only get
out of date on an actual slapd crash, which is hopefully too rare to
worry about.

19 years agore-fetch the request; since the mutex has been released wile freeing the message...
Pierangelo Masarati [Thu, 30 Jun 2005 02:36:55 +0000 (02:36 +0000)]
re-fetch the request; since the mutex has been released wile freeing the message, it may have been already removed by someone else (ITS#3800)

19 years agomore on ITS#3808
Pierangelo Masarati [Wed, 29 Jun 2005 18:16:29 +0000 (18:16 +0000)]
more on ITS#3808

19 years agoseems to definitely fix issues related to ITS#3808
Pierangelo Masarati [Wed, 29 Jun 2005 16:38:09 +0000 (16:38 +0000)]
seems to definitely fix issues related to ITS#3808

19 years agoreturn LDAP_SUCCESS if Start TLS failed but was not critical
Pierangelo Masarati [Wed, 29 Jun 2005 12:38:18 +0000 (12:38 +0000)]
return LDAP_SUCCESS if Start TLS failed but was not critical