]> git.sur5r.net Git - openldap/log
openldap
12 years agoITS#7123 Update the cached entry when handling compare too.
Ondrej Kuznik [Wed, 11 Jan 2012 11:46:14 +0000 (12:46 +0100)]
ITS#7123 Update the cached entry when handling compare too.

12 years agoITS#7132 Fix syncrepl access to freed naming attr
Hallvard Furuseth [Tue, 24 Jan 2012 10:35:53 +0000 (11:35 +0100)]
ITS#7132 Fix syncrepl access to freed naming attr

12 years agoSilence 'assign away const' warning
Hallvard Furuseth [Mon, 23 Jan 2012 23:47:49 +0000 (00:47 +0100)]
Silence 'assign away const' warning

12 years agothr_debug: tweak debug_already_initialized().
Hallvard Furuseth [Mon, 23 Jan 2012 23:47:49 +0000 (00:47 +0100)]
thr_debug: tweak debug_already_initialized().

With gcc, declare debug_already_initialized() as 'noinline' so
its deliberate uninitialized access stays inside the function and
valgrind can ignore it there.

12 years agoFix sl_malloc valgrind support.
Hallvard Furuseth [Mon, 23 Jan 2012 23:47:48 +0000 (00:47 +0100)]
Fix sl_malloc valgrind support.

12 years ago.gitignore += ucgendat
Hallvard Furuseth [Mon, 23 Jan 2012 23:47:48 +0000 (00:47 +0100)]
.gitignore += ucgendat

12 years agoITS#7131 Fix connection loop connindex usage.
Hallvard Furuseth [Mon, 23 Jan 2012 23:47:48 +0000 (00:47 +0100)]
ITS#7131 Fix connection loop connindex usage.

connection_<first/next>() takes a ber_socket_t *index, not int*.

12 years agoITS#7125 Document connection loop API.
Hallvard Furuseth [Mon, 23 Jan 2012 23:47:48 +0000 (00:47 +0100)]
ITS#7125 Document connection loop API.

Code comments belong in the code, not in commit messages.

12 years agoITS#7115: Tighten ldap_pvt_thread_pool_unidle().
Hallvard Furuseth [Mon, 23 Jan 2012 23:47:48 +0000 (00:47 +0100)]
ITS#7115: Tighten ldap_pvt_thread_pool_unidle().

Only wait out already-started pauses, not pause reqests.
ltp_pause now says whether a pause is requested or has started.

This reduces the chance that slapd:send_ldap_ber() will start
a pause in the middle of an operation.

12 years agoMerge remote branch 'origin/mdb.master'
Howard Chu [Sun, 22 Jan 2012 01:32:18 +0000 (17:32 -0800)]
Merge remote branch 'origin/mdb.master'

12 years agoFix typo in e8e57be42107a877f604d0c4e67115ef37681a1b
Howard Chu [Sun, 22 Jan 2012 01:31:23 +0000 (17:31 -0800)]
Fix typo in e8e57be42107a877f604d0c4e67115ef37681a1b

12 years agoITS#7113 fix check order in connection_write()
Kevan Carstensen [Sun, 22 Jan 2012 01:26:37 +0000 (17:26 -0800)]
ITS#7113 fix check order in connection_write()

12 years agoFix: txn is invalidated by mdb_txn_commit()
Howard Chu [Sat, 21 Jan 2012 16:49:49 +0000 (08:49 -0800)]
Fix: txn is invalidated by mdb_txn_commit()

12 years agoMerge remote branch 'origin/mdb.master'
Howard Chu [Sat, 21 Jan 2012 16:29:03 +0000 (08:29 -0800)]
Merge remote branch 'origin/mdb.master'

12 years agoAdd valgrind support with -DUSE_VALGRIND
Howard Chu [Sat, 21 Jan 2012 16:22:59 +0000 (08:22 -0800)]
Add valgrind support with -DUSE_VALGRIND

Track allocations and invalid accesses to freed tmp pages.

12 years agotxn_commit must abort txn before returning errors
Howard Chu [Sat, 21 Jan 2012 16:20:43 +0000 (08:20 -0800)]
txn_commit must abort txn before returning errors

Fix for failure when committing a txn that is a child of
some parent txn.

12 years agoITS#7121 fix page splits when newindx == 0
Howard Chu [Sat, 21 Jan 2012 16:18:37 +0000 (08:18 -0800)]
ITS#7121 fix page splits when newindx == 0

12 years agoITS#7126 fix cursor tracking code
Howard Chu [Sat, 21 Jan 2012 16:12:56 +0000 (08:12 -0800)]
ITS#7126 fix cursor tracking code

Don't compare cursors that aren't deep enough to match the
current cursor.

12 years agoHappy New Year!
Howard Chu [Sat, 21 Jan 2012 16:07:56 +0000 (08:07 -0800)]
Happy New Year!

12 years agoITS#7121 fix page splits when data+key size is too large
Howard Chu [Wed, 4 Jan 2012 23:25:18 +0000 (15:25 -0800)]
ITS#7121 fix page splits when data+key size is too large

12 years agoHappy New Year!
Kurt Zeilenga [Sun, 1 Jan 2012 15:07:45 +0000 (07:07 -0800)]
Happy New Year!

12 years agoITS#7075 Re-fix back-perl initialization.
Hallvard Furuseth [Sat, 21 Jan 2012 03:57:58 +0000 (04:57 +0100)]
ITS#7075 Re-fix back-perl initialization.

Use PERL_SYS_INIT3() after all.  There appears to be no correct
way to do this, so we should as least follow the documentation.

12 years agoITS#7127 fix syncrepl_config reference to freed memory
Howard Chu [Thu, 19 Jan 2012 23:55:54 +0000 (15:55 -0800)]
ITS#7127 fix syncrepl_config reference to freed memory

12 years agoClarification/warning about delta-sync backup/restore
Howard Chu [Mon, 16 Jan 2012 18:10:19 +0000 (10:10 -0800)]
Clarification/warning about delta-sync backup/restore

12 years agoITS#7125 Fix Connection.c_mutex usage.
Hallvard Furuseth [Fri, 13 Jan 2012 15:07:39 +0000 (16:07 +0100)]
ITS#7125 Fix Connection.c_mutex usage.

Partial revert of 9e00b6cc6ce2857490b33218bdaf1339319c5f60:connection.c.

12 years agoITS#7115 Re-fix tpool.c (idle/unidle)
Hallvard Furuseth [Fri, 13 Jan 2012 14:38:12 +0000 (15:38 +0100)]
ITS#7115 Re-fix tpool.c (idle/unidle)

12 years agoITS#7121 fix page splits when data+key size is too large
Howard Chu [Wed, 4 Jan 2012 23:25:18 +0000 (15:25 -0800)]
ITS#7121 fix page splits when data+key size is too large

12 years agoHappy New Year!
Kurt Zeilenga [Sun, 1 Jan 2012 15:07:45 +0000 (07:07 -0800)]
Happy New Year!

12 years agoITS#7117 fix typo
Howard Chu [Tue, 27 Dec 2011 10:07:14 +0000 (02:07 -0800)]
ITS#7117 fix typo

12 years agoITS#7115 blocked writers should not interfere with pool pause
Howard Chu [Wed, 21 Dec 2011 09:24:23 +0000 (01:24 -0800)]
ITS#7115 blocked writers should not interfere with pool pause

12 years agoDummy commit
Howard Chu [Fri, 16 Dec 2011 05:04:08 +0000 (21:04 -0800)]
Dummy commit

Subject: ITS#7111

12 years agoITS#7107 fix Operation init on reuse
Howard Chu [Tue, 13 Dec 2011 23:53:38 +0000 (15:53 -0800)]
ITS#7107 fix Operation init on reuse

Additional fix for a66fb1630cc1134ed4e2a3d5a6a4983e6c4bae86

12 years agoITS#7050 fix uninit'd return code in back-meta
Howard Chu [Mon, 12 Dec 2011 19:50:29 +0000 (11:50 -0800)]
ITS#7050 fix uninit'd return code in back-meta

12 years agoITS#6979 clean up previous test062 fix
Hallvard Furuseth [Wed, 30 Nov 2011 11:00:43 +0000 (12:00 +0100)]
ITS#6979 clean up previous test062 fix

12 years agoITS#7101 test001: Skip back-ldif unordered slapadd
Hallvard Furuseth [Wed, 30 Nov 2011 10:41:50 +0000 (11:41 +0100)]
ITS#7101 test001: Skip back-ldif unordered slapadd

12 years agoITS#7098 fix del/add of first schema element
Howard Chu [Tue, 29 Nov 2011 16:16:34 +0000 (08:16 -0800)]
ITS#7098 fix del/add of first schema element

12 years agoITS#7099 fix dds db_open
Howard Chu [Tue, 29 Nov 2011 13:57:36 +0000 (05:57 -0800)]
ITS#7099 fix dds db_open

Should not do anything in tool mode.

12 years agoITS#7099 fix mdb_entry_return for tool mode
Howard Chu [Tue, 29 Nov 2011 13:42:46 +0000 (05:42 -0800)]
ITS#7099 fix mdb_entry_return for tool mode

Originally, overlays were not supposed to take effect in tool mode.
Apparently that's no longer the case...

12 years agoITS#7090 test unordered slapadd
Howard Chu [Fri, 25 Nov 2011 09:29:34 +0000 (01:29 -0800)]
ITS#7090 test unordered slapadd

12 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

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

12 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

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

12 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/*/*

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

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

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

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