]> git.sur5r.net Git - openldap/log
openldap
13 years agoITS#7090 test unordered slapadd
Howard Chu [Fri, 25 Nov 2011 09:29:34 +0000 (01:29 -0800)]
ITS#7090 test unordered slapadd

13 years agoITS#7090 fix out-of-order slapadd
Howard Chu [Fri, 25 Nov 2011 08:23:51 +0000 (00:23 -0800)]
ITS#7090 fix out-of-order slapadd

13 years agofix typos
Pierangelo Masarati [Thu, 24 Nov 2011 18:55:40 +0000 (19:55 +0100)]
fix typos

13 years agoAdd $(SOLIBS) macro for shared lib dependencies
Howard Chu [Fri, 18 Nov 2011 23:43:55 +0000 (15:43 -0800)]
Add $(SOLIBS) macro for shared lib dependencies

13 years agomake alltests += back-ldif tests
Hallvard Furuseth [Sun, 20 Nov 2011 12:53:35 +0000 (13:53 +0100)]
make alltests += back-ldif tests

13 years ago.gitignore -= Makefile in libmdb,slapd-modules/*/*
Hallvard Furuseth [Sun, 20 Nov 2011 12:53:22 +0000 (13:53 +0100)]
.gitignore -= Makefile in libmdb,slapd-modules/*/*

13 years agoITS#6548,#7092 Unbind,cleanup before client exit.
Hallvard Furuseth [Sun, 20 Nov 2011 12:52:40 +0000 (13:52 +0100)]
ITS#6548,#7092 Unbind,cleanup before client exit.

Gets rid of "(connection lost)" in slapd statslog "closed" message.

13 years agoFix uninitialized variable in ldapmodify.
Hallvard Furuseth [Sun, 20 Nov 2011 12:52:07 +0000 (13:52 +0100)]
Fix uninitialized variable in ldapmodify.

Introduced by 3a46af398cf69b0e84147e2421e555f5c5c83856.

13 years agoRegenerate configure
Hallvard Furuseth [Sun, 20 Nov 2011 12:50:12 +0000 (13:50 +0100)]
Regenerate configure

13 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

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

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

13 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

13 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

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

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

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

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

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

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

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

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

13 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>

13 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

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

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

13 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

13 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

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

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

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

13 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

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

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

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

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

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

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

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

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

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

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

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

13 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

13 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

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

13 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

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

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

13 years agoExclude .git* files from releases
Hallvard Furuseth [Mon, 7 Nov 2011 13:52:27 +0000 (14:52 +0100)]
Exclude .git* files from releases

13 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