]> git.sur5r.net Git - openldap/log
openldap
10 years agoITS#7877 use nettle instead of gcrypt
Ryan Tandy [Mon, 30 Jun 2014 18:02:15 +0000 (11:02 -0700)]
ITS#7877 use nettle instead of gcrypt

10 years agoITS#7885 Wrong RPATH in contrib/passwd/Makefile
ryan@nardis.ca [Fri, 27 Jun 2014 18:23:10 +0000 (18:23 +0000)]
ITS#7885 Wrong RPATH in contrib/passwd/Makefile

Similar to #7858, another easy patch.

10 years agoITS#7887 doc tweaks
Howard Chu [Mon, 30 Jun 2014 10:21:38 +0000 (03:21 -0700)]
ITS#7887 doc tweaks

MDB is the name of the backend, LMDB is the name of the DB engine.
Also update some BerkeleyDB info.

10 years agoMerge remote-tracking branch 'origin/mdb.master'
Quanah Gibson-Mount [Tue, 24 Jun 2014 18:46:07 +0000 (13:46 -0500)]
Merge remote-tracking branch 'origin/mdb.master'

10 years agoMore for mdb_page_loose
Howard Chu [Tue, 24 Jun 2014 18:43:13 +0000 (11:43 -0700)]
More for mdb_page_loose

Require that the page is dirty in the current txn,
not a parent txn.

10 years agoMore MDB -> LMDB renames
Howard Chu [Tue, 24 Jun 2014 11:42:44 +0000 (04:42 -0700)]
More MDB -> LMDB renames

10 years agoDoc updates
Howard Chu [Tue, 24 Jun 2014 11:16:19 +0000 (04:16 -0700)]
Doc updates

Rename MDB -> LMDB
Integrate tool manpages

10 years agoFixup for win64 commit
Howard Chu [Mon, 23 Jun 2014 15:21:36 +0000 (08:21 -0700)]
Fixup for win64 commit

couldn't avoid ifdefs. Silence warnings.

10 years agoWindows64 32/64 silliness
Howard Chu [Sun, 17 Nov 2013 01:21:48 +0000 (17:21 -0800)]
Windows64 32/64 silliness

On Windows64, long is the same size as int. Use size_t when we
need an actual 64 bit unsigned long.

10 years agoITS#7879 Windows build compatibility
Howard Chu [Mon, 23 Jun 2014 14:39:06 +0000 (07:39 -0700)]
ITS#7879 Windows build compatibility

Just use srand/rand, we don't care about the quality
of the random numbers, we just want some data.

10 years agoFlesh out mdb_cmp_cint for BigEndians
Howard Chu [Mon, 23 Jun 2014 14:36:38 +0000 (07:36 -0700)]
Flesh out mdb_cmp_cint for BigEndians

10 years agoMore for page_loosen
Howard Chu [Sun, 22 Jun 2014 23:39:14 +0000 (16:39 -0700)]
More for page_loosen

Don't try this when working on the FreeDB. Again,
too much hassle to unkink the recursions...

10 years agoMore cleanup for page_merge, page_loosen
Howard Chu [Sat, 21 Jun 2014 22:53:41 +0000 (15:53 -0700)]
More cleanup for page_merge, page_loosen

Only loosen src page if it's actually dirty.
Refactor page refs in page_merge.

10 years agoSilence ptr arithmetic warnings
Howard Chu [Sat, 21 Jun 2014 15:34:45 +0000 (08:34 -0700)]
Silence ptr arithmetic warnings

10 years agoHandle loose pages
Howard Chu [Sat, 21 Jun 2014 10:30:34 +0000 (03:30 -0700)]
Handle loose pages

Pages that were dirtied and deleted in the same txn should be
reused, instead of consuming freeDB pages.

10 years agoFix mdb_page_merge
Howard Chu [Sat, 21 Jun 2014 06:40:44 +0000 (23:40 -0700)]
Fix mdb_page_merge

Similar to prev commit for mdb_node_move, the call of
mdb_page_serch_lowest() was leaving csrc unusable.

10 years agoFix mdb_node_move
Howard Chu [Sat, 21 Jun 2014 00:56:04 +0000 (17:56 -0700)]
Fix mdb_node_move

Was leaving stale info in dst cursor

10 years agoFix lineno count
Howard Chu [Fri, 20 Jun 2014 16:03:41 +0000 (09:03 -0700)]
Fix lineno count

10 years agoFix multiple subDBs
Howard Chu [Fri, 20 Jun 2014 16:00:33 +0000 (09:00 -0700)]
Fix multiple subDBs

10 years agoFix unhex
Howard Chu [Fri, 20 Jun 2014 15:56:52 +0000 (08:56 -0700)]
Fix unhex

10 years agoAdd mdb_load
Howard Chu [Fri, 20 Jun 2014 15:49:59 +0000 (08:49 -0700)]
Add mdb_load

10 years agoAdd mdb_dump, update copyrights
Howard Chu [Fri, 20 Jun 2014 12:33:31 +0000 (05:33 -0700)]
Add mdb_dump, update copyrights

10 years agoMerge remote-tracking branch 'origin/mdb.master'
Quanah Gibson-Mount [Wed, 18 Jun 2014 21:27:06 +0000 (16:27 -0500)]
Merge remote-tracking branch 'origin/mdb.master'

10 years agoBump to 0.9.13
Howard Chu [Wed, 18 Jun 2014 21:25:46 +0000 (14:25 -0700)]
Bump to 0.9.13

10 years agoBump to 0.9.13
Howard Chu [Wed, 18 Jun 2014 21:07:15 +0000 (14:07 -0700)]
Bump to 0.9.13

10 years agoITS#7793 Re-fix MDB_CURRENT doc: Match current item
Hallvard Furuseth [Wed, 18 Jun 2014 21:01:14 +0000 (23:01 +0200)]
ITS#7793 Re-fix MDB_CURRENT doc: Match current item

10 years agoFix MDB_GET_MULTIPLE/MDB_NEXT_MULTIPLE doc.
Hallvard Furuseth [Wed, 18 Jun 2014 21:01:14 +0000 (23:01 +0200)]
Fix MDB_GET_MULTIPLE/MDB_NEXT_MULTIPLE doc.

10 years agoTweak ovpage search
Howard Chu [Wed, 18 Jun 2014 20:37:04 +0000 (13:37 -0700)]
Tweak ovpage search

Use num*20, chosen from empirical testing

10 years agoFix some overwrite quirks
Howard Chu [Wed, 18 Jun 2014 19:29:13 +0000 (12:29 -0700)]
Fix some overwrite quirks

Was skipping the overwrite in some cases, if the cmp function
said the new and old already matched. We should always perform
the overwrite anyway, since the cmp function may only be doing
a prefix compare and the data may actually be different.

10 years agoTweak prev patch for ovpage search
Howard Chu [Wed, 18 Jun 2014 16:07:39 +0000 (09:07 -0700)]
Tweak prev patch for ovpage search

10 years agoShorten search for ovpage space
Howard Chu [Wed, 18 Jun 2014 10:02:08 +0000 (03:02 -0700)]
Shorten search for ovpage space

10 years agoRemove bogus file
Howard Chu [Wed, 18 Jun 2014 09:53:17 +0000 (02:53 -0700)]
Remove bogus file

added by mistake in 17c09fa476a7dbd49aca5e4caf0384cb1c3d244a

10 years agoITS#7161 ppolicy pwdFailureTime resolution should be better than 1 second
Paul B. Henson [Fri, 30 May 2014 23:47:34 +0000 (16:47 -0700)]
ITS#7161 ppolicy pwdFailureTime resolution should be better than 1 second

10 years agoMerge remote-tracking branch 'origin/mdb.master'
Quanah Gibson-Mount [Fri, 13 Jun 2014 17:54:53 +0000 (12:54 -0500)]
Merge remote-tracking branch 'origin/mdb.master'

10 years agoMerge branch 'master' of ssh://git-master.openldap.org/~git/git/openldap
Quanah Gibson-Mount [Fri, 13 Jun 2014 17:54:40 +0000 (12:54 -0500)]
Merge branch 'master' of ssh://git-master.openldap.org/~git/git/openldap

10 years agoBump version to 0.9.12
Howard Chu [Fri, 13 Jun 2014 17:46:27 +0000 (10:46 -0700)]
Bump version to 0.9.12

10 years agoMerge remote-tracking branch 'origin/mdb.master'
Quanah Gibson-Mount [Fri, 13 Jun 2014 17:37:05 +0000 (12:37 -0500)]
Merge remote-tracking branch 'origin/mdb.master'

10 years agoITS#7871 more for LDIF wrap
Howard Chu [Fri, 13 Jun 2014 17:08:07 +0000 (10:08 -0700)]
ITS#7871 more for LDIF wrap

Clients should just use 0 for default wrap, and let libldif
take care of it.

10 years agoRevert "ITS#7616 defer searches while consumer refreshing"
Howard Chu [Thu, 12 Jun 2014 20:23:29 +0000 (13:23 -0700)]
Revert "ITS#7616 defer searches while consumer refreshing"

This reverts commit cf4aa8f9d9ac77d2884a34fa0d2e52951cf06ca6.

There appears to be no safe way for this to work with MMR.

10 years agoITS#7875 fix #7681 regression
Howard Chu [Wed, 11 Jun 2014 09:27:30 +0000 (02:27 -0700)]
ITS#7875 fix #7681 regression

Due to commit 18a07eb7c2dc33372455a6040984cd6b699b41a5

10 years agoITS#7873 check for pauses
Howard Chu [Wed, 4 Jun 2014 21:24:20 +0000 (14:24 -0700)]
ITS#7873 check for pauses

10 years agoITS#7872 plug memleak of matchedDN
Howard Chu [Wed, 4 Jun 2014 21:02:06 +0000 (14:02 -0700)]
ITS#7872 plug memleak of matchedDN

10 years agoPlug one-time leaks
Howard Chu [Wed, 4 Jun 2014 09:23:18 +0000 (02:23 -0700)]
Plug one-time leaks

10 years agoITS#7871 fix ldif-wrap length
Howard Chu [Wed, 4 Jun 2014 07:52:01 +0000 (00:52 -0700)]
ITS#7871 fix ldif-wrap length

Doc has been updated to note the default was actually 78.
The off-by-two error is fixed. Note that wrap=1 will still
output 2 columns, otherwise it can't output anything besides
the continuation character.

10 years agoITS#7870 ignore index DBs in slapcat
Howard Chu [Wed, 4 Jun 2014 03:38:21 +0000 (20:38 -0700)]
ITS#7870 ignore index DBs in slapcat

10 years agoFix possible crash in DLL_THREAD_DETACH (explodes in .Net Framework)
Alexey Naumov [Sun, 25 May 2014 11:10:21 +0000 (17:10 +0600)]
Fix possible crash in DLL_THREAD_DETACH (explodes in .Net Framework)

10 years agoComment ~MDB_APPEND, from earlier commit message.
Hallvard Furuseth [Fri, 30 May 2014 08:50:04 +0000 (10:50 +0200)]
Comment ~MDB_APPEND, from earlier commit message.

10 years agoFactor out mdb_cmp_clong()
Hallvard Furuseth [Fri, 30 May 2014 08:47:56 +0000 (10:47 +0200)]
Factor out mdb_cmp_clong()

10 years agoMore for big MDB_MAXKEYSIZE with MDB_DUPSORT.
Hallvard Furuseth [Fri, 30 May 2014 08:47:56 +0000 (10:47 +0200)]
More for big MDB_MAXKEYSIZE with MDB_DUPSORT.

With mdb_cursor_put(new key, data item big enough to need a sub-DB):
- Track cursors as when adding other nodes.  The "!do_sub" is now
  unneeded.  Before ITS#7861 it distinguished inserting key from data.
- Set MDB_TXN_ERROR if an empty sub-DB was created.  I.e. adding
  key:subDB succeeded, but inserting the data item failed.

10 years agoFactor out MDB_TXN_ERROR
Hallvard Furuseth [Fri, 30 May 2014 07:06:08 +0000 (09:06 +0200)]
Factor out MDB_TXN_ERROR

10 years agoSimplify MDB_MULTIPLE
Hallvard Furuseth [Fri, 30 May 2014 07:06:08 +0000 (09:06 +0200)]
Simplify MDB_MULTIPLE

10 years agoITS#7834 Fix MDB_MULTIPLE writing multiple keys.
Hallvard Furuseth [Fri, 30 May 2014 07:06:08 +0000 (09:06 +0200)]
ITS#7834 Fix MDB_MULTIPLE writing multiple keys.

Update the state before looping, so the key is not duplicated.
Broke in 4c8f57615c5ca7b014c038e59c1045182e74f5ad (mostly).

10 years agoITS#7861 Re-fix MDB_db.md_entries.
Hallvard Furuseth [Fri, 30 May 2014 07:06:08 +0000 (09:06 +0200)]
ITS#7861 Re-fix MDB_db.md_entries.

mdb_cursor_del(): Fix md_entries with MDB_NODUPDATA.
mdb_cursor_put(): Check in xcursor whether an item got inserted. Count
data instead of keys after 13d6d59c512065db3741c20c65b4d9928b986968.

10 years agoITS#7771 mdb_cursor_put doc: Cursor moves on error
Hallvard Furuseth [Fri, 30 May 2014 07:06:08 +0000 (09:06 +0200)]
ITS#7771 mdb_cursor_put doc: Cursor moves on error

10 years agoDocument DBI issues, extend MDB_BAD_VALSIZE.
Hallvard Furuseth [Fri, 30 May 2014 07:06:08 +0000 (09:06 +0200)]
Document DBI issues, extend MDB_BAD_VALSIZE.

10 years agoMore ITS#7793 Check key->mv_size with MDB_CURRENT.
Hallvard Furuseth [Fri, 30 May 2014 07:06:08 +0000 (09:06 +0200)]
More ITS#7793 Check key->mv_size with MDB_CURRENT.

Since non-NULL key must be provided now.

10 years agoDon't do any merging if manageDSAit was used
Howard Chu [Wed, 28 May 2014 01:12:49 +0000 (18:12 -0700)]
Don't do any merging if manageDSAit was used

Just passthru search to local DB

10 years agoITS#7859 fix to read 4096-character lines
Howard Chu [Mon, 26 May 2014 18:08:14 +0000 (11:08 -0700)]
ITS#7859 fix to read 4096-character lines

10 years agoITS#7858 fix install path
Howard Chu [Sun, 25 May 2014 19:49:06 +0000 (12:49 -0700)]
ITS#7858 fix install path

10 years agoITS#7849 make sure to send cookie after fallback
Howard Chu [Fri, 23 May 2014 13:56:56 +0000 (06:56 -0700)]
ITS#7849 make sure to send cookie after fallback

10 years agoITS#7616 defer searches while consumer refreshing
Howard Chu [Fri, 23 May 2014 13:56:16 +0000 (06:56 -0700)]
ITS#7616 defer searches while consumer refreshing

10 years agoFix mdb_rebalance collapsing root
Howard Chu [Tue, 20 May 2014 15:47:28 +0000 (08:47 -0700)]
Fix mdb_rebalance collapsing root

Shift the rest of the cursor stack as needed

10 years agoITS#7705,#7800 fix prev commit
Howard Chu [Fri, 16 May 2014 04:27:21 +0000 (21:27 -0700)]
ITS#7705,#7800 fix prev commit

Better check for missing IDs

10 years agoITS#7705,#7800 fix back-mdb pagedResults search
Howard Chu [Fri, 16 May 2014 03:46:20 +0000 (20:46 -0700)]
ITS#7705,#7800 fix back-mdb pagedResults search

mdb_idscopes was remembering the IDs of every entry it checked;
it should only have been saving the IDs of entries that were
actually in the search scope. The extra entries filled the scopes
array, causing a loop searching for a parent entry that was
never inserted.

10 years agoITS#7850 catch invalid naming attr
Howard Chu [Fri, 9 May 2014 18:29:45 +0000 (11:29 -0700)]
ITS#7850 catch invalid naming attr

10 years agoITS#7847
Quanah Gibson-Mount [Mon, 5 May 2014 16:52:33 +0000 (11:52 -0500)]
ITS#7847
Add exattr bits to slapd.conf(5)

10 years ago(L)MDB updates
Quanah Gibson-Mount [Fri, 25 Apr 2014 21:04:19 +0000 (16:04 -0500)]
(L)MDB updates

10 years agoConvert quickstart guide to cn=config
Quanah Gibson-Mount [Fri, 25 Apr 2014 20:03:50 +0000 (15:03 -0500)]
Convert quickstart guide to cn=config

10 years agoRelocate the maxsize bit
Quanah Gibson-Mount [Fri, 25 Apr 2014 19:43:12 +0000 (14:43 -0500)]
Relocate the maxsize bit

10 years agoSample slapd.ldif is missing the olcDbMaxSize parameter
Quanah Gibson-Mount [Fri, 25 Apr 2014 19:36:09 +0000 (14:36 -0500)]
Sample slapd.ldif is missing the olcDbMaxSize parameter

10 years agoITS#7831 fix double-free
Howard Chu [Fri, 4 Apr 2014 10:25:17 +0000 (03:25 -0700)]
ITS#7831 fix double-free

caused by c1e937c2622abd4de708c22529a89f8e914887bd (ITS#6684)

10 years agoITS#7829 more for mdb_rebalance
Howard Chu [Thu, 3 Apr 2014 19:51:41 +0000 (12:51 -0700)]
ITS#7829 more for mdb_rebalance

Make sure to propagate rebalance results all the
way back to original caller's cursor.

10 years agoITS#7829 Simplify last commit
Hallvard Furuseth [Wed, 2 Apr 2014 05:02:14 +0000 (07:02 +0200)]
ITS#7829 Simplify last commit

10 years agoITS#7742 New: PBKDF2 module
HAMANO Tsukasa [Fri, 8 Nov 2013 08:58:00 +0000 (17:58 +0900)]
ITS#7742 New: PBKDF2 module

Signed-off-by: HAMANO Tsukasa <hamano@osstech.co.jp>
10 years agoRegenerate
Quanah Gibson-Mount [Tue, 1 Apr 2014 23:29:53 +0000 (16:29 -0700)]
Regenerate

10 years agoAfter discussion, leave old enable options for bdb/hdb unchanged
Quanah Gibson-Mount [Tue, 1 Apr 2014 23:29:13 +0000 (16:29 -0700)]
After discussion, leave old enable options for bdb/hdb unchanged

10 years agoITS#7829 more for prev commit
Howard Chu [Mon, 31 Mar 2014 20:42:19 +0000 (13:42 -0700)]
ITS#7829 more for prev commit

10 years agoITS#7829 fix rebalance
Howard Chu [Fri, 28 Mar 2014 20:51:59 +0000 (13:51 -0700)]
ITS#7829 fix rebalance

Fixup cursor state after node_move/page_merge

10 years agoITS#7793/7828
Howard Chu [Wed, 26 Mar 2014 15:59:43 +0000 (08:59 -0700)]
ITS#7793/7828

Fix md_entries count, test for insert on md_entries increment

10 years agoMore for ITS#7793/7828
Howard Chu [Wed, 26 Mar 2014 09:41:26 +0000 (02:41 -0700)]
More for ITS#7793/7828

Note MDB_CURRENT/MDB_DUPSORT requirement

10 years agoITS#7828, #7793
Howard Chu [Wed, 26 Mar 2014 09:33:51 +0000 (02:33 -0700)]
ITS#7828, #7793

Clarify MDB_CURRENT key usage, simplify freelist_save

10 years agoRevert "ITS#7793 mdb_cursor_put(): Fix MDB_CURRENT."
Howard Chu [Wed, 26 Mar 2014 09:18:20 +0000 (02:18 -0700)]
Revert "ITS#7793 mdb_cursor_put(): Fix MDB_CURRENT."

This reverts commit 4e954f8ae83d5b39736bab2da0eaf2bdf5ee3961.
Caused ITS#7828.

10 years agoITS#7827 slapacl requires a valid suffix
Howard Chu [Tue, 25 Mar 2014 22:18:17 +0000 (15:18 -0700)]
ITS#7827 slapacl requires a valid suffix

10 years agoRevert "Update MDB_PANIC description" (thinko).
Hallvard Furuseth [Sun, 23 Mar 2014 12:06:03 +0000 (13:06 +0100)]
Revert "Update MDB_PANIC description" (thinko).

This reverts commit 6bd34d0534f1c8bfd73deaf70febd3b58a2f9d5a.

10 years agoUpdate MDB_PANIC description
Hallvard Furuseth [Sat, 22 Mar 2014 21:27:10 +0000 (22:27 +0100)]
Update MDB_PANIC description

10 years agoTweak mdb_mid2l_insert() call from ITS#7775.
Hallvard Furuseth [Sat, 22 Mar 2014 21:27:10 +0000 (22:27 +0100)]
Tweak mdb_mid2l_insert() call from ITS#7775.

It does not return MDB error codes.

10 years agoRecommend mdb, deprecate BDB
Howard Chu [Thu, 20 Mar 2014 08:29:04 +0000 (01:29 -0700)]
Recommend mdb, deprecate BDB

10 years agoITS#7587 fix double-free
Howard Chu [Tue, 18 Mar 2014 18:47:31 +0000 (11:47 -0700)]
ITS#7587 fix double-free

Related to bb3e14ddba025229816e0bc5bfd0228fbaed6985 (ITS#6254)

10 years agoMerge remote-tracking branch 'origin/mdb.master'
Howard Chu [Tue, 18 Mar 2014 12:40:30 +0000 (05:40 -0700)]
Merge remote-tracking branch 'origin/mdb.master'

10 years agoITS#7723 fix reference counting
Jan Synacek [Wed, 13 Nov 2013 08:06:54 +0000 (09:06 +0100)]
ITS#7723 fix reference counting

10 years agomtest: Accept an MDB_NOTFOUND case
Hallvard Furuseth [Sun, 16 Mar 2014 11:42:43 +0000 (12:42 +0100)]
mtest: Accept an MDB_NOTFOUND case

10 years agoHandle more errors. Invalidate txn if needed.
Hallvard Furuseth [Sun, 16 Mar 2014 11:42:43 +0000 (12:42 +0100)]
Handle more errors. Invalidate txn if needed.

10 years agoDon't use non-existent node info in branch/leaf2
Hallvard Furuseth [Sun, 16 Mar 2014 11:42:42 +0000 (12:42 +0100)]
Don't use non-existent node info in branch/leaf2

10 years agoMove code out of mdb_cursor_del0() and mdb_del().
Hallvard Furuseth [Sun, 16 Mar 2014 11:42:42 +0000 (12:42 +0100)]
Move code out of mdb_cursor_del0() and mdb_del().

Prepares for the next commits.

10 years agoMore checks for closed DBIs and invalidated txns.
Hallvard Furuseth [Sun, 16 Mar 2014 11:42:42 +0000 (12:42 +0100)]
More checks for closed DBIs and invalidated txns.

Factor txn/DBI-checks out to TXN_DBI_EXIST().
mdb_audit(): Skip closed DBIs.
mdb_cursor_renew(), mdb_stat(): Check DBI and txn.
mdb_cursor_count(): Check txn.
mdb_dbi_flags(): Check DBI.

10 years agomdb_page_list(): Support & display all page types
Hallvard Furuseth [Sun, 16 Mar 2014 11:42:42 +0000 (12:42 +0100)]
mdb_page_list(): Support & display all page types

10 years agomdb_txn_renew0(): Fix un-mutexed me_flags update.
Hallvard Furuseth [Sun, 16 Mar 2014 11:42:42 +0000 (12:42 +0100)]
mdb_txn_renew0(): Fix un-mutexed me_flags update.

Replace env flag MDB_LIVE_READER with field me_live_reader.

10 years agoDoxygen fixes
Hallvard Furuseth [Sun, 16 Mar 2014 11:42:42 +0000 (12:42 +0100)]
Doxygen fixes

10 years agoRename samples
Howard Chu [Sun, 16 Mar 2014 10:55:03 +0000 (03:55 -0700)]
Rename samples

They're meant to be read and studied, not run.

10 years agoITS#7815 more for page_split
Howard Chu [Thu, 6 Mar 2014 04:40:12 +0000 (20:40 -0800)]
ITS#7815 more for page_split

This case didn't come up in testing. Needs finer grained test.