]> git.sur5r.net Git - openldap/log
openldap
12 years agoExclude .git* files from releases
Hallvard Furuseth [Mon, 7 Nov 2011 13:52:27 +0000 (14:52 +0100)]
Exclude .git* files from releases

12 years agoDynamic config support for back-sql (untested)
Howard Chu [Sat, 5 Nov 2011 05:00:44 +0000 (22:00 -0700)]
Dynamic config support for back-sql (untested)

13 years agoITS#7077 preserve mirrorMode setting when deleting syncrepl
Howard Chu [Fri, 4 Nov 2011 22:52:23 +0000 (15:52 -0700)]
ITS#7077 preserve mirrorMode setting when deleting syncrepl

13 years agoUpdate to match what Gavin put into RE24
Quanah Gibson-Mount [Sat, 5 Nov 2011 00:28:41 +0000 (17:28 -0700)]
Update to match what Gavin put into RE24

13 years agoFix SLAP_CONFIG_DELETE ifdef (already fixed in RE24)
Quanah Gibson-Mount [Fri, 4 Nov 2011 22:21:34 +0000 (15:21 -0700)]
Fix SLAP_CONFIG_DELETE ifdef (already fixed in RE24)

13 years agoITS#7081 fix prev commit
Howard Chu [Fri, 4 Nov 2011 18:32:38 +0000 (11:32 -0700)]
ITS#7081 fix prev commit

13 years agoMinor tweaks before ITS#7079
Howard Chu [Thu, 3 Nov 2011 22:41:44 +0000 (15:41 -0700)]
Minor tweaks before ITS#7079

13 years agoITS#6981 pcache: don't reference rs->sr_entry in op_cleanup
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

13 years agoRevert "ITS#6981 don't free entries prematurely"
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.

13 years agoITS#6981 don't free entries prematurely
Howard Chu [Tue, 1 Nov 2011 23:24:10 +0000 (16:24 -0700)]
ITS#6981 don't free entries prematurely

13 years agoRevert "ITS#6981 don't flush entries until after cleanup callbacks"
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.

13 years agoITS#6972 fix double-free in autogroup
Howard Chu [Tue, 1 Nov 2011 20:40:57 +0000 (13:40 -0700)]
ITS#6972 fix double-free in autogroup

13 years agoITS#6981 don't flush entries until after cleanup callbacks
Howard Chu [Tue, 1 Nov 2011 20:17:06 +0000 (13:17 -0700)]
ITS#6981 don't flush entries until after cleanup callbacks

13 years agoITS#7060 fix str2result return code parsing
Howard Chu [Tue, 1 Nov 2011 19:59:36 +0000 (12:59 -0700)]
ITS#7060 fix str2result return code parsing

13 years agoITS#7063 add auto-converted LDIFs for missing schema
Howard Chu [Tue, 1 Nov 2011 19:48:26 +0000 (12:48 -0700)]
ITS#7063 add auto-converted LDIFs for missing schema

13 years agoSyntaxes must come before attributetypes in schema object
Howard Chu [Tue, 1 Nov 2011 19:46:10 +0000 (12:46 -0700)]
Syntaxes must come before attributetypes in schema object

13 years agoITS#7071 check for socket() in -lnet
Howard Chu [Tue, 1 Nov 2011 19:09:01 +0000 (12:09 -0700)]
ITS#7071 check for socket() in -lnet

13 years agoITS#7065 fix cn=config modify replace/delete crash
Howard Chu [Tue, 1 Nov 2011 18:40:04 +0000 (11:40 -0700)]
ITS#7065 fix cn=config modify replace/delete crash

13 years agoITS#7061 only return requested attrs in sssvlv response
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

13 years agoITS#7062 call response callbacks even if connection was dropped
Howard Chu [Tue, 1 Nov 2011 18:02:00 +0000 (11:02 -0700)]
ITS#7062 call response callbacks even if connection was dropped

13 years agoRevert "fix libraries order to build with --enable-dynamic (ITS#6517)"
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".

13 years agoITS#7075 Fix back-perl initialization.
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.

13 years agoITS#6763,7053 Cleanup after sending entry/searchref.
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.

13 years agoOnly use tool IDL cache when multithreaded
Howard Chu [Thu, 20 Oct 2011 20:46:39 +0000 (13:46 -0700)]
Only use tool IDL cache when multithreaded

13 years agoslaptest checks a configuration, not necessarily slapd.conf
Howard Chu [Thu, 20 Oct 2011 17:39:56 +0000 (10:39 -0700)]
slaptest checks a configuration, not necessarily slapd.conf

13 years agoITS#7066 Reworked fix
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.

13 years agoplugged mem-leak introduced by last commit
Ralf Haferkamp [Wed, 19 Oct 2011 09:46:00 +0000 (11:46 +0200)]
plugged mem-leak introduced by last commit

more for ITS#7066

13 years agoThis ought to have been here a long time ago
Howard Chu [Wed, 19 Oct 2011 10:52:07 +0000 (03:52 -0700)]
This ought to have been here a long time ago

13 years agoITS#7066 reworked default deny ACL for cn=config
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.

13 years agoMerge remote branch 'origin/mdb.master'
Howard Chu [Sat, 15 Oct 2011 05:05:37 +0000 (22:05 -0700)]
Merge remote branch 'origin/mdb.master'

13 years agoAndroid/ARM portability
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

13 years agoDefine S_IWRITE if needed
Howard Chu [Thu, 13 Oct 2011 02:19:52 +0000 (19:19 -0700)]
Define S_IWRITE if needed

13 years agoAndroid defines wctomb but doesn't provide it
Howard Chu [Thu, 13 Oct 2011 02:18:05 +0000 (19:18 -0700)]
Android defines wctomb but doesn't provide it

13 years agoMerge branch 'mdb.master' of ssh://git-master.openldap.org/~git/git/openldap
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

13 years agoMore for cursor reuse
Howard Chu [Fri, 7 Oct 2011 02:15:10 +0000 (19:15 -0700)]
More for cursor reuse

13 years agoKeep some dn2i/id2e cursors open longer
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

13 years agoFix page_split with MDB_RESERVE
Howard Chu [Fri, 7 Oct 2011 01:53:07 +0000 (18:53 -0700)]
Fix page_split with MDB_RESERVE

13 years agoFix subcursor initialization
Howard Chu [Thu, 6 Oct 2011 23:11:25 +0000 (16:11 -0700)]
Fix subcursor initialization

13 years agoAdditional tweaks for double-threaded slapadd
Howard Chu [Thu, 6 Oct 2011 23:10:47 +0000 (16:10 -0700)]
Additional tweaks for double-threaded slapadd

13 years agoITS#7059 replace previous patch
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.

13 years agoFix UTF8StringNormalize overrun on zero-length string
Howard Chu [Thu, 6 Oct 2011 21:05:31 +0000 (14:05 -0700)]
Fix UTF8StringNormalize overrun on zero-length string

Detected by valgrind

13 years agoAdditional change for prev commit
Howard Chu [Wed, 5 Oct 2011 06:45:33 +0000 (23:45 -0700)]
Additional change for prev commit

13 years agoUse a thread for LDIF parsing in slapadd -q
Howard Chu [Wed, 5 Oct 2011 02:19:25 +0000 (19:19 -0700)]
Use a thread for LDIF parsing in slapadd -q

13 years agoMerge remote branch 'origin/mdb.master'
Howard Chu [Tue, 4 Oct 2011 09:22:01 +0000 (02:22 -0700)]
Merge remote branch 'origin/mdb.master'

13 years agoTurn off tool IDL caching
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.

13 years agoDon't use Append mode when splits are caused by sub-page inserts
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...

13 years agoFix freelist bug on page split
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.

13 years agoMerge remote branch 'origin/mdb.master'
Howard Chu [Mon, 3 Oct 2011 18:30:10 +0000 (11:30 -0700)]
Merge remote branch 'origin/mdb.master'

13 years agoTweak tool IDL cache, use MDB_MULTIPLE
Howard Chu [Mon, 3 Oct 2011 18:29:04 +0000 (11:29 -0700)]
Tweak tool IDL cache, use MDB_MULTIPLE

13 years agoAdd rudimentary MDB_MULTIPLE support for puts
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.

13 years agoUse MDB_APPEND mode where possible
Howard Chu [Mon, 3 Oct 2011 04:29:21 +0000 (21:29 -0700)]
Use MDB_APPEND mode where possible

13 years agoMerge remote branch 'origin/mdb.master'
Howard Chu [Mon, 3 Oct 2011 04:28:55 +0000 (21:28 -0700)]
Merge remote branch 'origin/mdb.master'

13 years agoAdd MDB_APPEND to avoid splitting full pages
Howard Chu [Mon, 3 Oct 2011 04:27:07 +0000 (21:27 -0700)]
Add MDB_APPEND to avoid splitting full pages

13 years agoFix 6e05ca17e988754ae90fde1921765ba130bb90b2
Howard Chu [Mon, 3 Oct 2011 02:52:12 +0000 (19:52 -0700)]
Fix 6e05ca17e988754ae90fde1921765ba130bb90b2

Missed a MDB_RESERVE case

13 years agoUse IDL caching in tool/quick mode
Howard Chu [Mon, 3 Oct 2011 02:31:18 +0000 (19:31 -0700)]
Use IDL caching in tool/quick mode

13 years agoMerge branch 'mdb.master' of ssh://git-master.openldap.org/~git/git/openldap
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

13 years agoAdd mdb_cursor_txn() and mdb_cursor_dbi() for querying the cursor
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

13 years agoMerge branch 'mdb.master' of ssh://git-master.openldap.org/~git/git/openldap
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

13 years agoUse MDB_RESERVE for id2entry_put
Howard Chu [Sun, 2 Oct 2011 17:06:06 +0000 (10:06 -0700)]
Use MDB_RESERVE for id2entry_put

13 years agoAdd MDB_RESERVE mode
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.)

13 years agoTweak cursor adjustment code
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

13 years agoITS#6979 avoid bash-ism
Howard Chu [Fri, 30 Sep 2011 10:34:03 +0000 (03:34 -0700)]
ITS#6979 avoid bash-ism

13 years agoITS#7006 fix MozNSS wildcard cert match
Howard Chu [Fri, 30 Sep 2011 10:27:19 +0000 (03:27 -0700)]
ITS#7006 fix MozNSS wildcard cert match

13 years agoITS#7034 use mutex for connection handshake when using PEM nss
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.

13 years agoITS#7040 don't complain about other server's CSNs
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.

13 years agoITS#7037 restart consumer on Persist errors
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.

13 years agoITS#7037 fix syncrepl_add_glue for empty suffix
Howard Chu [Fri, 30 Sep 2011 09:10:37 +0000 (02:10 -0700)]
ITS#7037 fix syncrepl_add_glue for empty suffix

13 years agoITS#7051 fix GNUtls cert dn parse
Howard Chu [Fri, 30 Sep 2011 07:41:13 +0000 (00:41 -0700)]
ITS#7051 fix GNUtls cert dn parse

13 years agoITS#7052 syncrepl deletes need a non-empty CSN
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.

13 years agoMake sure mdb_open actually got a sub-db record
Howard Chu [Fri, 30 Sep 2011 04:07:07 +0000 (21:07 -0700)]
Make sure mdb_open actually got a sub-db record

13 years agoDoc for the MDB_NOSUBDIR env option
Howard Chu [Fri, 23 Sep 2011 04:46:12 +0000 (21:46 -0700)]
Doc for the MDB_NOSUBDIR env option

13 years agoAdd MDB_NOSUBDIR 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.

13 years agoReader table notes
Howard Chu [Thu, 22 Sep 2011 11:34:40 +0000 (04:34 -0700)]
Reader table notes

13 years agoassert cleanup
Howard Chu [Thu, 22 Sep 2011 00:21:48 +0000 (17:21 -0700)]
assert cleanup

13 years agotxn_abort/commit free all their cursors now.
Howard Chu [Wed, 21 Sep 2011 23:37:29 +0000 (16:37 -0700)]
txn_abort/commit free all their cursors now.

13 years agoOnly free malloc'd cursors
Howard Chu [Wed, 21 Sep 2011 23:06:52 +0000 (16:06 -0700)]
Only free malloc'd cursors

13 years agoUpdated for mdb_txn_begin API change.
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.

13 years agoMerge remote branch 'origin/mdb.master'
Howard Chu [Wed, 21 Sep 2011 22:58:55 +0000 (15:58 -0700)]
Merge remote branch 'origin/mdb.master'

13 years agoTrack changes to all cursors.
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.

13 years agoAdd support for nested transactions.
Howard Chu [Tue, 20 Sep 2011 19:57:05 +0000 (12:57 -0700)]
Add support for nested transactions.

13 years agoback-bdb/back-mdb IDL cleanup.
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.

13 years agoCleanup ISO C compatibility for recent commits
Hallvard Furuseth [Sun, 18 Sep 2011 19:49:25 +0000 (21:49 +0200)]
Cleanup ISO C compatibility for recent commits

13 years agoMore libmdb vs back-mdb C type tweaks.
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.

13 years agoMerge branch 'mdb.master'
Hallvard Furuseth [Mon, 19 Sep 2011 08:30:30 +0000 (10:30 +0200)]
Merge branch 'mdb.master'

13 years agolibmdb IDL cleanup.
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.

13 years agoAdditional fix for prev commit
Howard Chu [Mon, 19 Sep 2011 01:26:54 +0000 (18:26 -0700)]
Additional fix for prev commit

13 years agoMerge branch 'mdb.master' of ssh://git-master.openldap.org/~git/git/openldap
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

13 years agoMake sure 2 subpages fit in one real page
Howard Chu [Mon, 19 Sep 2011 01:13:23 +0000 (18:13 -0700)]
Make sure 2 subpages fit in one real page

13 years agoMerge remote branch 'origin/mdb.master'
Howard Chu [Mon, 19 Sep 2011 00:08:40 +0000 (17:08 -0700)]
Merge remote branch 'origin/mdb.master'

13 years agoFix last delete from a subpage
Howard Chu [Mon, 19 Sep 2011 00:07:47 +0000 (17:07 -0700)]
Fix last delete from a subpage

13 years agoFix 09006ccec7928c9cf53bca6abe741e8d4d466c98
Howard Chu [Sun, 18 Sep 2011 23:39:18 +0000 (16:39 -0700)]
Fix 09006ccec7928c9cf53bca6abe741e8d4d466c98

Check for stale DBs was in the wrong place.

13 years agoFix prev commit
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.

13 years agoSupport index truncation
Howard Chu [Sun, 18 Sep 2011 21:28:36 +0000 (14:28 -0700)]
Support index truncation

13 years agoMerge branch 'mdb.master' of ssh://git-master.openldap.org/~git/git/openldap
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

13 years agoFix mdb_drop() if not deleting the DB record
Howard Chu [Sun, 18 Sep 2011 21:18:27 +0000 (14:18 -0700)]
Fix mdb_drop() if not deleting the DB record

13 years agoFix typo, minor cleanup
Howard Chu [Sun, 18 Sep 2011 20:28:08 +0000 (13:28 -0700)]
Fix typo, minor cleanup

13 years agoNew mdb_close() signature
Howard Chu [Sun, 18 Sep 2011 20:25:38 +0000 (13:25 -0700)]
New mdb_close() signature

13 years agoMerge remote branch 'origin/mdb.master'
Howard Chu [Sun, 18 Sep 2011 20:25:09 +0000 (13:25 -0700)]
Merge remote branch 'origin/mdb.master'

13 years agoSupport single parameter substitution in filter
Howard Chu [Sun, 18 Sep 2011 20:24:24 +0000 (13:24 -0700)]
Support single parameter substitution in filter

13 years agoAdd mdb_drop() for deleting a DB
Howard Chu [Sun, 18 Sep 2011 19:37:02 +0000 (12:37 -0700)]
Add mdb_drop() for deleting a DB

Allow MIDLs to grow arbitrarily, to allow unlimited number of
pages to be freed in one txn.