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

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

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

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

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

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

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

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

18 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

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

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

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

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

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

18 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

18 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

18 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

18 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

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

18 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

18 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

18 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

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

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

18 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

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

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

18 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

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

18 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

18 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

18 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

18 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

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

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

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

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

18 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

18 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

18 years agohardcode normalized instead of funky DN form
Pierangelo Masarati [Wed, 29 Jun 2005 12:37:28 +0000 (12:37 +0000)]
hardcode normalized instead of funky DN form

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

18 years ago(partial?) fix ITS#3808
Pierangelo Masarati [Wed, 29 Jun 2005 11:44:11 +0000 (11:44 +0000)]
(partial?) fix ITS#3808

18 years agoadd "matchedDN" field when appropriate
Pierangelo Masarati [Tue, 28 Jun 2005 23:22:48 +0000 (23:22 +0000)]
add "matchedDN" field when appropriate

18 years agobetter fix to ITS#3806
Pierangelo Masarati [Tue, 28 Jun 2005 22:06:24 +0000 (22:06 +0000)]
better fix to ITS#3806

18 years agofix spaces in DN-valued attrs (ITS#3806)
Pierangelo Masarati [Tue, 28 Jun 2005 19:23:46 +0000 (19:23 +0000)]
fix spaces in DN-valued attrs (ITS#3806)

18 years agofix ITS#3805
Pierangelo Masarati [Tue, 28 Jun 2005 15:58:33 +0000 (15:58 +0000)]
fix ITS#3805

18 years agoITS#3803 updated hyc/Symas
Howard Chu [Tue, 28 Jun 2005 01:41:11 +0000 (01:41 +0000)]
ITS#3803 updated hyc/Symas

18 years agoCopy ldap/COPYRIGHT to here
Kurt Zeilenga [Tue, 28 Jun 2005 01:21:02 +0000 (01:21 +0000)]
Copy ldap/COPYRIGHT to here

18 years agoITS#3796 fix IDL cache lock setup/teardown
Howard Chu [Tue, 28 Jun 2005 00:43:41 +0000 (00:43 +0000)]
ITS#3796 fix IDL cache lock setup/teardown

18 years agoLatest revisions
Kurt Zeilenga [Sat, 25 Jun 2005 23:06:51 +0000 (23:06 +0000)]
Latest revisions