]> git.sur5r.net Git - openldap/log
openldap
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
Quanah Gibson-Mount [Tue, 22 Nov 2011 00:28:50 +0000 (16:28 -0800)]
ITS#7025 fix syncprov crash

12 years agoITS#7025 handle Abandon in backglue
Howard Chu [Tue, 23 Aug 2011 20:48:59 +0000 (13:48 -0700)]
ITS#7025 handle Abandon in backglue

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 agoFix typo
Howard Chu [Fri, 18 Nov 2011 10:28:00 +0000 (02:28 -0800)]
Fix typo

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 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 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 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 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 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 agoMore Solaris warning cleanup
Howard Chu [Wed, 9 Nov 2011 23:32:37 +0000 (15:32 -0800)]
More Solaris warning cleanup

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 agoMore pgno alignment tweaks
Howard Chu [Wed, 9 Nov 2011 08:36:50 +0000 (00:36 -0800)]
More pgno alignment tweaks

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 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#7086
Quanah Gibson-Mount [Wed, 9 Nov 2011 21:24:46 +0000 (13:24 -0800)]
ITS#7086

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 agoTweak CHANGES wordings
Hallvard Furuseth [Wed, 9 Nov 2011 14:49:00 +0000 (15:49 +0100)]
Tweak CHANGES wordings

12 years agoITS#7083
Quanah Gibson-Mount [Tue, 8 Nov 2011 00:46:00 +0000 (16:46 -0800)]
ITS#7083

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#6059 was fixed by ITS#7062
Quanah Gibson-Mount [Tue, 8 Nov 2011 00:04:01 +0000 (16:04 -0800)]
ITS#6059 was fixed by ITS#7062

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.