]>
git.sur5r.net Git - openldap/log
Howard Chu [Mon, 7 Nov 2011 23:23:58 +0000 (15:23 -0800)]
ITS#7019 fix dsa-specific attr check for Persist updates
Quanah Gibson-Mount [Mon, 7 Nov 2011 22:14:57 +0000 (14:14 -0800)]
More for ITS#6984
Quanah Gibson-Mount [Mon, 7 Nov 2011 22:02:50 +0000 (14:02 -0800)]
ITS#6984 enable draft-wahl-ldap-session
David Adam [Sun, 6 Nov 2011 16:12:19 +0000 (00:12 +0800)]
ITS#7082 Fix smbk5pwd:olcSmbK5PwdEnable
Howard Chu [Mon, 7 Nov 2011 20:02:02 +0000 (12:02 -0800)]
Fix Quickmode crash
Hallvard Furuseth [Mon, 7 Nov 2011 13:52:27 +0000 (14:52 +0100)]
Exclude .git* files from releases
Howard Chu [Sat, 5 Nov 2011 05:00:44 +0000 (22:00 -0700)]
Dynamic config support for back-sql (untested)
Howard Chu [Fri, 4 Nov 2011 22:52:23 +0000 (15:52 -0700)]
ITS#7077 preserve mirrorMode setting when deleting syncrepl
Quanah Gibson-Mount [Sat, 5 Nov 2011 00:28:41 +0000 (17:28 -0700)]
Update to match what Gavin put into RE24
Quanah Gibson-Mount [Fri, 4 Nov 2011 22:21:34 +0000 (15:21 -0700)]
Fix SLAP_CONFIG_DELETE ifdef (already fixed in RE24)
Howard Chu [Fri, 4 Nov 2011 18:32:38 +0000 (11:32 -0700)]
ITS#7081 fix prev commit
Howard Chu [Thu, 3 Nov 2011 22:41:44 +0000 (15:41 -0700)]
Minor tweaks before ITS#7079
Howard Chu [Wed, 2 Nov 2011 16:26:50 +0000 (09:26 -0700)]
ITS#6981 pcache: don't reference rs->sr_entry in op_cleanup
Howard Chu [Wed, 2 Nov 2011 16:25:45 +0000 (09:25 -0700)]
Revert "ITS#6981 don't free entries prematurely"
This reverts commit
877ebdf5ef7c40e9d8aeba3894cd07f95bc721d2 .
Howard Chu [Tue, 1 Nov 2011 23:24:10 +0000 (16:24 -0700)]
ITS#6981 don't free entries prematurely
Howard Chu [Tue, 1 Nov 2011 23:14:12 +0000 (16:14 -0700)]
Revert "ITS#6981 don't flush entries until after cleanup callbacks"
This reverts commit
b68fa5ecd73037ebd436a2663003f544d482f71e .
Howard Chu [Tue, 1 Nov 2011 20:40:57 +0000 (13:40 -0700)]
ITS#6972 fix double-free in autogroup
Howard Chu [Tue, 1 Nov 2011 20:17:06 +0000 (13:17 -0700)]
ITS#6981 don't flush entries until after cleanup callbacks
Howard Chu [Tue, 1 Nov 2011 19:59:36 +0000 (12:59 -0700)]
ITS#7060 fix str2result return code parsing
Howard Chu [Tue, 1 Nov 2011 19:48:26 +0000 (12:48 -0700)]
ITS#7063 add auto-converted LDIFs for missing schema
Howard Chu [Tue, 1 Nov 2011 19:46:10 +0000 (12:46 -0700)]
Syntaxes must come before attributetypes in schema object
Howard Chu [Tue, 1 Nov 2011 19:09:01 +0000 (12:09 -0700)]
ITS#7071 check for socket() in -lnet
Howard Chu [Tue, 1 Nov 2011 18:40:04 +0000 (11:40 -0700)]
ITS#7065 fix cn=config modify replace/delete crash
Howard Chu [Tue, 1 Nov 2011 18:23:59 +0000 (11:23 -0700)]
ITS#7061 only return requested attrs in sssvlv response
Replaces commit
8eecc9a017584ea0b56b25f0e4750e3b16929de6
Howard Chu [Tue, 1 Nov 2011 18:02:00 +0000 (11:02 -0700)]
ITS#7062 call response callbacks even if connection was dropped
Ralf Haferkamp [Tue, 1 Nov 2011 14:47:57 +0000 (15:47 +0100)]
Revert "fix libraries order to build with --enable-dynamic (ITS#6517)"
This reverts commit
f8d944cba3b8572bad9bcacf495fce2ba38278ab . Not needed
anymore, since libldif was merged into libldap. Additionally the commit
broke linking with "--as-needed".
Hallvard Furuseth [Tue, 1 Nov 2011 05:28:40 +0000 (06:28 +0100)]
ITS#7075 Fix back-perl initialization.
Use PERL_SYS_INIT() instead of broken PERL_SYS_INIT3(,,NULL). Pass its
output variables to perl_parse(). Fix argument type 'char *(*argv)[3]'
to 'char ***argv'. NULL-terminate argv in case that is needed.
Hallvard Furuseth [Sun, 23 Oct 2011 12:47:38 +0000 (14:47 +0200)]
ITS#6763,7053 Cleanup after sending entry/searchref.
slap_send_search_entry(), slap_send_search_reference(): Never skip
the cleanup code. Sending an entry did on sizeLimitExceeded/busy.
Sending a ref dropped rs_flush_entry() on error.
Howard Chu [Thu, 20 Oct 2011 20:46:39 +0000 (13:46 -0700)]
Only use tool IDL cache when multithreaded
Howard Chu [Thu, 20 Oct 2011 17:39:56 +0000 (10:39 -0700)]
slaptest checks a configuration, not necessarily slapd.conf
Ralf Haferkamp [Thu, 20 Oct 2011 09:07:01 +0000 (11:07 +0200)]
ITS#7066 Reworked fix
Seems simpler this way. No need for a back-config specific
bi_access_allowed() handler.
Ralf Haferkamp [Wed, 19 Oct 2011 09:46:00 +0000 (11:46 +0200)]
plugged mem-leak introduced by last commit
more for ITS#7066
Howard Chu [Wed, 19 Oct 2011 10:52:07 +0000 (03:52 -0700)]
This ought to have been here a long time ago
Ralf Haferkamp [Tue, 18 Oct 2011 15:08:05 +0000 (17:08 +0200)]
ITS#7066 reworked default deny ACL for cn=config
Dynamically adding ACL for cn=config didn't work correctly, when no
ACLs where present for that database upon startup. Delete the last
ACL from the DB could also lead to unexpected results.
Howard Chu [Sat, 15 Oct 2011 05:05:37 +0000 (22:05 -0700)]
Merge remote branch 'origin/mdb.master'
Howard Chu [Sat, 15 Oct 2011 05:03:46 +0000 (22:03 -0700)]
Android/ARM portability
2-byte alignment isn't good enough for subpages
Howard Chu [Thu, 13 Oct 2011 02:19:52 +0000 (19:19 -0700)]
Define S_IWRITE if needed
Howard Chu [Thu, 13 Oct 2011 02:18:05 +0000 (19:18 -0700)]
Android defines wctomb but doesn't provide it
Howard Chu [Fri, 7 Oct 2011 02:15:43 +0000 (19:15 -0700)]
Merge branch 'mdb.master' of ssh://git-master.openldap.org/~git/git/openldap
Howard Chu [Fri, 7 Oct 2011 02:15:10 +0000 (19:15 -0700)]
More for cursor reuse
Howard Chu [Fri, 7 Oct 2011 02:14:22 +0000 (19:14 -0700)]
Keep some dn2i/id2e cursors open longer
So they can be reused, and avoid unnecessary page_searches
Howard Chu [Fri, 7 Oct 2011 01:53:07 +0000 (18:53 -0700)]
Fix page_split with MDB_RESERVE
Howard Chu [Thu, 6 Oct 2011 23:11:25 +0000 (16:11 -0700)]
Fix subcursor initialization
Howard Chu [Thu, 6 Oct 2011 23:10:47 +0000 (16:10 -0700)]
Additional tweaks for double-threaded slapadd
Howard Chu [Thu, 6 Oct 2011 22:22:40 +0000 (15:22 -0700)]
ITS#7059 replace previous patch
Bug was caused by postalAddressNormalize sending 0-length values
to UTF8StringNormalize.
Howard Chu [Thu, 6 Oct 2011 21:05:31 +0000 (14:05 -0700)]
Fix UTF8StringNormalize overrun on zero-length string
Detected by valgrind
Howard Chu [Wed, 5 Oct 2011 06:45:33 +0000 (23:45 -0700)]
Additional change for prev commit
Howard Chu [Wed, 5 Oct 2011 02:19:25 +0000 (19:19 -0700)]
Use a thread for LDIF parsing in slapadd -q
Howard Chu [Tue, 4 Oct 2011 09:22:01 +0000 (02:22 -0700)]
Merge remote branch 'origin/mdb.master'
Howard Chu [Tue, 4 Oct 2011 09:18:09 +0000 (02:18 -0700)]
Turn off tool IDL caching
Well, just like in back-bdb in 2005, it only slowed things down
on larger LDIFs.
Howard Chu [Tue, 4 Oct 2011 01:02:17 +0000 (18:02 -0700)]
Don't use Append mode when splits are caused by sub-page inserts
Sub-pages need room to grow...
Howard Chu [Mon, 3 Oct 2011 19:40:53 +0000 (12:40 -0700)]
Fix freelist bug on page split
NULL out env->pghead before writing it, so that its pages can't be used
to satisfy the write.
Howard Chu [Mon, 3 Oct 2011 18:30:10 +0000 (11:30 -0700)]
Merge remote branch 'origin/mdb.master'
Howard Chu [Mon, 3 Oct 2011 18:29:04 +0000 (11:29 -0700)]
Tweak tool IDL cache, use MDB_MULTIPLE
Howard Chu [Mon, 3 Oct 2011 18:25:31 +0000 (11:25 -0700)]
Add rudimentary MDB_MULTIPLE support for puts
Only for DUPFIXED DBs. Still could do better.
Howard Chu [Mon, 3 Oct 2011 04:29:21 +0000 (21:29 -0700)]
Use MDB_APPEND mode where possible
Howard Chu [Mon, 3 Oct 2011 04:28:55 +0000 (21:28 -0700)]
Merge remote branch 'origin/mdb.master'
Howard Chu [Mon, 3 Oct 2011 04:27:07 +0000 (21:27 -0700)]
Add MDB_APPEND to avoid splitting full pages
Howard Chu [Mon, 3 Oct 2011 02:52:12 +0000 (19:52 -0700)]
Howard Chu [Mon, 3 Oct 2011 02:31:18 +0000 (19:31 -0700)]
Use IDL caching in tool/quick mode
Howard Chu [Mon, 3 Oct 2011 02:36:57 +0000 (19:36 -0700)]
Merge branch 'mdb.master' of ssh://git-master.openldap.org/~git/git/openldap
Howard Chu [Mon, 3 Oct 2011 02:27:31 +0000 (19:27 -0700)]
Add mdb_cursor_txn() and mdb_cursor_dbi() for querying the cursor
Howard Chu [Sun, 2 Oct 2011 18:14:53 +0000 (11:14 -0700)]
Merge branch 'mdb.master' of ssh://git-master.openldap.org/~git/git/openldap
Howard Chu [Sun, 2 Oct 2011 17:06:06 +0000 (10:06 -0700)]
Use MDB_RESERVE for id2entry_put
Howard Chu [Sun, 2 Oct 2011 17:02:30 +0000 (10:02 -0700)]
Add MDB_RESERVE mode
When putting a record, just make space for the data, don't copy it.
(Not compatible with MDB_DUPSORT, since the actual data is needed
to determine the insert location.)
Howard Chu [Sat, 1 Oct 2011 05:15:05 +0000 (22:15 -0700)]
Tweak cursor adjustment code
Skip the original cursor that made the change
Howard Chu [Fri, 30 Sep 2011 10:34:03 +0000 (03:34 -0700)]
ITS#6979 avoid bash-ism
Howard Chu [Fri, 30 Sep 2011 10:27:19 +0000 (03:27 -0700)]
ITS#7006 fix MozNSS wildcard cert match
Rich Megginson [Tue, 6 Sep 2011 18:59:26 +0000 (12:59 -0600)]
ITS#7034 use mutex for connection handshake when using PEM nss
PEM nss is not thread safe when establishing the initial connection
using SSL_ForceHandshake. Create a new mutex - tlsm_pem_mutex - to
protect this function call.
The call to SSL_ConfigServerSessionIDCache() is not thread-safe - move it
to the init section and protect it with the init mutex.
Howard Chu [Fri, 30 Sep 2011 10:04:10 +0000 (03:04 -0700)]
ITS#7040 don't complain about other server's CSNs
Only worry if consumer has newer state for our SID. Fixes breakage
caused by ITS#6606.
Howard Chu [Fri, 30 Sep 2011 09:27:04 +0000 (02:27 -0700)]
ITS#7037 restart consumer on Persist errors
Consumer should never get NO_SUCH_OBJECT for an Add to the underlying DB
during Persist phase.
Howard Chu [Fri, 30 Sep 2011 09:10:37 +0000 (02:10 -0700)]
ITS#7037 fix syncrepl_add_glue for empty suffix
Howard Chu [Fri, 30 Sep 2011 07:41:13 +0000 (00:41 -0700)]
ITS#7051 fix GNUtls cert dn parse
Howard Chu [Fri, 30 Sep 2011 07:09:01 +0000 (00:09 -0700)]
ITS#7052 syncrepl deletes need a non-empty CSN
Must not let the underlying DB generate its own.
Howard Chu [Fri, 30 Sep 2011 04:07:07 +0000 (21:07 -0700)]
Make sure mdb_open actually got a sub-db record
Howard Chu [Fri, 23 Sep 2011 04:46:12 +0000 (21:46 -0700)]
Doc for the MDB_NOSUBDIR env option
Howard Chu [Fri, 23 Sep 2011 01:05:06 +0000 (18:05 -0700)]
Add MDB_NOSUBDIR option
Create the data file using exactly the given pathname, and
the lock file using a suffix on the data file name.
Howard Chu [Thu, 22 Sep 2011 11:34:40 +0000 (04:34 -0700)]
Reader table notes
Howard Chu [Thu, 22 Sep 2011 00:21:48 +0000 (17:21 -0700)]
assert cleanup
Howard Chu [Wed, 21 Sep 2011 23:37:29 +0000 (16:37 -0700)]
txn_abort/commit free all their cursors now.
Howard Chu [Wed, 21 Sep 2011 23:06:52 +0000 (16:06 -0700)]
Only free malloc'd cursors
Howard Chu [Wed, 21 Sep 2011 22:59:08 +0000 (15:59 -0700)]
Updated for mdb_txn_begin API change.
Nested txn stuff which we don't use.
Howard Chu [Wed, 21 Sep 2011 22:58:55 +0000 (15:58 -0700)]
Merge remote branch 'origin/mdb.master'
Howard Chu [Wed, 21 Sep 2011 21:14:11 +0000 (14:14 -0700)]
Track changes to all cursors.
For any change to a page or node, update all other cursors pointing
at the same page (or node). Cursors are now stored in a linked list
off their owning transaction. Cursors are all closed when the transaction
ends. Cursors in parent transactions are updated when their child
transaction commits.
Howard Chu [Tue, 20 Sep 2011 19:57:05 +0000 (12:57 -0700)]
Add support for nested transactions.
Hallvard Furuseth [Tue, 13 Sep 2011 07:39:28 +0000 (09:39 +0200)]
back-bdb/back-mdb IDL cleanup.
Parenthesize macros. Microoptimize IDL search. Use RANGE_<FIRST/LAST>
when IDL is known to be a range.
Hallvard Furuseth [Sun, 18 Sep 2011 19:49:25 +0000 (21:49 +0200)]
Cleanup ISO C compatibility for recent commits
Hallvard Furuseth [Sun, 18 Sep 2011 20:37:45 +0000 (22:37 +0200)]
More libmdb vs back-mdb C type tweaks.
Do not access a size_t via an unsigned long pointer, an MDB_val via a
berval pointer, or the inverse. Instead copy into the proper data types.
Hallvard Furuseth [Mon, 19 Sep 2011 08:30:30 +0000 (10:30 +0200)]
Merge branch 'mdb.master'
Hallvard Furuseth [Tue, 13 Sep 2011 07:39:28 +0000 (09:39 +0200)]
libmdb IDL cleanup.
Microoptimize IDL search.
Use RANGE_<FIRST/LAST> when IDL is known to be a range.
Howard Chu [Mon, 19 Sep 2011 01:26:54 +0000 (18:26 -0700)]
Additional fix for prev commit
Howard Chu [Mon, 19 Sep 2011 01:14:05 +0000 (18:14 -0700)]
Merge branch 'mdb.master' of ssh://git-master.openldap.org/~git/git/openldap
Howard Chu [Mon, 19 Sep 2011 01:13:23 +0000 (18:13 -0700)]
Make sure 2 subpages fit in one real page
Howard Chu [Mon, 19 Sep 2011 00:08:40 +0000 (17:08 -0700)]
Merge remote branch 'origin/mdb.master'
Howard Chu [Mon, 19 Sep 2011 00:07:47 +0000 (17:07 -0700)]
Fix last delete from a subpage
Howard Chu [Sun, 18 Sep 2011 23:39:18 +0000 (16:39 -0700)]
Fix
09006ccec7928c9cf53bca6abe741e8d4d466c98
Check for stale DBs was in the wrong place.
Howard Chu [Sun, 18 Sep 2011 21:47:41 +0000 (14:47 -0700)]
Fix prev commit
Don't truncate all indices if specific indices were given.
Howard Chu [Sun, 18 Sep 2011 21:28:36 +0000 (14:28 -0700)]
Support index truncation
Howard Chu [Sun, 18 Sep 2011 21:28:20 +0000 (14:28 -0700)]
Merge branch 'mdb.master' of ssh://git-master.openldap.org/~git/git/openldap
Howard Chu [Sun, 18 Sep 2011 21:18:27 +0000 (14:18 -0700)]
Fix mdb_drop() if not deleting the DB record