]> git.ipfire.org Git - thirdparty/openldap.git/log
thirdparty/openldap.git
11 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.

11 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

11 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

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

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

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

11 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

11 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

11 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

11 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

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

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

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

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

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

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

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

11 years agoITS#8007 fix d06f5e7c1b6ceaa1f74510c3c25436a58670cfda
Howard Chu [Tue, 16 Dec 2014 20:08:32 +0000 (20:08 +0000)] 
ITS#8007 fix d06f5e7c1b6ceaa1f74510c3c25436a58670cfda

duplicate OID, oops

11 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

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

11 years agoITS#8007 Add maxentrysize config option
Howard Chu [Tue, 21 Oct 2014 12:15:55 +0000 (13:15 +0100)] 
ITS#8007 Add maxentrysize config option

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

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

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

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

11 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

11 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

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

11 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

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

11 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

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

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

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

11 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

11 years agoTry to avoid an invalid datafile after failed init
Hallvard Furuseth [Mon, 8 Dec 2014 08:56:36 +0000 (09:56 +0100)] 
Try to avoid an invalid datafile after failed init

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

11 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

11 years agoC90-compatible code for SysV semaphores
Hallvard Furuseth [Fri, 5 Dec 2014 20:00:21 +0000 (21:00 +0100)] 
C90-compatible code for SysV semaphores

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

11 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

11 years agoITS#7994 fix prev commit
Howard Chu [Fri, 5 Dec 2014 19:15:41 +0000 (19:15 +0000)] 
ITS#7994 fix prev commit

Strip docs promising behaviors that we don't promise to hold.
Strip MDB_txnid_t typedef.

11 years agoITS#7994 Access to current transaction ID.
David Barbour [Fri, 5 Dec 2014 17:18:30 +0000 (11:18 -0600)] 
ITS#7994 Access to current transaction ID.

I, David Barbour, hereby place the following modifications to OpenLDAP
Software (and only these modifications) into the public domain. Hence,
these modifications may be freely used and/or redistributed for any
purpose with or without attribution and/or other notice.

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

11 years agoFix SysV semaphores - repair mti_txnid.
Hallvard Furuseth [Fri, 5 Dec 2014 17:18:53 +0000 (18:18 +0100)] 
Fix SysV semaphores - repair mti_txnid.

Similar to 443a7e40c4280cfd07cbf80c5de62ea072b136e3.

11 years agoFor ITS#7789: Ensure mapsize >= pages in use.
Hallvard Furuseth [Wed, 3 Dec 2014 11:37:55 +0000 (12:37 +0100)] 
For ITS#7789: Ensure mapsize >= pages in use.

Check new mapsizes against mm_last_pg.  Move
mdb_env_init_meta0() so it can set mm_last_pg earlier.

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

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

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

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

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

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

11 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

11 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>
11 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".

11 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

11 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

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

11 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

11 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

11 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

11 years agoFree write mutex earlier in txn_reset0
Howard Chu [Wed, 16 Jul 2014 16:24:45 +0000 (09:24 -0700)] 
Free write mutex earlier in txn_reset0

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

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

11 years agoClean up SysV semaphore code.
Hallvard Furuseth [Mon, 1 Dec 2014 07:59:29 +0000 (08:59 +0100)] 
Clean up SysV semaphore code.

Change MDB_LOCK_FORMAT to differ from Posix semaphores/mutexes.
Do not use array/member length 0 for MDB_txninfo.mt2.

11 years agoFix robust mutexes - repair mti_txnid.
Hallvard Furuseth [Mon, 1 Dec 2014 07:59:29 +0000 (08:59 +0100)] 
Fix robust mutexes - repair mti_txnid.

Broken by e3b6c359a935283c21e1fd7d03b790d87d53b933, if
commit() crashes in write_meta before setting mti_txnid.

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

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

11 years agoITS#7979 MozNSS fix for TLS_PROTOCOL_MIN
Mark Reynolds [Thu, 13 Nov 2014 14:49:19 +0000 (09:49 -0500)] 
ITS#7979 MozNSS fix for TLS_PROTOCOL_MIN

Fix NSS code to check for TLS_PROCOTOL_MIN, and then set the SSL
version range(min and max). Also updated SSL version string map
table to support up to TLSv1.3

11 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

11 years agoITS#7976 fix delta-mmr/accesslog interaction
Howard Chu [Thu, 30 Oct 2014 15:00:13 +0000 (15:00 +0000)] 
ITS#7976 fix delta-mmr/accesslog interaction

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

11 years agoITS#7971 LMDB: clarification in mdb_txn_renew0().
leo@yuriev.ru [Fri, 17 Oct 2014 22:46:53 +0000 (22:46 +0000)] 
ITS#7971 LMDB: clarification in mdb_txn_renew0().

11 years agoITS#7970 LMDB: Critical Heisenbug
leo@yuriev.ru [Fri, 17 Oct 2014 22:35:41 +0000 (22:35 +0000)] 
ITS#7970 LMDB: Critical Heisenbug

Inconsistent reading & SIGSEGV due to the race condition.

11 years agoITS#7969 LMDB: volatile & __synchronize().
leo@yuriev.ru [Fri, 17 Oct 2014 22:22:39 +0000 (22:22 +0000)] 
ITS#7969 LMDB: volatile & __synchronize().

Globally shared fields of meta-data are not 'volatile'.

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

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

copy/paste error

11 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

11 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

11 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

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

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

11 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

11 years agoSilence compiler warning by adding explicit return 0 to ppolicy_db_destroy
Quanah Gibson-Mount [Fri, 3 Oct 2014 20:35:39 +0000 (15:35 -0500)] 
Silence compiler warning by adding explicit return 0 to ppolicy_db_destroy

11 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>
11 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".

11 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

11 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

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

11 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

11 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

11 years agoUse robust mutexes by default
Howard Chu [Wed, 1 Oct 2014 19:58:15 +0000 (20:58 +0100)] 
Use robust mutexes by default

Making it optional on pthreads just complicates things;
they're always robust on other implementations

11 years agoUse SysV semaphores instead of POSIX
Howard Chu [Sun, 20 Jul 2014 18:08:55 +0000 (11:08 -0700)] 
Use SysV semaphores instead of POSIX

Since they can cleanup after themselves on process exit

11 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

11 years agoMDB_ROBUST: Use MDB_PID_T. Drop a wmutex variable.
Hallvard Furuseth [Sun, 20 Jul 2014 14:42:04 +0000 (16:42 +0200)] 
MDB_ROBUST: Use MDB_PID_T. Drop a wmutex variable.

11 years agoFree write mutex earlier in txn_reset0
Howard Chu [Wed, 16 Jul 2014 16:24:45 +0000 (09:24 -0700)] 
Free write mutex earlier in txn_reset0

11 years agoAdd MDB_ROBUST
Hallvard Furuseth [Wed, 16 Jul 2014 14:15:58 +0000 (07:15 -0700)] 
Add MDB_ROBUST

11 years agoUpdates for new servers
Kurt Zeilenga [Mon, 29 Sep 2014 22:10:36 +0000 (15:10 -0700)] 
Updates for new servers

11 years agoUse OpenSSL md5/sha1
Kurt Zeilenga [Mon, 29 Sep 2014 20:22:50 +0000 (13:22 -0700)] 
Use OpenSSL md5/sha1

11 years agoAndroid also only has memalign
Howard Chu [Thu, 25 Sep 2014 18:25:56 +0000 (19:25 +0100)] 
Android also only has memalign