]> git.sur5r.net Git - openldap/log
openldap
13 years agoITS#6405 in ldap_pvt_gettime, also check for microsecs going backward
Howard Chu [Mon, 30 Nov 2009 21:47:38 +0000 (21:47 +0000)]
ITS#6405 in ldap_pvt_gettime, also check for microsecs going backward

13 years agoMore for prev commit - none of this is necessary if no_detach is true
Howard Chu [Wed, 9 Mar 2011 18:09:35 +0000 (18:09 +0000)]
More for prev commit - none of this is necessary if no_detach is true

13 years agoAdd AttributeDescription counter
Howard Chu [Tue, 6 Sep 2011 00:43:15 +0000 (17:43 -0700)]
Add AttributeDescription counter

13 years agoNote dyanmic config support for slapd-passwd, slapd-shell
Quanah Gibson-Mount [Fri, 4 Nov 2011 22:58:52 +0000 (15:58 -0700)]
Note dyanmic config support for slapd-passwd, slapd-shell

13 years agoDynamic config for back-shell
Quanah Gibson-Mount [Fri, 4 Nov 2011 22:57:44 +0000 (15:57 -0700)]
Dynamic config for back-shell

13 years agoFix typo
Howard Chu [Fri, 4 Feb 2011 12:22:55 +0000 (12:22 +0000)]
Fix typo

13 years agoDynamic config for back-passwd
Quanah Gibson-Mount [Fri, 4 Nov 2011 22:55:53 +0000 (15:55 -0700)]
Dynamic config for back-passwd

13 years agoMissing copyright bit from e0bcb7b571bcaf62bad89ca7a290e8a92f8cb714
Quanah Gibson-Mount [Fri, 4 Nov 2011 22:50:49 +0000 (15:50 -0700)]
Missing copyright bit from e0bcb7b571bcaf62bad89ca7a290e8a92f8cb714

13 years agoMore for ITS#5696 (missed parts of 4b8485c47aecdbab39db77a4ec21bf61d18ca0cf)
Quanah Gibson-Mount [Fri, 4 Nov 2011 22:45:29 +0000 (15:45 -0700)]
More for ITS#5696 (missed parts of 4b8485c47aecdbab39db77a4ec21bf61d18ca0cf)

13 years agoFix missed bit from 7af319a5715222f70b5a7da881ef5214e4bebffd
Quanah Gibson-Mount [Fri, 4 Nov 2011 22:38:33 +0000 (15:38 -0700)]
Fix missed bit from 7af319a5715222f70b5a7da881ef5214e4bebffd

13 years agoAdd overlay config stuff, handle overlay responses
Howard Chu [Fri, 4 Feb 2011 11:09:00 +0000 (11:09 +0000)]
Add overlay config stuff, handle overlay responses

13 years agoResult as overlay is always ignored
Howard Chu [Thu, 3 Feb 2011 21:35:03 +0000 (21:35 +0000)]
Result as overlay is always ignored

13 years agoMore sock overlay stuff
Howard Chu [Thu, 3 Feb 2011 21:25:42 +0000 (21:25 +0000)]
More sock overlay stuff

13 years agoNote use as an overlay
Howard Chu [Thu, 3 Feb 2011 20:53:19 +0000 (20:53 +0000)]
Note use as an overlay

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 agoFix missing image bits from commit 86afc76f8e2067cfb30fec78b3af3d2b0d1eb8dc
Quanah Gibson-Mount [Fri, 4 Nov 2011 22:28:47 +0000 (15:28 -0700)]
Fix missing image bits from commit 86afc76f8e2067cfb30fec78b3af3d2b0d1eb8dc

13 years agowhite space cleanup to match with master
Quanah Gibson-Mount [Fri, 4 Nov 2011 22:24:59 +0000 (15:24 -0700)]
white space cleanup to match with master

13 years agodelete unused variables (Missed merge from commit c02131a8b88d494e183d5f56250f59ed587...
Quanah Gibson-Mount [Fri, 4 Nov 2011 22:18:02 +0000 (15:18 -0700)]
delete unused variables (Missed merge from commit c02131a8b88d494e183d5f56250f59ed5878ba88)

13 years agoupdate year on personal notice (just to inject a commit for testing)
Kurt Zeilenga [Wed, 23 Mar 2011 19:45:09 +0000 (19:45 +0000)]
update year on personal notice (just to inject a commit for testing)

13 years agoAdd MDB support to configure and test framework.
Quanah Gibson-Mount [Fri, 4 Nov 2011 21:52:49 +0000 (14:52 -0700)]
Add MDB support to configure and test framework.

Does not update the tests themselves.

In configure --help, call it "mdb database backend" instead of something
with "memory-mapped" which could confuse somebody about a memory-only DB.

Conflicts:

servers/slapd/back-mdb/Makefile.in

Conflicts:

configure

13 years agoITS#7079
Quanah Gibson-Mount [Fri, 4 Nov 2011 21:49:18 +0000 (14:49 -0700)]
ITS#7079

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 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 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 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 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 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 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 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 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 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 agoNew mdb_close() signature
Howard Chu [Sun, 18 Sep 2011 20:25:38 +0000 (13:25 -0700)]
New mdb_close() signature

13 years agoFix entry_alloc with no attrs
Howard Chu [Wed, 14 Sep 2011 17:14:02 +0000 (10:14 -0700)]
Fix entry_alloc with no attrs

13 years agoFix onelevel search from last commit
Howard Chu [Wed, 14 Sep 2011 16:54:58 +0000 (09:54 -0700)]
Fix onelevel search from last commit

13 years agoMore search optimization
Howard Chu [Tue, 13 Sep 2011 23:58:38 +0000 (16:58 -0700)]
More search optimization

Tighten up entry_alloc/entry_decode
Track parent nodes in idscopes

13 years agoTentative speedup - use plain ints for entry_encode/decode
Howard Chu [Tue, 13 Sep 2011 22:19:04 +0000 (15:19 -0700)]
Tentative speedup - use plain ints for entry_encode/decode

Keep entries word-aligned. Yields ~10% speedup, but also 10% more space used.
May revert this if the space cost is unacceptable.

13 years agomdb_db_close() should not force env_sync in quick mode
Howard Chu [Tue, 13 Sep 2011 08:28:37 +0000 (01:28 -0700)]
mdb_db_close() should not force env_sync in quick mode

13 years agoResolve MDB/HDB monitor OID clashes
Quanah Gibson-Mount [Fri, 4 Nov 2011 21:44:01 +0000 (14:44 -0700)]
Resolve MDB/HDB monitor OID clashes

Conflicts:

servers/slapd/bconfig.c

13 years agoJust use memcpy since we know it's non-overlapping
Howard Chu [Mon, 12 Sep 2011 18:05:38 +0000 (11:05 -0700)]
Just use memcpy since we know it's non-overlapping

13 years agoTweak back-mdb integer types to match libmdb.
Hallvard Furuseth [Mon, 12 Sep 2011 13:58:43 +0000 (15:58 +0200)]
Tweak back-mdb integer types to match libmdb.

Also do not cast between berval and MDB_val.  That breaks when
sizeof(berval.bv_len) != sizeof(MDB_val.mv_size).

13 years agoFix - slapcat doesn't set op->o_hdr for tmpmemctx
Howard Chu [Sat, 10 Sep 2011 08:12:50 +0000 (01:12 -0700)]
Fix - slapcat doesn't set op->o_hdr for tmpmemctx

13 years agoFix out-of-order slapadd
Howard Chu [Sat, 10 Sep 2011 05:00:34 +0000 (22:00 -0700)]
Fix out-of-order slapadd

13 years agoFix bogus error codes
Howard Chu [Sat, 10 Sep 2011 02:53:56 +0000 (19:53 -0700)]
Fix bogus error codes

13 years agoKeep cursor open for id2entry
Howard Chu [Fri, 9 Sep 2011 07:10:48 +0000 (00:10 -0700)]
Keep cursor open for id2entry

13 years agoUse tmpmem-based entries
Howard Chu [Fri, 9 Sep 2011 05:07:04 +0000 (22:07 -0700)]
Use tmpmem-based entries

13 years agoDrop referral.c
Howard Chu [Fri, 9 Sep 2011 05:02:59 +0000 (22:02 -0700)]
Drop referral.c

13 years agoFix 6c8e4f2671b6aed41cd5098725048dbe2513612c
Howard Chu [Thu, 8 Sep 2011 17:31:04 +0000 (10:31 -0700)]
Fix 6c8e4f2671b6aed41cd5098725048dbe2513612c

13 years agoMore error msgs
Howard Chu [Wed, 7 Sep 2011 00:23:41 +0000 (17:23 -0700)]
More error msgs

13 years agoFix 6c8e4f2 for empty suffixes
Howard Chu [Tue, 6 Sep 2011 21:04:38 +0000 (14:04 -0700)]
Fix 6c8e4f2 for empty suffixes

13 years agoMore search optimizations
Howard Chu [Tue, 6 Sep 2011 09:21:19 +0000 (02:21 -0700)]
More search optimizations

13 years agoUse AD-indexes
Howard Chu [Tue, 6 Sep 2011 02:49:35 +0000 (19:49 -0700)]
Use AD-indexes

13 years agoDebug helper for index
Howard Chu [Mon, 5 Sep 2011 22:23:08 +0000 (15:23 -0700)]
Debug helper for index

13 years agoback-mdb/Makefile.in += variable MDB_SUBDIR.
Hallvard Furuseth [Mon, 5 Sep 2011 19:10:04 +0000 (21:10 +0200)]
back-mdb/Makefile.in += variable MDB_SUBDIR.

For compiling against a checkout of the stand-alone libmdb,
which has a branch 'mdb.master' with its own root:
    git clone --branch=mdb.master <openldap_repo_dir> mdb
    set_mdb="MDB_SUBDIR=`pwd`/mdb/libraries/libmdb"
    ... maybe modify mdb repository for testing ...
    cd <openldap_repo_dir>; make $set_mdb

13 years agoFix from key_change consolidation
Howard Chu [Mon, 5 Sep 2011 10:52:38 +0000 (03:52 -0700)]
Fix from key_change consolidation

13 years agoCursor updates
Howard Chu [Mon, 5 Sep 2011 08:23:35 +0000 (01:23 -0700)]
Cursor updates

13 years agoFix conversion of IDL to range
Howard Chu [Sat, 3 Sep 2011 20:09:19 +0000 (13:09 -0700)]
Fix conversion of IDL to range

13 years agoImport back-mdb
Howard Chu [Thu, 1 Sep 2011 23:52:53 +0000 (16:52 -0700)]
Import back-mdb

13 years agoMerge remote branch 'origin/mdb.master' into OPENLDAP_REL_ENG_2_4
Quanah Gibson-Mount [Fri, 4 Nov 2011 21:06:23 +0000 (14:06 -0700)]
Merge remote branch 'origin/mdb.master' into OPENLDAP_REL_ENG_2_4

13 years agoITS#6848
Quanah Gibson-Mount [Fri, 4 Nov 2011 20:27:38 +0000 (13:27 -0700)]
ITS#6848

13 years agoMore for #6848 - drop -w option, just make it default behavior
Howard Chu [Tue, 1 Mar 2011 01:31:11 +0000 (01:31 +0000)]
More for #6848 - drop -w option, just make it default behavior

13 years agoITS#6848 Add -w option to wait for DB startup before parent exits
Howard Chu [Tue, 1 Mar 2011 01:19:37 +0000 (01:19 +0000)]
ITS#6848 Add -w option to wait for DB startup before parent exits

13 years agoITS#6666
Quanah Gibson-Mount [Fri, 4 Nov 2011 20:22:54 +0000 (13:22 -0700)]
ITS#6666

13 years agoOverlay result is in rs->sr_err
Howard Chu [Fri, 4 Feb 2011 17:36:49 +0000 (17:36 +0000)]
Overlay result is in rs->sr_err

13 years agoAdd overlay config stuff, handle overlay responses
Howard Chu [Fri, 4 Feb 2011 10:52:34 +0000 (10:52 +0000)]
Add overlay config stuff, handle overlay responses

13 years agoJust use back-sock OID arc for overlay
Howard Chu [Thu, 3 Feb 2011 21:54:11 +0000 (21:54 +0000)]
Just use back-sock OID arc for overlay

13 years agoAs an overlay, always return SLAP_CB_CONTINUE
Howard Chu [Thu, 3 Feb 2011 21:34:45 +0000 (21:34 +0000)]
As an overlay, always return SLAP_CB_CONTINUE

13 years agoAdd response message for overlays
Howard Chu [Thu, 3 Feb 2011 21:24:26 +0000 (21:24 +0000)]
Add response message for overlays

13 years agoMore for overlay use, add connid extension
Howard Chu [Thu, 3 Feb 2011 20:47:38 +0000 (20:47 +0000)]
More for overlay use, add connid extension

13 years agoAdd overlay wrapper, use for triggers etc.
Howard Chu [Thu, 3 Feb 2011 20:17:23 +0000 (20:17 +0000)]
Add overlay wrapper, use for triggers etc.

13 years agoITS#6993
Quanah Gibson-Mount [Fri, 4 Nov 2011 19:30:11 +0000 (12:30 -0700)]
ITS#6993

13 years agorelease mutex only *after* backend connection initialization (ITS#6993)
Pierangelo Masarati [Mon, 22 Aug 2011 17:23:01 +0000 (11:23 -0600)]
release mutex only *after* backend connection initialization (ITS#6993)

13 years agoITS#6826
Quanah Gibson-Mount [Fri, 4 Nov 2011 19:05:17 +0000 (12:05 -0700)]
ITS#6826

13 years agoAdd CVS ID
Howard Chu [Mon, 7 Feb 2011 01:14:04 +0000 (01:14 +0000)]
Add CVS ID

13 years agoDrop unneeded scheme param
Howard Chu [Mon, 7 Feb 2011 01:12:49 +0000 (01:12 +0000)]
Drop unneeded scheme param

13 years agoAdd APR1 to Makefile/README. Add {BSDMD5} mechanism.
Howard Chu [Mon, 7 Feb 2011 01:09:47 +0000 (01:09 +0000)]
Add APR1 to Makefile/README. Add {BSDMD5} mechanism.

13 years agoReplace pw_string64 with lutil_passwd_string64
Howard Chu [Mon, 7 Feb 2011 00:47:25 +0000 (00:47 +0000)]
Replace pw_string64 with lutil_passwd_string64

13 years agoExport pw_string64 as lutil_passwd_string64
Howard Chu [Mon, 7 Feb 2011 00:46:06 +0000 (00:46 +0000)]
Export pw_string64 as lutil_passwd_string64

13 years agoUse lutil_passwd_string64 instead of pw_string64
Howard Chu [Mon, 7 Feb 2011 00:49:55 +0000 (00:49 +0000)]
Use lutil_passwd_string64 instead of pw_string64

13 years agoITS#6826 from Devin J. Pohly
Howard Chu [Mon, 7 Feb 2011 00:49:04 +0000 (00:49 +0000)]
ITS#6826 from Devin J. Pohly

13 years agoITS#3272
Quanah Gibson-Mount [Fri, 4 Nov 2011 18:58:46 +0000 (11:58 -0700)]
ITS#3272

13 years agoITS#3272 link against libslapi.la
Howard Chu [Thu, 17 Feb 2011 02:57:47 +0000 (02:57 +0000)]
ITS#3272 link against libslapi.la

13 years agoLIBSLAPITOOLS is obsolete since tools subdir is long gone
Howard Chu [Thu, 17 Feb 2011 02:56:06 +0000 (02:56 +0000)]
LIBSLAPITOOLS is obsolete since tools subdir is long gone
ITS#3272 link to libslapi.la

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 agoITS#6981
Quanah Gibson-Mount [Thu, 3 Nov 2011 23:13:48 +0000 (16:13 -0700)]
ITS#6981

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#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
Quanah Gibson-Mount [Thu, 3 Nov 2011 23:12:14 +0000 (16:12 -0700)]
ITS#7060

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#7062
Quanah Gibson-Mount [Thu, 3 Nov 2011 23:11:06 +0000 (16:11 -0700)]
ITS#7062

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 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 agoITS#7078
Quanah Gibson-Mount [Thu, 3 Nov 2011 23:04:25 +0000 (16:04 -0700)]
ITS#7078