]> git.sur5r.net Git - openldap/log
openldap
9 years agoMinor cleanup (coverity)
Howard Chu [Wed, 14 Jan 2015 11:14:43 +0000 (11:14 +0000)]
Minor cleanup (coverity)

9 years agoMinor cleanup (coverity)
Howard Chu [Sun, 18 Jan 2015 14:07:31 +0000 (14:07 +0000)]
Minor cleanup (coverity)

9 years agovarargs cleanup (coverity)
Howard Chu [Tue, 13 Jan 2015 18:31:28 +0000 (18:31 +0000)]
varargs cleanup (coverity)

9 years agoMinor cleanup (coverity)
Howard Chu [Wed, 14 Jan 2015 12:27:28 +0000 (12:27 +0000)]
Minor cleanup (coverity)

9 years agoMinor cleanup (coverity)
Howard Chu [Wed, 14 Jan 2015 12:55:34 +0000 (12:55 +0000)]
Minor cleanup (coverity)

9 years agoplug unlikely memleak (coverity)
Howard Chu [Tue, 13 Jan 2015 22:43:18 +0000 (22:43 +0000)]
plug unlikely memleak (coverity)

9 years agoACL write/manage fixes (coverity)
Howard Chu [Tue, 13 Jan 2015 21:43:22 +0000 (21:43 +0000)]
ACL write/manage fixes (coverity)

9 years agoPlug unlikely memleak (coverity)
Howard Chu [Sun, 18 Jan 2015 13:45:38 +0000 (13:45 +0000)]
Plug unlikely memleak (coverity)

9 years agoFix dangling lock (coverity)
Howard Chu [Tue, 13 Jan 2015 20:52:46 +0000 (20:52 +0000)]
Fix dangling lock (coverity)

9 years agominor cleanup (coverity)
Howard Chu [Sun, 18 Jan 2015 13:32:37 +0000 (13:32 +0000)]
minor cleanup (coverity)

9 years agoFix potential null deref (coverity)
Howard Chu [Tue, 13 Jan 2015 18:47:18 +0000 (18:47 +0000)]
Fix potential null deref (coverity)

9 years agoFix insecure chroot (coverity)
Howard Chu [Tue, 13 Jan 2015 18:23:16 +0000 (18:23 +0000)]
Fix insecure chroot (coverity)

9 years agoFix argument order for ucisprop (coverity)
Howard Chu [Tue, 13 Jan 2015 18:20:36 +0000 (18:20 +0000)]
Fix argument order for ucisprop (coverity)

9 years agoITS#8022
Quanah Gibson-Mount [Tue, 13 Jan 2015 16:27:10 +0000 (10:27 -0600)]
ITS#8022

9 years agoITS#8022 an async connect may still succeed immediately
Howard Chu [Mon, 12 Jan 2015 22:27:58 +0000 (22:27 +0000)]
ITS#8022 an async connect may still succeed immediately

9 years agoITS#8022 don't skip TLS init for ldaps:// targets
Howard Chu [Mon, 12 Jan 2015 22:25:15 +0000 (22:25 +0000)]
ITS#8022 don't skip TLS init for ldaps:// targets

9 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4
Quanah Gibson-Mount [Tue, 13 Jan 2015 16:24:53 +0000 (10:24 -0600)]
Merge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4

9 years agoITS#8021 doc: Don't mix MDB_WRITEMAP + non-WRITEMAP
Hallvard Furuseth [Mon, 12 Jan 2015 11:19:51 +0000 (12:19 +0100)]
ITS#8021 doc: Don't mix MDB_WRITEMAP + non-WRITEMAP

9 years agoMore cleanup for fdatasync hack
Howard Chu [Mon, 12 Jan 2015 10:36:38 +0000 (10:36 +0000)]
More cleanup for fdatasync hack

9 years agoTweak conditionals for fdatasync hack
Howard Chu [Sun, 11 Jan 2015 11:41:08 +0000 (11:41 +0000)]
Tweak conditionals for fdatasync hack

9 years agoITS#8021 env_sync is invalid in RDONLY env
Howard Chu [Fri, 9 Jan 2015 11:25:07 +0000 (11:25 +0000)]
ITS#8021 env_sync is invalid in RDONLY env

9 years agofdatasync hack, again
Howard Chu [Thu, 8 Jan 2015 13:03:55 +0000 (13:03 +0000)]
fdatasync hack, again

Check for ext3/ext4 fs, then check kernel version.

9 years agoRevert "Fix prev commit for env_sync0"
Howard Chu [Thu, 8 Jan 2015 12:56:42 +0000 (12:56 +0000)]
Revert "Fix prev commit for env_sync0"

This reverts commit e95c9231fc8de567b724477373259e07c62ce210.

Revert "Hack for potential ext3/ext4 corruption issue"

This reverts commit 91155b9d676f8abe3fe5e8a96b22b4dd51f963dd.

9 years agoITS#8016
Quanah Gibson-Mount [Mon, 5 Jan 2015 20:01:09 +0000 (14:01 -0600)]
ITS#8016

9 years agoITS#8016 return errmsg for unknown envflags
Howard Chu [Mon, 5 Jan 2015 09:37:27 +0000 (09:37 +0000)]
ITS#8016 return errmsg for unknown envflags

9 years agoITS#8011
Quanah Gibson-Mount [Mon, 5 Jan 2015 19:59:59 +0000 (13:59 -0600)]
ITS#8011

9 years agoITS#8011: few corrections for lmdb-backend;
Leo Yuriev [Sun, 4 Jan 2015 07:41:04 +0000 (07:41 +0000)]
ITS#8011: few corrections for lmdb-backend;

dn2id.c:
  + assertion for mdb_id2l_insert() result;
  - unnecessary assignment;

search.c:
  - unused variable 'first';
  + range-check for mdb_idl_search() result;

9 years agoITS#5452,ITS#8012
Quanah Gibson-Mount [Mon, 5 Jan 2015 19:53:22 +0000 (13:53 -0600)]
ITS#5452,ITS#8012

9 years agoITS#5452,#8012: fix syncprov syncops freeing
Leo Yuriev [Sun, 4 Jan 2015 07:27:16 +0000 (07:27 +0000)]
ITS#5452,#8012: fix syncprov syncops freeing

Detaching a syncops record from op-list conditionally,
only when it was freed by syncprov_free_syncop.

The syncprov_free_syncop() and syncprov_drop_psearch() now
returns a flag, which is nonzero if the given syncops was freed.

9 years agoITS#8013
Quanah Gibson-Mount [Mon, 5 Jan 2015 19:50:37 +0000 (13:50 -0600)]
ITS#8013

9 years agoITS#8013 fix syncprov_matchops test_filter usage
Howard Chu [Sun, 4 Jan 2015 07:20:41 +0000 (07:20 +0000)]
ITS#8013 fix syncprov_matchops test_filter usage

9 years agoITS#8014
Quanah Gibson-Mount [Mon, 5 Jan 2015 19:48:21 +0000 (13:48 -0600)]
ITS#8014

9 years agoITS#8014 plug onetime leak in slapadd -w
Howard Chu [Sun, 4 Jan 2015 07:00:14 +0000 (07:00 +0000)]
ITS#8014 plug onetime leak in slapadd -w

9 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4
Quanah Gibson-Mount [Mon, 22 Dec 2014 18:13:53 +0000 (12:13 -0600)]
Merge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4

9 years agoTweak fdatasync hack description
Howard Chu [Mon, 22 Dec 2014 18:07:08 +0000 (18:07 +0000)]
Tweak fdatasync hack description

9 years agoITS#7781
Quanah Gibson-Mount [Sun, 21 Dec 2014 01:36:41 +0000 (19:36 -0600)]
ITS#7781

9 years agoITS#7780
Quanah Gibson-Mount [Sun, 21 Dec 2014 01:36:02 +0000 (19:36 -0600)]
ITS#7780

9 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4
Quanah Gibson-Mount [Sun, 21 Dec 2014 01:33:31 +0000 (19:33 -0600)]
Merge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4

9 years agoITS#7780,#7781 fix prev commit
Howard Chu [Thu, 18 Dec 2014 19:33:38 +0000 (19:33 +0000)]
ITS#7780,#7781 fix prev commit

9 years agoITS#7780,ITS#7781 Fix slapo-constraint with 0 count
Ondřej Kuzník [Mon, 15 Sep 2014 21:34:17 +0000 (22:34 +0100)]
ITS#7780,ITS#7781 Fix slapo-constraint with 0 count

9 years agoITS#7781 Add test
Ondřej Kuzník [Mon, 15 Sep 2014 21:33:42 +0000 (22:33 +0100)]
ITS#7781 Add test

9 years agoFix prev commit for env_sync0
Howard Chu [Sun, 21 Dec 2014 00:13:50 +0000 (00:13 +0000)]
Fix prev commit for env_sync0

9 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4
Quanah Gibson-Mount [Thu, 18 Dec 2014 05:40:40 +0000 (23:40 -0600)]
Merge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4

9 years agoUpdate for fsync hack
Howard Chu [Thu, 18 Dec 2014 04:46:43 +0000 (04:46 +0000)]
Update for fsync hack

9 years agoHack for potential ext3/ext4 corruption issue
Howard Chu [Thu, 18 Dec 2014 04:38:53 +0000 (04:38 +0000)]
Hack for potential ext3/ext4 corruption issue

Use regular fsync() if we think this commit grew the DB file.

9 years agoITS#7782
Quanah Gibson-Mount [Wed, 17 Dec 2014 20:31:34 +0000 (14:31 -0600)]
ITS#7782

9 years agoITS#7782 tweak contrib/slapd-modules/**/Makefile
SATOH Fumiyasu [Fri, 10 Jan 2014 07:49:49 +0000 (16:49 +0900)]
ITS#7782 tweak contrib/slapd-modules/**/Makefile

Set LDAP_BUILD=$(LDAP_SRC) by default

9 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4
Quanah Gibson-Mount [Wed, 17 Dec 2014 19:31:02 +0000 (13:31 -0600)]
Merge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4

9 years agoUpdate for 0.9.15
Howard Chu [Wed, 17 Dec 2014 15:29:48 +0000 (15:29 +0000)]
Update for 0.9.15

9 years agoITS#8006
Quanah Gibson-Mount [Tue, 16 Dec 2014 08:03:29 +0000 (02:03 -0600)]
ITS#8006

9 years agoITS#8006 Use rootdn consistently on internal ops
Howard Chu [Mon, 15 Dec 2014 19:27:59 +0000 (19:27 +0000)]
ITS#8006 Use rootdn consistently on internal ops

9 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4
Quanah Gibson-Mount [Tue, 16 Dec 2014 08:02:02 +0000 (02:02 -0600)]
Merge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4

9 years agoFix MDB_APPEND doc
Howard Chu [Mon, 15 Dec 2014 20:40:59 +0000 (20:40 +0000)]
Fix MDB_APPEND doc

We actually compare the new key against the last key, to prevent
corruption.

9 years agomake clean: remove *.lo
Hallvard Furuseth [Sat, 13 Dec 2014 19:35:08 +0000 (20:35 +0100)]
make clean: remove *.lo

9 years agoClarify mdb_dbi_open doc
Howard Chu [Mon, 8 Dec 2014 03:21:09 +0000 (03:21 +0000)]
Clarify mdb_dbi_open doc

The concurrency restriction is on threads within a single process.
Multiple processes can use mdb_dbi_open without affecting each other.

9 years agoITS#8003
Quanah Gibson-Mount [Mon, 15 Dec 2014 17:09:18 +0000 (11:09 -0600)]
ITS#8003

9 years agoITS#8003 fix off-by-one in LDIF length
Howard Chu [Mon, 15 Dec 2014 14:36:55 +0000 (14:36 +0000)]
ITS#8003 fix off-by-one in LDIF length

must account for leading space when counting total number of lines

9 years agoITS#7797
Quanah Gibson-Mount [Fri, 12 Dec 2014 19:42:31 +0000 (13:42 -0600)]
ITS#7797

9 years agoITS#7797 Fix segfault in slapo-collect
Ondřej Kuzník [Tue, 23 Sep 2014 20:05:08 +0000 (21:05 +0100)]
ITS#7797 Fix segfault in slapo-collect

9 years agoITS#8001
Quanah Gibson-Mount [Thu, 11 Dec 2014 00:37:46 +0000 (18:37 -0600)]
ITS#8001

9 years agoITS#8001 fix ldap_sync_initialize
Howard Chu [Wed, 10 Dec 2014 22:58:33 +0000 (22:58 +0000)]
ITS#8001 fix ldap_sync_initialize

9 years agoITS#7997, 7998, 8000
Quanah Gibson-Mount [Thu, 11 Dec 2014 00:36:24 +0000 (18:36 -0600)]
ITS#7997, 7998, 8000

9 years agoITS#8000 silence warnings
Howard Chu [Wed, 10 Dec 2014 22:24:25 +0000 (22:24 +0000)]
ITS#8000 silence warnings

9 years agoITS#7998 silence warning
Howard Chu [Wed, 10 Dec 2014 21:59:45 +0000 (21:59 +0000)]
ITS#7998 silence warning

9 years agoITS#7997 silence warning
Howard Chu [Wed, 10 Dec 2014 21:57:44 +0000 (21:57 +0000)]
ITS#7997 silence warning

9 years agoITS#7995
Quanah Gibson-Mount [Thu, 11 Dec 2014 00:31:34 +0000 (18:31 -0600)]
ITS#7995

9 years agoITS#7995 fix slap_bv2undef_ad
Howard Chu [Wed, 10 Dec 2014 02:06:50 +0000 (02:06 +0000)]
ITS#7995 fix slap_bv2undef_ad

9 years agoITS#7968
Quanah Gibson-Mount [Thu, 11 Dec 2014 00:22:57 +0000 (18:22 -0600)]
ITS#7968

9 years agoITS#7968 add locks for syncrepl cookiestate
Leo Yuriev [Fri, 5 Dec 2014 19:41:40 +0000 (19:41 +0000)]
ITS#7968 add locks for syncrepl cookiestate

Mutex must be held even for a read-access of a cookie state,
as there may be a race with write in other thread.

9 years agoITS#7977
Quanah Gibson-Mount [Thu, 11 Dec 2014 00:22:18 +0000 (18:22 -0600)]
ITS#7977

9 years agoITS#7977 Add PBKDF2 -SHA256 and -SHA512
HAMANO Tsukasa [Wed, 5 Nov 2014 09:26:35 +0000 (09:26 +0000)]
ITS#7977 Add PBKDF2 -SHA256 and -SHA512

9 years agoITS#7976
Quanah Gibson-Mount [Thu, 11 Dec 2014 00:18:42 +0000 (18:18 -0600)]
ITS#7976

9 years agoITS#7976 fix delta-mmr/accesslog interaction
Quanah Gibson-Mount [Thu, 11 Dec 2014 00:17:12 +0000 (18:17 -0600)]
ITS#7976 fix delta-mmr/accesslog interaction

9 years agoFix typo in cancel config
Howard Chu [Wed, 15 Oct 2014 10:21:19 +0000 (11:21 +0100)]
Fix typo in cancel config

9 years agoITS#7975
Quanah Gibson-Mount [Wed, 10 Dec 2014 23:29:13 +0000 (17:29 -0600)]
ITS#7975

9 years agoITS#7975 fix onelevel search
Howard Chu [Wed, 29 Oct 2014 18:05:00 +0000 (18:05 +0000)]
ITS#7975 fix onelevel search

9 years agoITS#7967
Quanah Gibson-Mount [Wed, 10 Dec 2014 23:28:14 +0000 (17:28 -0600)]
ITS#7967

9 years agoITS#7967 fix abandon regression
Howard Chu [Wed, 15 Oct 2014 10:08:29 +0000 (11:08 +0100)]
ITS#7967 fix abandon regression

From ITS#7712, avoid double-free of request

9 years agoITS#7965
Quanah Gibson-Mount [Wed, 10 Dec 2014 23:26:24 +0000 (17:26 -0600)]
ITS#7965

9 years agoITS#7965 mdb_dn2id
Leo Yuriev [Tue, 14 Oct 2014 10:49:25 +0000 (14:49 +0400)]
ITS#7965 mdb_dn2id

heap corruption due to returning a reference to a local variable

9 years agoFix a1e3b1cf3c5991ef550f608ee816e9274e547dda
Howard Chu [Wed, 15 Oct 2014 10:11:08 +0000 (11:11 +0100)]
Fix a1e3b1cf3c5991ef550f608ee816e9274e547dda

copy/paste error

9 years agoFix pointer incompatibility issue on some platforms
Kurt Zeilenga [Fri, 10 Oct 2014 18:56:31 +0000 (11:56 -0700)]
Fix pointer incompatibility issue on some platforms

Don't assume tv_sec is a time_t.

9 years agoclosedir() replacement function should return a result
Kurt Zeilenga [Fri, 10 Oct 2014 19:15:48 +0000 (12:15 -0700)]
closedir() replacement function should return a result

return success, ignoring result of FindClose

9 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4
Quanah Gibson-Mount [Wed, 10 Dec 2014 23:10:13 +0000 (17:10 -0600)]
Merge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4

9 years agoITS#7987 fix excessive space for single write txn
Leo Yuriev [Fri, 5 Dec 2014 19:30:31 +0000 (19:30 +0000)]
ITS#7987 fix excessive space for single write txn

9 years agoFix WIN32 -> _WIN32
Hallvard Furuseth [Wed, 3 Dec 2014 11:27:53 +0000 (12:27 +0100)]
Fix WIN32 -> _WIN32

9 years agomdb_strerror: Silence warning @ Windows
Hallvard Furuseth [Mon, 1 Dec 2014 07:59:29 +0000 (08:59 +0100)]
mdb_strerror: Silence warning @ Windows

9 years agoFix comments
Hallvard Furuseth [Mon, 1 Dec 2014 07:59:29 +0000 (08:59 +0100)]
Fix comments

9 years agoSimplify recent changes a bit.
Hallvard Furuseth [Mon, 1 Dec 2014 07:59:29 +0000 (08:59 +0100)]
Simplify recent changes a bit.

9 years agoITS#7961,#7987 Re-fix txn init.
Hallvard Furuseth [Sat, 22 Nov 2014 21:56:31 +0000 (22:56 +0100)]
ITS#7961,#7987 Re-fix txn init.

More fallout from 4d02c741b120786df1b87ee9ed49c1d3f9bc7522:
Don't modify another thread's write txn. Reinit me_txn0 fully.

9 years agoITS#7959 fix prev commit
Howard Chu [Wed, 8 Oct 2014 18:25:27 +0000 (19:25 +0100)]
ITS#7959 fix prev commit

fstat returns -1, not an errno. Move code into its own function
for reuse.

9 years agoITS#7961 fix txn init
Howard Chu [Sat, 4 Oct 2014 20:48:49 +0000 (21:48 +0100)]
ITS#7961 fix txn init

More fallout from 4d02c741b120786df1b87ee9ed49c1d3f9bc7522

9 years agoITS#7959 Check fstat return value
Jean-Christophe DUBOIS [Fri, 3 Oct 2014 18:24:25 +0000 (20:24 +0200)]
ITS#7959 Check fstat return value

Signed-off-by: Jean-Christophe DUBOIS <jcd@tribudubois.net>
9 years agoITS#7841 trivial cleanup
Leo Yuriev [Thu, 4 Sep 2014 20:19:16 +0000 (00:19 +0400)]
ITS#7841 trivial cleanup

TRIVIA - lmdb: clean testdb-dir while "make test".

9 years agoITS#7956 fix compact of empty env
Howard Chu [Thu, 2 Oct 2014 21:11:43 +0000 (22:11 +0100)]
ITS#7956 fix compact of empty env

9 years agoITS#7955, #7671 fix MDB_PREV_DUP
Howard Chu [Thu, 2 Oct 2014 20:58:20 +0000 (21:58 +0100)]
ITS#7955, #7671 fix MDB_PREV_DUP

9 years agoITS#7953 .gitignore *.lo
Howard Chu [Thu, 2 Oct 2014 20:35:15 +0000 (21:35 +0100)]
ITS#7953 .gitignore *.lo

9 years agoITS#7952 .gitignore mdb_dump/load
Howard Chu [Thu, 2 Oct 2014 20:33:35 +0000 (21:33 +0100)]
ITS#7952 .gitignore mdb_dump/load

9 years agoDon't use -fPIC for static lib
Howard Chu [Wed, 1 Oct 2014 20:00:03 +0000 (21:00 +0100)]
Don't use -fPIC for static lib

9 years agoMust do dlist_free before releasing Wmutex
Howard Chu [Sun, 20 Jul 2014 15:10:34 +0000 (08:10 -0700)]
Must do dlist_free before releasing Wmutex