]> git.sur5r.net Git - openldap/log
openldap
12 years agoITS#7019
Quanah Gibson-Mount [Mon, 7 Nov 2011 23:46:03 +0000 (15:46 -0800)]
ITS#7019

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
Quanah Gibson-Mount [Mon, 7 Nov 2011 22:08:56 +0000 (14:08 -0800)]
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
Quanah Gibson-Mount [Mon, 7 Nov 2011 21:49:25 +0000 (13:49 -0800)]
ITS#7082

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 agoITS#7077 preserve mirrorMode setting when deleting syncrepl
Quanah Gibson-Mount [Mon, 7 Nov 2011 21:32:21 +0000 (13:32 -0800)]
ITS#7077 preserve mirrorMode setting when deleting syncrepl

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

12 years agoSLAP_CONFIG_DELETE sync
Quanah Gibson-Mount [Mon, 7 Nov 2011 21:10:37 +0000 (13:10 -0800)]
SLAP_CONFIG_DELETE sync

12 years agoSLAP_CONFIG_DELETE updates
Quanah Gibson-Mount [Mon, 7 Nov 2011 21:10:03 +0000 (13:10 -0800)]
SLAP_CONFIG_DELETE updates

12 years agounregister controls when removing syncprov, ppolicy, valsort, chain or
Quanah Gibson-Mount [Mon, 7 Nov 2011 20:44:58 +0000 (12:44 -0800)]
unregister controls when removing syncprov, ppolicy, valsort, chain or
sssvlv overlay

12 years agoFixed last commit. gcc was complaining about defined behavior.
Ralf Haferkamp [Fri, 2 Jul 2010 07:43:29 +0000 (07:43 +0000)]
Fixed last commit. gcc was complaining about defined behavior.

12 years agonew call unregister_supported_control(), will be
Ralf Haferkamp [Wed, 30 Jun 2010 12:38:01 +0000 (12:38 +0000)]
new call unregister_supported_control(), will be
needed for cn=config delete support

12 years agoSync remaining LDAP_CONFIG_DELETE portions with master
Quanah Gibson-Mount [Mon, 7 Nov 2011 20:10:11 +0000 (12:10 -0800)]
Sync remaining LDAP_CONFIG_DELETE portions with master

12 years agoAllow deleting Cft_Misc config entries by setting a delete
Quanah Gibson-Mount [Mon, 7 Nov 2011 20:05:38 +0000 (12:05 -0800)]
Allow deleting Cft_Misc config entries by setting a delete
handler in the ConfigOCs structure

12 years agosilence warning
Ralf Haferkamp [Tue, 15 Mar 2011 16:57:41 +0000 (16:57 +0000)]
silence warning

12 years agoremoving global overlays should work now as well
Ralf Haferkamp [Tue, 15 Mar 2011 16:26:05 +0000 (16:26 +0000)]
removing global overlays should work now as well

12 years agoFixed the overlay delete code to allow removing
Ralf Haferkamp [Fri, 4 Feb 2011 16:10:11 +0000 (16:10 +0000)]
Fixed the overlay delete code to allow removing
cn=config overlays again.

12 years agouse be_ctrls[cid] for counting the number of overlay instances that have
Ralf Haferkamp [Fri, 2 Jul 2010 11:31:34 +0000 (11:31 +0000)]
use be_ctrls[cid] for counting the number of overlay instances that have
registered the control for a specific BackendDB to make sure that
the control is unregistered only after the last instance calls
overlay_unregister_control().

12 years agoNew call to unregister controls registered form overlays
Ralf Haferkamp [Thu, 1 Jul 2010 11:28:47 +0000 (11:28 +0000)]
New call to unregister controls registered form overlays

12 years agoDisallow removing global and cn=config overlays for now.
Quanah Gibson-Mount [Mon, 7 Nov 2011 20:00:33 +0000 (12:00 -0800)]
Disallow removing global and cn=config overlays for now.
Those require some special handling.

12 years agoExperimental code for delete support in back-config. Only overlays
Quanah Gibson-Mount [Mon, 7 Nov 2011 19:55:56 +0000 (11:55 -0800)]
Experimental code for delete support in back-config. Only overlays
supported currently.

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 agoPrint loop counter on failure
Howard Chu [Thu, 8 Sep 2011 06:49:41 +0000 (23:49 -0700)]
Print loop counter on failure

12 years agoMore for cn=config support
Howard Chu [Wed, 23 Feb 2011 03:46:06 +0000 (03:46 +0000)]
More for cn=config support

12 years agoFix missed part of 4ed4c3a28ff96121c6cfa19c13cd80b3c23ca8f1
Quanah Gibson-Mount [Sat, 5 Nov 2011 00:44:05 +0000 (17:44 -0700)]
Fix missed part of 4ed4c3a28ff96121c6cfa19c13cd80b3c23ca8f1

12 years agoMatch whitespace to master
Quanah Gibson-Mount [Sat, 5 Nov 2011 00:39:16 +0000 (17:39 -0700)]
Match whitespace to master

12 years agoFix missed merge (93529d26c5b0866a38e35613305fc7bc373171e3)
Quanah Gibson-Mount [Sat, 5 Nov 2011 00:34:50 +0000 (17:34 -0700)]
Fix missed merge (93529d26c5b0866a38e35613305fc7bc373171e3)

12 years agoDelete whitespace (sync with master)
Quanah Gibson-Mount [Sat, 5 Nov 2011 00:33:05 +0000 (17:33 -0700)]
Delete whitespace (sync with master)

12 years agoFix missed portion of 2fef543ef97644054c4348ab6d92020df8f8e399
Quanah Gibson-Mount [Sat, 5 Nov 2011 00:25:33 +0000 (17:25 -0700)]
Fix missed portion of 2fef543ef97644054c4348ab6d92020df8f8e399

12 years agoTests updates for mdb
Howard Chu [Fri, 2 Sep 2011 00:03:57 +0000 (17:03 -0700)]
Tests updates for mdb

12 years agoFix bad merge of fa428ed25994d8c3366fc323dbe87226662c22f2
Quanah Gibson-Mount [Sat, 5 Nov 2011 00:22:18 +0000 (17:22 -0700)]
Fix bad merge of fa428ed25994d8c3366fc323dbe87226662c22f2

12 years agomake sure data is reset
Pierangelo Masarati [Tue, 1 Feb 2011 22:58:41 +0000 (22:58 +0000)]
make sure data is reset

12 years agoMissed portion of 04f8fa5619fed389f238d780129d535a0947ee6f
Quanah Gibson-Mount [Sat, 5 Nov 2011 00:19:20 +0000 (17:19 -0700)]
Missed portion of 04f8fa5619fed389f238d780129d535a0947ee6f

12 years agoITS#5326
Quanah Gibson-Mount [Sat, 5 Nov 2011 00:01:32 +0000 (17:01 -0700)]
ITS#5326

12 years agoMore for ITS#5326 - don't free ora_e->e_name if same as o_req_dn
Howard Chu [Tue, 5 May 2009 21:54:01 +0000 (21:54 +0000)]
More for ITS#5326 - don't free ora_e->e_name if same as o_req_dn

12 years agobuild entry's pretty DN from parent's (ITS#5326)
Pierangelo Masarati [Thu, 5 Feb 2009 18:44:52 +0000 (18:44 +0000)]
build entry's pretty DN from parent's (ITS#5326)

12 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

12 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

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

12 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

12 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

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

12 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

12 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

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

12 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

12 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

12 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

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

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

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

12 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

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

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

12 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

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

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

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

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

12 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

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

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

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

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

12 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

12 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

12 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

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

12 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

12 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

12 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

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

12 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

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

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

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

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

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

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

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

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

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

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

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

12 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

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

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

12 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

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

12 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