]>
git.sur5r.net Git - openldap/log
Quanah Gibson-Mount [Wed, 23 Jul 2014 20:59:23 +0000 (15:59 -0500)]
ITS#7903
Howard Chu [Wed, 23 Jul 2014 03:24:58 +0000 (20:24 -0700)]
ITS#7903 preserve Sorted status of attrs
Howard Chu [Wed, 23 Jul 2014 03:21:35 +0000 (20:21 -0700)]
ITS#7902 fix str2entry / sorted vals
Quanah Gibson-Mount [Wed, 23 Jul 2014 20:56:56 +0000 (15:56 -0500)]
ITS#7904
Quanah Gibson-Mount [Wed, 23 Jul 2014 20:55:36 +0000 (15:55 -0500)]
ITS#7904 writewait patch
Add sc_writewait callback
Invoked before a blocked writer waits for socket to be writable.
Use in back-mdb to release reader txn while waiting.
Quanah Gibson-Mount [Tue, 22 Jul 2014 23:22:29 +0000 (18:22 -0500)]
ITS#7838
Michael Stroeder [Fri, 18 Jul 2014 20:03:21 +0000 (13:03 -0700)]
ITS#7838 add ORDERING rules to ppolicy attrs
Quanah Gibson-Mount [Tue, 22 Jul 2014 22:34:35 +0000 (17:34 -0500)]
ITS#7027
Howard Chu [Tue, 22 Jul 2014 05:05:25 +0000 (22:05 -0700)]
ITS#7027 actually implement RFC 2782 shuffle
Howard Chu [Tue, 22 Jul 2014 02:34:31 +0000 (19:34 -0700)]
ITS#7027 fix bugs in prev commit
James M Leddy [Tue, 23 Aug 2011 21:02:03 +0000 (17:02 -0400)]
ITS#7027 Implement priority/weight for DNS SRV records
From RFC 2782:
A client MUST attempt to contact the target host with the
lowest-numbered priority it can reach.
This patch sorts the DNS SRV records by their priority, and
additionally gives records with a larger weight a higher probability
of appearing earlier. This way, the DNS SRV records are tried in the
order of their priority.
Quanah Gibson-Mount [Tue, 22 Jul 2014 22:32:07 +0000 (17:32 -0500)]
ITS#6970, ITS#7249
Howard Chu [Mon, 21 Jul 2014 18:32:31 +0000 (11:32 -0700)]
ITS#6970 more error checks in add_group
Howard Chu [Mon, 21 Jul 2014 18:08:03 +0000 (11:08 -0700)]
ITS#6970 all attrset params are required
Howard Chu [Mon, 21 Jul 2014 17:46:19 +0000 (10:46 -0700)]
ITS#6970 fix deadlocks
Howard Chu [Mon, 21 Jul 2014 15:20:26 +0000 (08:20 -0700)]
ITS#7249 partial fix for memberof on frontendDB
Howard Chu [Mon, 21 Jul 2014 14:56:05 +0000 (07:56 -0700)]
ITS#6970 fix autogroup Add Entry processing
Push modifications into response callback; only execute if
main Add actually succeeded.
Quanah Gibson-Mount [Tue, 22 Jul 2014 22:24:42 +0000 (17:24 -0500)]
ITS#7868
Howard Chu [Fri, 18 Jul 2014 19:03:07 +0000 (12:03 -0700)]
ITS#7868 fix slapo-sock db_init
Quanah Gibson-Mount [Tue, 22 Jul 2014 22:23:11 +0000 (17:23 -0500)]
ITS#7860
Howard Chu [Fri, 18 Jul 2014 18:26:33 +0000 (11:26 -0700)]
ITS#7860 more for #5366, ldap_ava definition
Quanah Gibson-Mount [Tue, 22 Jul 2014 22:22:03 +0000 (17:22 -0500)]
ITS#7851
ryan@nardis.ca [Fri, 27 Jun 2014 02:18:13 +0000 (02:18 +0000)]
ITS#7851 contrib pw-sha2 fix int/size_t comparison
Ryan Tandy [Mon, 12 May 2014 01:57:34 +0000 (18:57 -0700)]
ITS#7851 tell lutil_b64_pton the correct target buffer size
Quanah Gibson-Mount [Tue, 22 Jul 2014 22:19:49 +0000 (17:19 -0500)]
ITS#7869
Howard Chu [Fri, 18 Jul 2014 16:28:27 +0000 (09:28 -0700)]
Fix EOL/whitespace
Ryan Tandy [Fri, 18 Jul 2014 16:27:14 +0000 (09:27 -0700)]
ITS#7869 fix do_phk_hash arguments
Howard Chu [Fri, 11 Jul 2014 19:38:16 +0000 (12:38 -0700)]
ITS#7859 more for revert
Howard Chu [Fri, 11 Jul 2014 19:25:47 +0000 (12:25 -0700)]
ITS#7859 refix
This was actually broken by
65e163d2 , ITS#6947. Reverting both
of those changes and fixing #6947 again.
Quanah Gibson-Mount [Tue, 22 Jul 2014 21:54:44 +0000 (16:54 -0500)]
ITS#7893
Howard Chu [Wed, 9 Jul 2014 20:07:53 +0000 (13:07 -0700)]
ITS#7893 (#6508) fix a_numvals
Howard Chu [Tue, 22 Jul 2014 21:40:48 +0000 (14:40 -0700)]
Regenerate
Quanah Gibson-Mount [Tue, 22 Jul 2014 20:33:33 +0000 (15:33 -0500)]
ITS#7891
Howard Chu [Thu, 3 Jul 2014 08:30:24 +0000 (01:30 -0700)]
Howard Chu [Wed, 2 Jul 2014 23:14:12 +0000 (16:14 -0700)]
ITS#7877 update GnuTLS version to 2.12.0
Quanah Gibson-Mount [Tue, 22 Jul 2014 19:00:40 +0000 (14:00 -0500)]
ITS#7890
Quanah Gibson-Mount [Tue, 22 Jul 2014 18:58:36 +0000 (13:58 -0500)]
ITS#7890
Drop support for BDB 6.0.20 and later, incompatible license
Quanah Gibson-Mount [Tue, 22 Jul 2014 18:51:53 +0000 (13:51 -0500)]
ITS#7877
Quanah Gibson-Mount [Tue, 22 Jul 2014 18:50:24 +0000 (13:50 -0500)]
ITS#7877 regenerate configure
Quanah Gibson-Mount [Tue, 22 Jul 2014 18:48:17 +0000 (13:48 -0500)]
ITS#7877 require GnuTLS 2.12.0 or newer
Quanah Gibson-Mount [Tue, 22 Jul 2014 18:46:20 +0000 (13:46 -0500)]
ITS#7877 assume gnutls is at least 2.12.0
Quanah Gibson-Mount [Tue, 22 Jul 2014 18:27:03 +0000 (13:27 -0500)]
ITS#7877 assume gnutls provides cipher suites
Ryan Tandy [Mon, 30 Jun 2014 18:02:15 +0000 (11:02 -0700)]
ITS#7877 use nettle instead of gcrypt
Quanah Gibson-Mount [Tue, 22 Jul 2014 17:39:19 +0000 (12:39 -0500)]
ITS#7887
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.
Quanah Gibson-Mount [Tue, 22 Jul 2014 17:34:08 +0000 (12:34 -0500)]
ITS#7885
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.
Howard Chu [Mon, 23 Jun 2014 15:21:36 +0000 (08:21 -0700)]
Fixup for win64 commit
couldn't avoid ifdefs. Silence warnings.
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.
Quanah Gibson-Mount [Tue, 22 Jul 2014 17:30:52 +0000 (12:30 -0500)]
Merge remote-tracking branch 'origin/mdb.master' into OPENLDAP_REL_ENG_2_4
Howard Chu [Tue, 22 Jul 2014 01:20:31 +0000 (18:20 -0700)]
Fix env_open mode bits
Quanah Gibson-Mount [Mon, 21 Jul 2014 16:00:41 +0000 (11:00 -0500)]
Merge remote-tracking branch 'origin/mdb.master' into OPENLDAP_REL_ENG_2_4
Howard Chu [Mon, 21 Jul 2014 15:33:59 +0000 (08:33 -0700)]
Fix mdb_cursor_count, reject uninit'd cursor
Howard Chu [Mon, 21 Jul 2014 15:11:33 +0000 (08:11 -0700)]
Silence prototype warnings
Howard Chu [Mon, 14 Jul 2014 16:53:53 +0000 (09:53 -0700)]
Typo
Howard Chu [Mon, 14 Jul 2014 16:51:16 +0000 (09:51 -0700)]
ITS#7896 fix for mdb_env_map
Don't pass non-NULL map address unless MDB_FIXEDMAP was used.
Howard Chu [Fri, 11 Jul 2014 17:10:42 +0000 (10:10 -0700)]
Fix typos
Howard Chu [Wed, 9 Jul 2014 18:21:41 +0000 (11:21 -0700)]
Add missing mdb_strerror calls to debug msgs
Quanah Gibson-Mount [Thu, 10 Jul 2014 18:38:51 +0000 (13:38 -0500)]
Merge remote-tracking branch 'origin/mdb.master' into OPENLDAP_REL_ENG_2_4
Howard Chu [Wed, 9 Jul 2014 22:03:54 +0000 (15:03 -0700)]
More for cursor EOF
Must also set in sub-cursor if deleting entire subDB
Howard Chu [Wed, 9 Jul 2014 19:05:37 +0000 (12:05 -0700)]
Zero-init copy2 writebuf
Hallvard Furuseth [Wed, 9 Jul 2014 18:18:08 +0000 (20:18 +0200)]
MDB_MAXKEYSIZE = 0 (dynamic value) when MDB_DEVEL
Hallvard Furuseth [Wed, 9 Jul 2014 18:17:13 +0000 (20:17 +0200)]
MDB_DEVEL doxygen fix
Hallvard Furuseth [Wed, 9 Jul 2014 18:16:33 +0000 (20:16 +0200)]
ITS#7789 Fix resize vs MDB_NOMETASYNC, and a comment.
Howard Chu [Wed, 9 Jul 2014 17:22:25 +0000 (10:22 -0700)]
Windows fixes
Always set the filesize when opening for writes. Otherwise
can't use backups from mdb_copy.
Howard Chu [Wed, 9 Jul 2014 16:31:49 +0000 (09:31 -0700)]
Windows compat
We mainly use Win32 functions, so cannot just use C-runtime strerror
to return error messages. We have to use Win32-specific messages.
Unfortunately, we document the API to return C-runtime error codes,
so we can't just switch to all Win32 error codes.
Howard Chu [Wed, 9 Jul 2014 16:16:03 +0000 (09:16 -0700)]
Fix loading of printable dump
Off-by-one in end check, would complain on valid input.
Howard Chu [Wed, 9 Jul 2014 13:54:32 +0000 (06:54 -0700)]
ITS#7789 more
persist size changes from env_open() as well. This was the
original behavior.
Howard Chu [Wed, 9 Jul 2014 13:17:54 +0000 (06:17 -0700)]
Revert "ITS#7789 update RESIZED errmsg text"
This reverts commit
d8e18551c3f03d5205f4dc8d1711e494d3814b17 .
And partially reverts mapsize check. Only mapsize increases are relevant.
Howard Chu [Wed, 9 Jul 2014 12:13:10 +0000 (05:13 -0700)]
ITS#7825 more
Set read txn's dbiseqs to env's. Set child txn's dbiseqs to parent's.
Simplify DBI_CHANGED test, no need to check md_name. No-op dbi_close
of already closed handle.
Howard Chu [Wed, 9 Jul 2014 04:40:11 +0000 (21:40 -0700)]
Updates #7789, #7825
Howard Chu [Wed, 9 Jul 2014 04:31:48 +0000 (21:31 -0700)]
ITS#7825 more
only update dbiseq in dbi_open on write txns
Howard Chu [Wed, 9 Jul 2014 04:22:07 +0000 (21:22 -0700)]
ITS#7825 tweak prev commit
dbiseqs are only checked in write txns so omit from read txns
Howard Chu [Wed, 9 Jul 2014 04:02:40 +0000 (21:02 -0700)]
ITS#7825 add MDB_BAD_DBI error code
Use DBI sequence numbers to detect DBIs being closed while in use.
Howard Chu [Wed, 9 Jul 2014 03:05:31 +0000 (20:05 -0700)]
ITS#7789 update RESIZED errmsg text
Howard Chu [Wed, 9 Jul 2014 02:06:45 +0000 (19:06 -0700)]
ITS#7789 persist mapsize changes
Write decreases too, not just increases. Check for any size change
that was not requested by this process.
Howard Chu [Tue, 8 Jul 2014 23:27:26 +0000 (16:27 -0700)]
Update LMDB version date/info
Howard Chu [Tue, 8 Jul 2014 23:27:03 +0000 (16:27 -0700)]
ITS#7892 Fix MacOSX section name
Quanah Gibson-Mount [Tue, 8 Jul 2014 22:22:36 +0000 (17:22 -0500)]
Merge remote-tracking branch 'origin/mdb.master' into OPENLDAP_REL_ENG_2_4
Hallvard Furuseth [Tue, 8 Jul 2014 22:01:18 +0000 (15:01 -0700)]
ITS#7713 cleanups
'#ifdef MDB_DEVEL' -> '#if MDB_DEVEL'
Fix comments, use actual PAGEBASE macro as originally intended.
Actually enable 64K pages. Set MDB_DATA_VERSION for testing only.
Hallvard Furuseth [Tue, 8 Jul 2014 18:52:53 +0000 (11:52 -0700)]
Fixes for loose pages
mdb_txn_commit(child): Give loose pages to parent.
Use a pointer beyond the page header instead of mp_next, so
we will not need to save/restore mp_pgno. This avoids a crash
caused by references to mp_pgno.
Howard Chu [Tue, 8 Jul 2014 18:54:24 +0000 (11:54 -0700)]
Re-fix cursor EOF
Fix in
534dcc721287cfe1051191a5cd7d3df6cf1dc409 was in wrong place
Howard Chu [Mon, 7 Jul 2014 16:12:22 +0000 (09:12 -0700)]
ITS#7713 handle 65536 byte page size
Fix mp_lower/mp_upper to exclude PAGEHDRSZ, which means our
max mp_upper is now pagesize - PAGEHDRSZ and won't overflow.
Currently must define MDB_DEVEL to use. Will be default for
LMDB 1.0/OpenLDAP 2.5
Howard Chu [Tue, 8 Jul 2014 00:13:51 +0000 (17:13 -0700)]
Set xcursor EOF after deleting last entry
Howard Chu [Mon, 7 Jul 2014 00:47:25 +0000 (17:47 -0700)]
Compacting copy doesn't need to snapshot metas
Howard Chu [Sun, 6 Jul 2014 14:49:38 +0000 (07:49 -0700)]
Windows fixes
Howard Chu [Sat, 5 Jul 2014 15:48:47 +0000 (08:48 -0700)]
Play games with object file layout
Use gcc section attribute to keep less frequently used functions
away from main code.
Howard Chu [Sat, 5 Jul 2014 14:49:10 +0000 (07:49 -0700)]
Rationalize mdb_env_copy2 API
Howard Chu [Thu, 3 Jul 2014 21:26:14 +0000 (14:26 -0700)]
More tweaks to copyfd2
Make sure the writer thread starts and stops when we expect it to.
Howard Chu [Thu, 3 Jul 2014 17:49:05 +0000 (10:49 -0700)]
More copyfd2 tweaks
Howard Chu [Thu, 3 Jul 2014 15:31:57 +0000 (08:31 -0700)]
Fix envinfo to return fixed map address
Howard Chu [Thu, 3 Jul 2014 14:49:22 +0000 (07:49 -0700)]
Windows compat
Howard Chu [Wed, 2 Jul 2014 18:44:06 +0000 (11:44 -0700)]
Fix subDB/ovpage copying
Howard Chu [Wed, 2 Jul 2014 15:06:19 +0000 (08:06 -0700)]
Larger WBUF still better on large DB
Howard Chu [Wed, 2 Jul 2014 14:45:12 +0000 (07:45 -0700)]
Don't check LEAF2 pages for subnodes
Howard Chu [Wed, 2 Jul 2014 04:45:43 +0000 (21:45 -0700)]
Add mdb_env_copy2()
And mdb_env_copyfd2(). Perform compaction on the copy. Trims out
freed pages and renumbers data pages in sequential order. This is
more CPU-intensive since it copies and modifies data pages.
Howard Chu [Wed, 2 Jul 2014 01:53:47 +0000 (18:53 -0700)]
dump/load need mapsize etc.
Howard Chu [Tue, 1 Jul 2014 12:11:43 +0000 (05:11 -0700)]
All diagnostics should go to stderr
Howard Chu [Mon, 30 Jun 2014 11:42:41 +0000 (04:42 -0700)]
More gcov setup tweaks
Howard Chu [Mon, 30 Jun 2014 11:41:50 +0000 (04:41 -0700)]
ITS#7886 fix mdb_copy write size
Don't try to write past end of file