]> git.sur5r.net Git - openldap/log
openldap
12 years agoRegenerate configure
Hallvard Furuseth [Sun, 20 Nov 2011 12:50:12 +0000 (13:50 +0100)]
Regenerate configure

12 years agoITS#6548,#7092 don't pass hangup events to reader thread
Howard Chu [Sat, 19 Nov 2011 21:57:56 +0000 (13:57 -0800)]
ITS#6548,#7092 don't pass hangup events to reader thread

12 years agoCleanup syncprov_db_close/CONFIG_DELETE code
Howard Chu [Fri, 18 Nov 2011 09:22:52 +0000 (01:22 -0800)]
Cleanup syncprov_db_close/CONFIG_DELETE code

No mutex needed since config ops are single-threaded.
Don't send Unavailable message if we're shutting down.

12 years agoITS#7025 fix syncprov crash
Howard Chu [Fri, 18 Nov 2011 08:30:34 +0000 (00:30 -0800)]
ITS#7025 fix syncprov crash

init fop.o_extra, copying from s_op is not guaranteed.

12 years agoITS#6851 replace assert with error msg
Howard Chu [Fri, 18 Nov 2011 01:31:50 +0000 (17:31 -0800)]
ITS#6851 replace assert with error msg

12 years agoMore cleanup for previous slapadd tweaks
Howard Chu [Thu, 17 Nov 2011 22:21:18 +0000 (14:21 -0800)]
More cleanup for previous slapadd tweaks

12 years agoMerge remote branch 'origin/mdb.master'
Howard Chu [Tue, 15 Nov 2011 19:23:48 +0000 (11:23 -0800)]
Merge remote branch 'origin/mdb.master'

12 years agoMore s/DEBUG/MDB_DEBUG/
Howard Chu [Tue, 15 Nov 2011 19:23:00 +0000 (11:23 -0800)]
More s/DEBUG/MDB_DEBUG/

12 years agoMerge remote branch 'origin/mdb.master'
Howard Chu [Tue, 15 Nov 2011 00:22:51 +0000 (16:22 -0800)]
Merge remote branch 'origin/mdb.master'

12 years agoAlignment fixes for debug msgs
Howard Chu [Tue, 15 Nov 2011 00:21:59 +0000 (16:21 -0800)]
Alignment fixes for debug msgs

12 years agos/DEBUG/MDB_DEBUG/
Howard Chu [Mon, 14 Nov 2011 22:40:43 +0000 (14:40 -0800)]
s/DEBUG/MDB_DEBUG/

12 years agoMerge remote branch 'origin/mdb.master'
Howard Chu [Fri, 11 Nov 2011 20:50:12 +0000 (12:50 -0800)]
Merge remote branch 'origin/mdb.master'

12 years agoAdd MDB_FDATASYNC to allow override to fsync if needed.
Howard Chu [Fri, 11 Nov 2011 20:49:11 +0000 (12:49 -0800)]
Add MDB_FDATASYNC to allow override to fsync if needed.

12 years agoMerge remote branch 'origin/mdb.master'
Howard Chu [Fri, 11 Nov 2011 19:00:14 +0000 (11:00 -0800)]
Merge remote branch 'origin/mdb.master'

12 years agoUse <inttypes.h> instead of <stdint.h>
Howard Chu [Fri, 11 Nov 2011 18:59:27 +0000 (10:59 -0800)]
Use <inttypes.h> instead of <stdint.h>

12 years agoITS#7087 fix mdb_online_index endless loop
Howard Chu [Fri, 11 Nov 2011 00:33:49 +0000 (16:33 -0800)]
ITS#7087 fix mdb_online_index endless loop

12 years agoMerge remote branch 'origin/mdb.master'
Howard Chu [Thu, 10 Nov 2011 20:43:41 +0000 (12:43 -0800)]
Merge remote branch 'origin/mdb.master'

12 years agoFix size check
Howard Chu [Thu, 10 Nov 2011 20:41:34 +0000 (12:41 -0800)]
Fix size check

12 years agoFix compile problems with older gcc releases
Ralf Haferkamp [Thu, 10 Nov 2011 15:24:46 +0000 (16:24 +0100)]
Fix compile problems with older gcc releases

12 years agoMore debug msg null pointer checks
Howard Chu [Wed, 9 Nov 2011 23:34:53 +0000 (15:34 -0800)]
More debug msg null pointer checks

12 years agoMerge remote branch 'origin/mdb.master'
Howard Chu [Wed, 9 Nov 2011 23:36:00 +0000 (15:36 -0800)]
Merge remote branch 'origin/mdb.master'

12 years agoMore Solaris warning cleanup
Howard Chu [Wed, 9 Nov 2011 23:32:37 +0000 (15:32 -0800)]
More Solaris warning cleanup

12 years agoITS#7086 Fix typo (where -> were)
Quanah Gibson-Mount [Wed, 9 Nov 2011 21:22:06 +0000 (13:22 -0800)]
ITS#7086 Fix typo (where -> were)

12 years agoCheck for NULL DN in debug msg
Howard Chu [Wed, 9 Nov 2011 10:20:26 +0000 (02:20 -0800)]
Check for NULL DN in debug msg

12 years agoCheck for NULL DN
Howard Chu [Wed, 9 Nov 2011 10:07:14 +0000 (02:07 -0800)]
Check for NULL DN

12 years agoAvoid stack overrun in mdb_search
Howard Chu [Wed, 9 Nov 2011 10:05:14 +0000 (02:05 -0800)]
Avoid stack overrun in mdb_search

Use malloc'd memory, stored persistently in thread-local storage.

12 years agoKey alignment tweaks for Sparc
Howard Chu [Wed, 9 Nov 2011 09:03:14 +0000 (01:03 -0800)]
Key alignment tweaks for Sparc

12 years agoMerge remote branch 'origin/mdb.master'
Howard Chu [Wed, 9 Nov 2011 09:02:38 +0000 (01:02 -0800)]
Merge remote branch 'origin/mdb.master'

12 years agoMore pgno alignment tweaks
Howard Chu [Wed, 9 Nov 2011 08:36:50 +0000 (00:36 -0800)]
More pgno alignment tweaks

12 years agoMerge remote branch 'origin/mdb.master'
Howard Chu [Wed, 9 Nov 2011 04:06:23 +0000 (20:06 -0800)]
Merge remote branch 'origin/mdb.master'

12 years agoAdd dummy DKEY define
Howard Chu [Wed, 9 Nov 2011 04:05:29 +0000 (20:05 -0800)]
Add dummy DKEY define

12 years agoFix u_intX -> uintX
Howard Chu [Wed, 9 Nov 2011 03:06:46 +0000 (19:06 -0800)]
Fix u_intX -> uintX

12 years agoMerge remote branch 'origin/mdb.master'
Howard Chu [Wed, 9 Nov 2011 03:05:39 +0000 (19:05 -0800)]
Merge remote branch 'origin/mdb.master'

12 years agoAdd Solaris byte-order detection
Howard Chu [Wed, 9 Nov 2011 03:04:39 +0000 (19:04 -0800)]
Add Solaris byte-order detection

12 years agoFix mdb_drop return
Howard Chu [Wed, 9 Nov 2011 00:45:45 +0000 (16:45 -0800)]
Fix mdb_drop return

12 years agoITS#7083 fix verb_to_mask usage
Howard Chu [Tue, 8 Nov 2011 00:41:35 +0000 (16:41 -0800)]
ITS#7083 fix verb_to_mask usage

12 years agoITS#7019 fix dsa-specific attr check for Persist updates
Howard Chu [Mon, 7 Nov 2011 23:23:58 +0000 (15:23 -0800)]
ITS#7019 fix dsa-specific attr check for Persist updates

12 years agoMore for ITS#6984
Quanah Gibson-Mount [Mon, 7 Nov 2011 22:14:57 +0000 (14:14 -0800)]
More for ITS#6984

12 years agoITS#6984 enable draft-wahl-ldap-session
Quanah Gibson-Mount [Mon, 7 Nov 2011 22:02:50 +0000 (14:02 -0800)]
ITS#6984 enable draft-wahl-ldap-session

12 years agoITS#7082 Fix smbk5pwd:olcSmbK5PwdEnable
David Adam [Sun, 6 Nov 2011 16:12:19 +0000 (00:12 +0800)]
ITS#7082 Fix smbk5pwd:olcSmbK5PwdEnable

12 years agoFix Quickmode crash
Howard Chu [Mon, 7 Nov 2011 20:02:02 +0000 (12:02 -0800)]
Fix Quickmode crash

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)

12 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

12 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

12 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)

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

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

12 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

12 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.

12 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

12 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.

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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".

12 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.

12 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.

12 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

12 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

12 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.

12 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

12 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

12 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.

12 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'

12 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

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

12 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

12 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

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

12 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

12 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

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

12 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

12 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.

12 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

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

12 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

12 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'

12 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.

12 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...

12 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.

12 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'

12 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

12 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.

12 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

12 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'

12 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

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

Missed a MDB_RESERVE case

12 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

12 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

12 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

12 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

12 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