]> git.sur5r.net Git - openldap/log
openldap
8 years agoITS#8423 check for pause in accesslog_purge
Howard Chu [Sat, 14 May 2016 23:50:37 +0000 (00:50 +0100)]
ITS#8423 check for pause in accesslog_purge

8 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9'
Howard Chu [Wed, 4 May 2016 09:48:34 +0000 (10:48 +0100)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'

8 years agoRE 0.9.19
Howard Chu [Wed, 4 May 2016 09:47:32 +0000 (10:47 +0100)]
RE 0.9.19

8 years agoITS#8412 fix NEXT_DUP after cursor_del
Howard Chu [Tue, 26 Apr 2016 11:52:21 +0000 (12:52 +0100)]
ITS#8412 fix NEXT_DUP after cursor_del

8 years agoITS#8406 fix xcursors after cursor_del
Howard Chu [Mon, 18 Apr 2016 17:07:56 +0000 (18:07 +0100)]
ITS#8406 fix xcursors after cursor_del

Don't leave them uninit'd if they now point at a valid DUP node

8 years agomdb_drop optimization
Howard Chu [Sat, 9 Apr 2016 19:42:45 +0000 (20:42 +0100)]
mdb_drop optimization

If we know there are no sub-DBs and no overflow pages, skip leaf scan.

8 years agoITS#8393 fix MDB_GET_BOTH on non-dup record
Howard Chu [Mon, 28 Mar 2016 00:35:56 +0000 (01:35 +0100)]
ITS#8393 fix MDB_GET_BOTH on non-dup record

8 years agoTweak Win32 errmsg buffer
Howard Chu [Mon, 15 Feb 2016 00:07:04 +0000 (00:07 +0000)]
Tweak Win32 errmsg buffer

8 years agoITS#8414 - Remove use of "time", as it is non portable
Quanah Gibson-Mount [Sat, 30 Apr 2016 01:30:30 +0000 (18:30 -0700)]
ITS#8414 - Remove use of "time", as it is non portable

8 years agoITS#8413 fix prev commit
Howard Chu [Thu, 28 Apr 2016 09:54:47 +0000 (10:54 +0100)]
ITS#8413 fix prev commit

Filter needs AttributeAssertions

8 years agoITS#8413 don't use str2filter on precomputable filters
Howard Chu [Thu, 28 Apr 2016 02:04:16 +0000 (03:04 +0100)]
ITS#8413 don't use str2filter on precomputable filters

and more importantly, avoid escaping requirements that str2filter has

8 years agoITS#6826 conversion scripts
Devin J. Pohly [Fri, 4 Feb 2011 21:51:40 +0000 (21:51 +0000)]
ITS#6826 conversion scripts

These were provided as part of the original ITS but not previously committed.
Perl scripts to convert between Apache and OpenLDAP hash formats.

8 years agoMore for large multival attrs
Howard Chu [Fri, 1 Apr 2016 17:49:59 +0000 (18:49 +0100)]
More for large multival attrs

We can't persist the sorted flag since the sort order between
DB and attr schema don't necessarily agree

8 years agoITS#8385 Fix use-after-free with GnuTLS
Howard Chu [Sat, 12 Mar 2016 11:03:29 +0000 (11:03 +0000)]
ITS#8385 Fix use-after-free with GnuTLS

8 years agoITS#8303 Track pending ops per a_metasingleconn_t
Nadezhda Ivanova [Mon, 29 Feb 2016 12:01:12 +0000 (14:01 +0200)]
ITS#8303 Track pending ops per a_metasingleconn_t

so that unused target connections can be properly reset.

8 years agoITS#8303 Fixed an assertion error during test022
Nadezhda Ivanova [Tue, 9 Feb 2016 13:26:38 +0000 (15:26 +0200)]
ITS#8303 Fixed an assertion error during test022

The error was introduced with
commit 6cafdfa8d82134f78e68325c4b9c10dd37935d7a

8 years agoFix minor typo
Quanah Gibson-Mount [Sat, 27 Feb 2016 00:37:10 +0000 (18:37 -0600)]
Fix minor typo

8 years agoRegenerate for ITS#8303
Howard Chu [Mon, 8 Feb 2016 12:47:20 +0000 (12:47 +0000)]
Regenerate for ITS#8303

8 years agoITS#8303 Fixed an error in configure.in
Nadezhda Ivanova [Mon, 8 Feb 2016 12:16:58 +0000 (14:16 +0200)]
ITS#8303 Fixed an error in configure.in

This fixes an incorreclty named variable, introduced with
commit 6cafdfa8d82134f78e68325c4b9c10dd37935d7a

8 years agoMerge branch 'master' of ssh://git-master.openldap.org/~git/git/openldap
Quanah Gibson-Mount [Fri, 5 Feb 2016 23:56:54 +0000 (17:56 -0600)]
Merge branch 'master' of ssh://git-master.openldap.org/~git/git/openldap

8 years agoFix documentation changes to remove extra :
Quanah Gibson-Mount [Fri, 5 Feb 2016 23:56:20 +0000 (17:56 -0600)]
Fix documentation changes to remove extra :

8 years agoMore for large multival attrs
Howard Chu [Fri, 5 Feb 2016 21:59:43 +0000 (21:59 +0000)]
More for large multival attrs

Fix a4c7943d39df0140edacb5774e977be3f72b694c entry delete
Ignore when id2v table is empty

8 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9'
Howard Chu [Fri, 5 Feb 2016 21:23:01 +0000 (21:23 +0000)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'

8 years agoRelease 0.9.18 LMDB_0.9.18
Howard Chu [Fri, 5 Feb 2016 21:22:15 +0000 (21:22 +0000)]
Release 0.9.18

8 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9'
Howard Chu [Thu, 4 Feb 2016 17:36:48 +0000 (17:36 +0000)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'

8 years agoITS#7992 Fix memleak in prev change
Hallvard Furuseth [Thu, 4 Feb 2016 02:23:13 +0000 (03:23 +0100)]
ITS#7992 Fix memleak in prev change

8 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9'
Howard Chu [Tue, 2 Feb 2016 19:42:40 +0000 (19:42 +0000)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'

8 years agoITS#8365 partially revert ITS#8281
Howard Chu [Tue, 2 Feb 2016 19:41:13 +0000 (19:41 +0000)]
ITS#8365 partially revert ITS#8281

Must setup psearch before snapshotting ctxcsn

8 years agoregenerate for ITS#8114 and ITS#8303
Howard Chu [Mon, 1 Feb 2016 19:23:56 +0000 (19:23 +0000)]
regenerate for ITS#8114 and ITS#8303

8 years agoITS#8303 fix prev commit
Howard Chu [Mon, 1 Feb 2016 19:22:46 +0000 (19:22 +0000)]
ITS#8303 fix prev commit

8 years agoITS#8303 Asynchronous meta back-end for OpenLDAP
Nadezhda Ivanova [Sat, 30 Jan 2016 18:14:29 +0000 (20:14 +0200)]
ITS#8303 Asynchronous meta back-end for OpenLDAP

8 years agoLarge multivalued attr support
Howard Chu [Sun, 31 Jan 2016 15:35:11 +0000 (15:35 +0000)]
Large multivalued attr support

Store attrs with a large number of values separately from the
main entry blob. Note - we need support for large DUPSORT values
for this to be generally usable.

8 years agoITS#8353 more for OpenSSL 1.1 compat
Howard Chu [Sun, 31 Jan 2016 03:29:28 +0000 (03:29 +0000)]
ITS#8353 more for OpenSSL 1.1 compat

tmp_rsa callback has been removed from OpenSSL 1.1
Use new X509_NAME accessor function to retrieve DER bytes

8 years agoHappy New Year
Howard Chu [Sat, 30 Jan 2016 12:55:03 +0000 (12:55 +0000)]
Happy New Year

8 years agoHappy New Year!
Quanah Gibson-Mount [Fri, 29 Jan 2016 19:32:05 +0000 (13:32 -0600)]
Happy New Year!

8 years agoMerge branch 'master' of ssh://git-master.openldap.org/~git/git/openldap
Quanah Gibson-Mount [Fri, 29 Jan 2016 19:22:10 +0000 (13:22 -0600)]
Merge branch 'master' of ssh://git-master.openldap.org/~git/git/openldap

8 years agoMinor fix BDB -> MDB
Quanah Gibson-Mount [Fri, 29 Jan 2016 19:21:55 +0000 (13:21 -0600)]
Minor fix BDB -> MDB

8 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9'
Howard Chu [Fri, 29 Jan 2016 00:57:31 +0000 (00:57 +0000)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'

8 years agoITS 8362 - Drop link to BDB altogether.
Quanah Gibson-Mount [Fri, 29 Jan 2016 00:47:13 +0000 (18:47 -0600)]
ITS 8362 - Drop link to BDB altogether.
Other documentation updates to make it clear that (L)MDB is preferred

8 years agoITS#8363
Howard Chu [Thu, 28 Jan 2016 04:22:26 +0000 (04:22 +0000)]
ITS#8363

8 years agoITS#8363 Fix off-by-one in mdb_midl_shrink
Howard Chu [Thu, 28 Jan 2016 04:18:14 +0000 (04:18 +0000)]
ITS#8363 Fix off-by-one in mdb_midl_shrink

8 years agoITS 8362 - Fix link to BerkeleyDB download location
Quanah Gibson-Mount [Wed, 27 Jan 2016 18:24:30 +0000 (12:24 -0600)]
ITS 8362 - Fix link to BerkeleyDB download location

8 years agoITS#8353 partial fix
Howard Chu [Tue, 26 Jan 2016 18:06:46 +0000 (18:06 +0000)]
ITS#8353 partial fix

Use newly added SSL_CTX_up_ref()
Still waiting for X509_NAME accessor

8 years agoITS#8360 tweak for LDAP_TXNs too
Howard Chu [Tue, 26 Jan 2016 13:39:53 +0000 (13:39 +0000)]
ITS#8360 tweak for LDAP_TXNs too

8 years agoITS#8360 fix ad info after failed txn
Howard Chu [Tue, 26 Jan 2016 13:28:17 +0000 (13:28 +0000)]
ITS#8360 fix ad info after failed txn

If an add or modify op referenced a previously unused attrtype,
the mi_ads/mi_numads would be incremented to include it. If the
op fails to commit, these additions must also be reverted.

8 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9'
Howard Chu [Sun, 24 Jan 2016 11:39:13 +0000 (11:39 +0000)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'

8 years agoITS#8355, doc update
Howard Chu [Sun, 24 Jan 2016 11:38:35 +0000 (11:38 +0000)]
ITS#8355, doc update

8 years agoITS#8355 fix subcursors
Howard Chu [Sun, 24 Jan 2016 11:32:49 +0000 (11:32 +0000)]
ITS#8355 fix subcursors

make sure C_DEL gets reset in subcursor after it moves.

8 years agoUpdate WRITEMAP doc
Howard Chu [Sat, 23 Jan 2016 16:51:42 +0000 (16:51 +0000)]
Update WRITEMAP doc

8 years agoITS#8354 move abandon check
Howard Chu [Sat, 23 Jan 2016 16:06:32 +0000 (16:06 +0000)]
ITS#8354 move abandon check

8 years agoITS#8354 tweak prev commit
Howard Chu [Fri, 22 Jan 2016 20:46:23 +0000 (20:46 +0000)]
ITS#8354 tweak prev commit

Delay mutex init to avoid leaking the mutex

8 years agoITS#8354 fix syncprov abandon
Howard Chu [Fri, 22 Jan 2016 20:41:48 +0000 (20:41 +0000)]
ITS#8354 fix syncprov abandon

Check for abandon just before recording psearch

8 years agoITS#8353 partial fixes
Howard Chu [Thu, 21 Jan 2016 18:01:17 +0000 (18:01 +0000)]
ITS#8353 partial fixes

ERR_remove_state() is deprecated since OpenSSL 1.0.0
Use X509_NAME_ENTRY_get_object() instead of direct access.

8 years agoITS#8351 fix accesslog callback init
Howard Chu [Fri, 15 Jan 2016 10:37:56 +0000 (10:37 +0000)]
ITS#8351 fix accesslog callback init

8 years agoITS#8334, mdb_copy
Hallvard Furuseth [Sat, 9 Jan 2016 08:10:55 +0000 (09:10 +0100)]
ITS#8334, mdb_copy

8 years agoFixups for env_copy with large files
Howard Chu [Sat, 2 Jan 2016 12:19:42 +0000 (12:19 +0000)]
Fixups for env_copy with large files

wsize was being truncated to 32bits on Windows.
Only try to write 1GB at a time on Windows64;
larger writes fail with ERROR_WORKING_SET_QUOTA.

8 years agoMinGW warning cleanup: _MSC_VER -> _WIN32.
Howard Chu [Sat, 19 Dec 2015 23:51:31 +0000 (23:51 +0000)]
MinGW warning cleanup: _MSC_VER -> _WIN32.

From 1ba5adb2ec262405f9207d6015d4f29eea548d25 "MDB_VL32 preparation".

8 years agoITS#8334 Fix MDB_APPENDDUP vs. rewrite(single item)
Hallvard Furuseth [Tue, 8 Dec 2015 15:43:55 +0000 (16:43 +0100)]
ITS#8334 Fix MDB_APPENDDUP vs. rewrite(single item)

8 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9'
Howard Chu [Mon, 4 Jan 2016 19:37:49 +0000 (19:37 +0000)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'

8 years agoITS#8336
Howard Chu [Mon, 4 Jan 2016 19:35:40 +0000 (19:35 +0000)]
ITS#8336

8 years agoITS#8336 fix page_search_root assert on FreeDB
Howard Chu [Tue, 8 Dec 2015 18:17:24 +0000 (18:17 +0000)]
ITS#8336 fix page_search_root assert on FreeDB

Let "illegal" branch pages thru on the FreeDB - the condition
is only temporary and will be fixed by the time rebalance finishes.

8 years agoMDB_RESERVE doc
Howard Chu [Tue, 22 Dec 2015 18:30:41 +0000 (18:30 +0000)]
MDB_RESERVE doc

Add mdb_put text to mdb_cursor_put description for people who
fail to draw logical conclusions.

8 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9'
Howard Chu [Sat, 19 Dec 2015 23:09:33 +0000 (23:09 +0000)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'

8 years agoITS#7992 cleanup, new docs, mdb_dbi_open cleanup
Howard Chu [Sat, 19 Dec 2015 23:06:00 +0000 (23:06 +0000)]
ITS#7992 cleanup, new docs, mdb_dbi_open cleanup

8 years agoAdd Getting Started doc
Howard Chu [Sat, 19 Dec 2015 22:53:26 +0000 (22:53 +0000)]
Add Getting Started doc

8 years agoITS#7992 cleanup
Howard Chu [Tue, 15 Dec 2015 18:45:34 +0000 (18:45 +0000)]
ITS#7992 cleanup

check for utf8_to_utf16 failures

8 years agomdb_dbi_open(): Catch strdup failure
Hallvard Furuseth [Sat, 12 Dec 2015 18:25:06 +0000 (19:25 +0100)]
mdb_dbi_open(): Catch strdup failure

8 years agoITS#8337 fix missing olcDbChecksum config attr
Howard Chu [Sat, 12 Dec 2015 16:14:02 +0000 (16:14 +0000)]
ITS#8337 fix missing olcDbChecksum config attr

8 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9'
Howard Chu [Thu, 3 Dec 2015 19:27:23 +0000 (19:27 +0000)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'

8 years agoITS#8329 finish prev commit
Howard Chu [Thu, 3 Dec 2015 19:25:32 +0000 (19:25 +0000)]
ITS#8329 finish prev commit

8 years agoITS#8329 Add the id_query config item.
Paul Terry [Thu, 3 Dec 2015 17:44:21 +0000 (17:44 +0000)]
ITS#8329 Add the id_query config item.

8 years agoITS#8169, #8330
Howard Chu [Thu, 3 Dec 2015 19:14:11 +0000 (19:14 +0000)]
ITS#8169, #8330

8 years agoITS#8330 Fix robust mutex detection for glibc 2.10 and 2.11
Sebastien Launay [Thu, 3 Dec 2015 18:42:36 +0000 (10:42 -0800)]
ITS#8330 Fix robust mutex detection for glibc 2.10 and 2.11

pthread_mutexattr_setrobust and pthread_mutex_consistent are provided since 2.12 not 2.10:
https://sourceware.org/git/?p=glibc.git;a=commit;h=402cd98775db1478f64c9b0dbe00664b89eb2773
https://sourceware.org/git/?p=glibc.git;a=commit;h=78ee21859939ff75ccf8bbe00499b0c462df2e2d

8 years agoITS#8169 more Makefile tweaks
Howard Chu [Tue, 1 Dec 2015 13:48:29 +0000 (13:48 +0000)]
ITS#8169 more Makefile tweaks

Fix prev commit, use all the same vars as main OpenLDAP makefiles

8 years agoReturn to releng
Howard Chu [Thu, 3 Dec 2015 19:08:00 +0000 (19:08 +0000)]
Return to releng

8 years agoITS#8327 fix ppolicy_get_default
Howard Chu [Thu, 3 Dec 2015 00:58:33 +0000 (00:58 +0000)]
ITS#8327 fix ppolicy_get_default

pwdMaxRecordedFailure must never be zero

8 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9'
Howard Chu [Mon, 30 Nov 2015 16:56:37 +0000 (16:56 +0000)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'

8 years agoRelease 0.9.17 LMDB_0.9.17
Howard Chu [Mon, 30 Nov 2015 16:55:33 +0000 (16:55 +0000)]
Release 0.9.17

8 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9'
Howard Chu [Mon, 30 Nov 2015 12:51:14 +0000 (12:51 +0000)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'

8 years agoITS#8321 cleanup unused var
Howard Chu [Tue, 24 Nov 2015 20:21:51 +0000 (20:21 +0000)]
ITS#8321 cleanup unused var

from da67af1a4bf1a6d3f5d173d9daf74bb4ec66175a

8 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9'
Howard Chu [Tue, 24 Nov 2015 16:10:48 +0000 (16:10 +0000)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'

8 years agoITS#8168, 8169
Howard Chu [Tue, 24 Nov 2015 16:08:53 +0000 (16:08 +0000)]
ITS#8168, 8169

8 years agoITS#8169 Allow passing mandir to make install
Heiko Becker [Thu, 11 Jun 2015 19:09:59 +0000 (21:09 +0200)]
ITS#8169 Allow passing mandir to make install

The motivation for this change is my distribution moving to a multiarch
layout. While the architecture specific stuff (binaries, libraries,
etc.) is installed under /usr/${host}/{bin,lib,...} architecture-independent
data should still be installed to /usr/share/.

8 years agoITS#8168 Allow passing AR to make
Heiko Becker [Thu, 11 Jun 2015 18:44:06 +0000 (20:44 +0200)]
ITS#8168 Allow passing AR to make

This is helpful when the ar executable is named differently, for
example with an arch specific prefix.

8 years agoITS#8323
Howard Chu [Tue, 24 Nov 2015 16:01:25 +0000 (16:01 +0000)]
ITS#8323

8 years agoITS#8321 fix ambiguity in cursor_put fixup
Howard Chu [Tue, 24 Nov 2015 15:09:49 +0000 (15:09 +0000)]
ITS#8321 fix ambiguity in cursor_put fixup

After delete/add of a node, other nodes may no longer be
pointing at the data they intended. This can confuse subsequent
fixups.

8 years agoCleanup C_DEL flag usage
Howard Chu [Tue, 24 Nov 2015 12:14:49 +0000 (12:14 +0000)]
Cleanup C_DEL flag usage

Only set it if the cursor's current position was deleted

8 years agoITS#8321 More cursor fixup
Howard Chu [Mon, 23 Nov 2015 16:58:57 +0000 (16:58 +0000)]
ITS#8321 More cursor fixup

Based on page_touch fixup from ITS#7594 but expanded:
make sure sub-cursors agree with main cursors.

8 years agoITS#8321 page_touch - don't fixup the cursor we just touched
Howard Chu [Mon, 23 Nov 2015 13:19:26 +0000 (13:19 +0000)]
ITS#8321 page_touch - don't fixup the cursor we just touched

8 years agoITS#8321 mdb_put cursor needs tracking too
Howard Chu [Tue, 24 Nov 2015 01:21:05 +0000 (01:21 +0000)]
ITS#8321 mdb_put cursor needs tracking too

8 years agoITS#8321 Fix mdb_cursor_set
Howard Chu [Mon, 23 Nov 2015 18:30:24 +0000 (18:30 +0000)]
ITS#8321 Fix mdb_cursor_set

Always reinit mc_pg[0] if cursor is not C_INITIALIZED
It might have a stale value when using nested txns

8 years agoITS#8321 deinit empty cursors
Howard Chu [Tue, 24 Nov 2015 12:54:46 +0000 (12:54 +0000)]
ITS#8321 deinit empty cursors

Always unset C_INIT flag if the cursor's target DB has been deleted

8 years agoITS#8323 Fix nested commit
Howard Chu [Mon, 23 Nov 2015 13:11:29 +0000 (13:11 +0000)]
ITS#8323 Fix nested commit

Must remove our spilled pages from parent's dirty list

8 years agoCURSOR_TMP_[UN]TRACK() -> WITH_CURSOR_TRACKING()
Hallvard Furuseth [Mon, 23 Nov 2015 12:03:09 +0000 (13:03 +0100)]
CURSOR_TMP_[UN]TRACK() -> WITH_CURSOR_TRACKING()

8 years agoITS#8319, 8320
Howard Chu [Mon, 23 Nov 2015 02:02:36 +0000 (02:02 +0000)]
ITS#8319, 8320

8 years agoITS#8320 mdb_load: fix loading data from simple text files
Orivej Desh [Sun, 22 Nov 2015 01:15:14 +0000 (01:15 +0000)]
ITS#8320 mdb_load: fix loading data from simple text files

mdb_load -T was supposed to read escaped text, but 21b51cb7 "Add mdb_load"
made it read hex.

8 years agoITS#8319 mdb_load: explain readline and mdb_cursor_put errors
Orivej Desh [Sun, 22 Nov 2015 00:59:55 +0000 (00:59 +0000)]
ITS#8319 mdb_load: explain readline and mdb_cursor_put errors

8 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9'
Howard Chu [Mon, 23 Nov 2015 01:52:30 +0000 (01:52 +0000)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'

8 years agoITS#8316, 8321
Howard Chu [Mon, 23 Nov 2015 01:51:45 +0000 (01:51 +0000)]
ITS#8316, 8321

8 years agoITS#8321 reorganize page_split fixups
Howard Chu [Mon, 23 Nov 2015 01:34:26 +0000 (01:34 +0000)]
ITS#8321 reorganize page_split fixups

DUPFIXED fixups needed to occur after separator update.
MDB_RESERVE handling moved after split fixup.