]> git.sur5r.net Git - openldap/log
openldap
9 years agoFix a1e3b1cf3c5991ef550f608ee816e9274e547dda
Howard Chu [Wed, 15 Oct 2014 10:11:08 +0000 (11:11 +0100)]
Fix a1e3b1cf3c5991ef550f608ee816e9274e547dda

copy/paste error

9 years agoFix pointer incompatibility issue on some platforms
Kurt Zeilenga [Fri, 10 Oct 2014 18:56:31 +0000 (11:56 -0700)]
Fix pointer incompatibility issue on some platforms

Don't assume tv_sec is a time_t.

9 years agoclosedir() replacement function should return a result
Kurt Zeilenga [Fri, 10 Oct 2014 19:15:48 +0000 (12:15 -0700)]
closedir() replacement function should return a result

return success, ignoring result of FindClose

9 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4
Quanah Gibson-Mount [Wed, 10 Dec 2014 23:10:13 +0000 (17:10 -0600)]
Merge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4

9 years agoITS#7987 fix excessive space for single write txn
Leo Yuriev [Fri, 5 Dec 2014 19:30:31 +0000 (19:30 +0000)]
ITS#7987 fix excessive space for single write txn

9 years agoFix WIN32 -> _WIN32
Hallvard Furuseth [Wed, 3 Dec 2014 11:27:53 +0000 (12:27 +0100)]
Fix WIN32 -> _WIN32

9 years agomdb_strerror: Silence warning @ Windows
Hallvard Furuseth [Mon, 1 Dec 2014 07:59:29 +0000 (08:59 +0100)]
mdb_strerror: Silence warning @ Windows

9 years agoFix comments
Hallvard Furuseth [Mon, 1 Dec 2014 07:59:29 +0000 (08:59 +0100)]
Fix comments

9 years agoSimplify recent changes a bit.
Hallvard Furuseth [Mon, 1 Dec 2014 07:59:29 +0000 (08:59 +0100)]
Simplify recent changes a bit.

9 years agoITS#7961,#7987 Re-fix txn init.
Hallvard Furuseth [Sat, 22 Nov 2014 21:56:31 +0000 (22:56 +0100)]
ITS#7961,#7987 Re-fix txn init.

More fallout from 4d02c741b120786df1b87ee9ed49c1d3f9bc7522:
Don't modify another thread's write txn. Reinit me_txn0 fully.

9 years agoITS#7959 fix prev commit
Howard Chu [Wed, 8 Oct 2014 18:25:27 +0000 (19:25 +0100)]
ITS#7959 fix prev commit

fstat returns -1, not an errno. Move code into its own function
for reuse.

9 years agoITS#7961 fix txn init
Howard Chu [Sat, 4 Oct 2014 20:48:49 +0000 (21:48 +0100)]
ITS#7961 fix txn init

More fallout from 4d02c741b120786df1b87ee9ed49c1d3f9bc7522

9 years agoITS#7959 Check fstat return value
Jean-Christophe DUBOIS [Fri, 3 Oct 2014 18:24:25 +0000 (20:24 +0200)]
ITS#7959 Check fstat return value

Signed-off-by: Jean-Christophe DUBOIS <jcd@tribudubois.net>
9 years agoITS#7841 trivial cleanup
Leo Yuriev [Thu, 4 Sep 2014 20:19:16 +0000 (00:19 +0400)]
ITS#7841 trivial cleanup

TRIVIA - lmdb: clean testdb-dir while "make test".

9 years agoITS#7956 fix compact of empty env
Howard Chu [Thu, 2 Oct 2014 21:11:43 +0000 (22:11 +0100)]
ITS#7956 fix compact of empty env

9 years agoITS#7955, #7671 fix MDB_PREV_DUP
Howard Chu [Thu, 2 Oct 2014 20:58:20 +0000 (21:58 +0100)]
ITS#7955, #7671 fix MDB_PREV_DUP

9 years agoITS#7953 .gitignore *.lo
Howard Chu [Thu, 2 Oct 2014 20:35:15 +0000 (21:35 +0100)]
ITS#7953 .gitignore *.lo

9 years agoITS#7952 .gitignore mdb_dump/load
Howard Chu [Thu, 2 Oct 2014 20:33:35 +0000 (21:33 +0100)]
ITS#7952 .gitignore mdb_dump/load

9 years agoDon't use -fPIC for static lib
Howard Chu [Wed, 1 Oct 2014 20:00:03 +0000 (21:00 +0100)]
Don't use -fPIC for static lib

9 years agoMust do dlist_free before releasing Wmutex
Howard Chu [Sun, 20 Jul 2014 15:10:34 +0000 (08:10 -0700)]
Must do dlist_free before releasing Wmutex

9 years agoFree write mutex earlier in txn_reset0
Howard Chu [Wed, 16 Jul 2014 16:24:45 +0000 (09:24 -0700)]
Free write mutex earlier in txn_reset0

10 years agoSilence compiler warning by adding explicit return 0 to ppolicy_db_destroy
Quanah Gibson-Mount [Fri, 3 Oct 2014 20:35:39 +0000 (15:35 -0500)]
Silence compiler warning by adding explicit return 0 to ppolicy_db_destroy

10 years agouse IANA assigned OID for dontUseCopy control, don't hide anymore
Kurt Zeilenga [Wed, 16 Mar 2011 19:24:41 +0000 (19:24 +0000)]
use IANA assigned OID for dontUseCopy control, don't hide anymore

10 years agoReturn to RE
Quanah Gibson-Mount [Thu, 30 Oct 2014 19:12:39 +0000 (14:12 -0500)]
Return to RE

10 years agoAndroid also only has memalign
Howard Chu [Thu, 25 Sep 2014 18:25:56 +0000 (19:25 +0100)]
Android also only has memalign

10 years agonew date
Howard Chu [Sat, 20 Sep 2014 06:24:32 +0000 (07:24 +0100)]
new date

10 years agoMerge remote-tracking branch 'origin/mdb.master' into OPENLDAP_REL_ENG_2_4 OPENLDAP_REL_ENG_2_4_40
Quanah Gibson-Mount [Fri, 19 Sep 2014 01:48:49 +0000 (20:48 -0500)]
Merge remote-tracking branch 'origin/mdb.master' into OPENLDAP_REL_ENG_2_4

10 years agoITS#7943 reinit txn flags
Howard Chu [Fri, 19 Sep 2014 00:45:43 +0000 (01:45 +0100)]
ITS#7943 reinit txn flags

When reusing the main write txn

10 years agoITS#7942 tweak previous commit
Howard Chu [Thu, 18 Sep 2014 05:49:26 +0000 (06:49 +0100)]
ITS#7942 tweak previous commit

Only free when cleaning up operation controls, not response controls.
(This only makes a difference on search requests, which may have
multiple responses with the same set of controls.)

10 years agoITS#7942
Quanah Gibson-Mount [Thu, 18 Sep 2014 01:59:03 +0000 (20:59 -0500)]
ITS#7942

10 years agoMerge remote-tracking branch 'origin/mdb.master' into OPENLDAP_REL_ENG_2_4
Quanah Gibson-Mount [Thu, 18 Sep 2014 01:58:02 +0000 (20:58 -0500)]
Merge remote-tracking branch 'origin/mdb.master' into OPENLDAP_REL_ENG_2_4

10 years agoITS#7942 plug leak in controls
Howard Chu [Thu, 18 Sep 2014 01:06:38 +0000 (02:06 +0100)]
ITS#7942 plug leak in controls

10 years agoPlug leak in 4d02c741b120786df1b87ee9ed49c1d3f9bc7522
Howard Chu [Thu, 18 Sep 2014 00:22:02 +0000 (01:22 +0100)]
Plug leak in 4d02c741b120786df1b87ee9ed49c1d3f9bc7522

Free writer txn on env_close

10 years agoITS#7941
Quanah Gibson-Mount [Wed, 17 Sep 2014 23:46:18 +0000 (18:46 -0500)]
ITS#7941

10 years agoITS#7941 fix for repeated tags
Howard Chu [Wed, 17 Sep 2014 23:33:33 +0000 (00:33 +0100)]
ITS#7941 fix for repeated tags

Make sure ntags isn't incremented if we're skippnig the tag

10 years agoSilence some clang warnings
Howard Chu [Tue, 16 Sep 2014 20:54:07 +0000 (21:54 +0100)]
Silence some clang warnings

10 years agoMerge remote-tracking branch 'origin/mdb.master' into OPENLDAP_REL_ENG_2_4
Quanah Gibson-Mount [Mon, 15 Sep 2014 18:53:22 +0000 (13:53 -0500)]
Merge remote-tracking branch 'origin/mdb.master' into OPENLDAP_REL_ENG_2_4

10 years agoRelease 0.9.14
Howard Chu [Mon, 15 Sep 2014 18:48:32 +0000 (19:48 +0100)]
Release 0.9.14

10 years ago2.4.40 release
Quanah Gibson-Mount [Mon, 15 Sep 2014 17:53:35 +0000 (12:53 -0500)]
2.4.40 release

10 years agoITS#7937
Quanah Gibson-Mount [Sat, 13 Sep 2014 21:27:14 +0000 (16:27 -0500)]
ITS#7937

10 years agoITS#7937 flush data to socket
Howard Chu [Thu, 11 Sep 2014 09:24:09 +0000 (10:24 +0100)]
ITS#7937 flush data to socket

10 years agoMerge remote-tracking branch 'origin/mdb.master' into OPENLDAP_REL_ENG_2_4
Quanah Gibson-Mount [Sat, 13 Sep 2014 21:26:11 +0000 (16:26 -0500)]
Merge remote-tracking branch 'origin/mdb.master' into OPENLDAP_REL_ENG_2_4

10 years agoChange retry to num times 60. Testing shows that on a known dataset, this has the...
Quanah Gibson-Mount [Sat, 13 Sep 2014 21:21:17 +0000 (16:21 -0500)]
Change retry to num times 60.  Testing shows that on a known dataset, this has the same growth behavior as 2.4.39, while num times 20 resulted in significant growth.

10 years agoITS#7915 fix memory leaks in previous patch
Leo Yuriev [Wed, 10 Sep 2014 00:08:18 +0000 (04:08 +0400)]
ITS#7915 fix memory leaks in previous patch

10 years agoMore for me_pgoldest
Howard Chu [Tue, 9 Sep 2014 18:44:23 +0000 (19:44 +0100)]
More for me_pgoldest

Leave it in main env struct, it doesn't need to be rolled back
with nested txns.

10 years agoRemember oldest reader txnid
Howard Chu [Tue, 9 Sep 2014 18:40:05 +0000 (19:40 +0100)]
Remember oldest reader txnid

Don't walk the readers table unless we really need to.

10 years agoITS#7935
Quanah Gibson-Mount [Tue, 9 Sep 2014 15:55:23 +0000 (10:55 -0500)]
ITS#7935

10 years agoITS#7935 partially revert prev patch
Howard Chu [Tue, 9 Sep 2014 13:40:11 +0000 (14:40 +0100)]
ITS#7935 partially revert prev patch

Can't allow special chars in RDN, not all OSs/filesystems support it.

10 years agoITS#7935 fix schema RDN normalization
Howard Chu [Tue, 9 Sep 2014 13:35:43 +0000 (14:35 +0100)]
ITS#7935 fix schema RDN normalization

10 years agoITS#7929
Quanah Gibson-Mount [Mon, 8 Sep 2014 16:45:29 +0000 (11:45 -0500)]
ITS#7929

10 years agoITS#7929 don't log internal searches
Howard Chu [Mon, 8 Sep 2014 14:40:28 +0000 (15:40 +0100)]
ITS#7929 don't log internal searches

10 years agoITS#7934
Quanah Gibson-Mount [Mon, 8 Sep 2014 16:43:00 +0000 (11:43 -0500)]
ITS#7934

10 years agoITS#7934 add missing normalization of attrs
Howard Chu [Mon, 8 Sep 2014 13:50:54 +0000 (14:50 +0100)]
ITS#7934 add missing normalization of attrs

10 years agoITS#7933
Quanah Gibson-Mount [Mon, 8 Sep 2014 16:38:24 +0000 (11:38 -0500)]
ITS#7933

10 years agoITS#7933 fix frontend config
Jan Synacek [Mon, 8 Sep 2014 11:32:04 +0000 (13:32 +0200)]
ITS#7933 fix frontend config

10 years agoITS#7930
Quanah Gibson-Mount [Mon, 8 Sep 2014 16:34:49 +0000 (11:34 -0500)]
ITS#7930

10 years agoITS#7930 additional fix
hyc [Sat, 6 Sep 2014 08:49:32 +0000 (09:49 +0100)]
ITS#7930 additional fix

bypass cleanup handlers for suppressed search result msgs

10 years agoITS#7930 partial fix
hyc [Sat, 6 Sep 2014 08:14:46 +0000 (09:14 +0100)]
ITS#7930 partial fix

Only restore op->o_req_dn if no one else changed it on us.

10 years agoUse a single write txn
Howard Chu [Thu, 4 Sep 2014 09:40:11 +0000 (10:40 +0100)]
Use a single write txn

10 years agoITS#7928
Quanah Gibson-Mount [Fri, 29 Aug 2014 02:19:25 +0000 (21:19 -0500)]
ITS#7928

10 years agoITS#7928 fix syncprov abandon cleanup
Howard Chu [Fri, 29 Aug 2014 01:19:35 +0000 (02:19 +0100)]
ITS#7928 fix syncprov abandon cleanup

10 years agoITS#7702 better fix
Howard Chu [Thu, 28 Aug 2014 17:21:21 +0000 (18:21 +0100)]
ITS#7702 better fix

Check for duplicate scopes in search_aliases, not later.

10 years agoRevert "ITS#7702 fix results with aliases"
Howard Chu [Thu, 28 Aug 2014 16:51:46 +0000 (17:51 +0100)]
Revert "ITS#7702 fix results with aliases"

This reverts commit cac00c6a97bbbbcec75f2ebcffaae1dd1769a28e.

10 years agoITS#7904 init wwctx earlier
Howard Chu [Wed, 27 Aug 2014 10:50:32 +0000 (11:50 +0100)]
ITS#7904 init wwctx earlier

10 years agoITS#7702
Quanah Gibson-Mount [Wed, 27 Aug 2014 16:44:51 +0000 (11:44 -0500)]
ITS#7702

10 years agoITS#7702 fix results with aliases
Howard Chu [Tue, 26 Aug 2014 19:07:40 +0000 (20:07 +0100)]
ITS#7702 fix results with aliases

Aliases pointing within the original search scope could cause
the same entry to be returned multiple times. Check for subtree
scope and duplicate scopes.

10 years agoITS#7927
Quanah Gibson-Mount [Wed, 27 Aug 2014 16:38:56 +0000 (11:38 -0500)]
ITS#7927

10 years agoITS#7927 fix double-free of searchref
Howard Chu [Tue, 26 Aug 2014 18:17:33 +0000 (19:17 +0100)]
ITS#7927 fix double-free of searchref

10 years agoMerge remote-tracking branch 'origin/mdb.master' into OPENLDAP_REL_ENG_2_4
Quanah Gibson-Mount [Mon, 25 Aug 2014 22:07:47 +0000 (17:07 -0500)]
Merge remote-tracking branch 'origin/mdb.master' into OPENLDAP_REL_ENG_2_4

10 years agoITS#7913 cleanup
Howard Chu [Sun, 24 Aug 2014 20:18:03 +0000 (21:18 +0100)]
ITS#7913 cleanup

we already checked for data == NULL, drop unnecessary if

10 years agoCleanup mdb_ad_get
Howard Chu [Fri, 22 Aug 2014 03:26:00 +0000 (20:26 -0700)]
Cleanup mdb_ad_get

10 years agoMerge remote-tracking branch 'origin/mdb.master' into OPENLDAP_REL_ENG_2_4
Quanah Gibson-Mount [Fri, 22 Aug 2014 20:24:01 +0000 (15:24 -0500)]
Merge remote-tracking branch 'origin/mdb.master' into OPENLDAP_REL_ENG_2_4

10 years agoMore for MIPS
Howard Chu [Fri, 22 Aug 2014 00:40:20 +0000 (17:40 -0700)]
More for MIPS

Move CACHEFLUSH, avoid unnecessary if()

10 years agoITS#7906,ITS#7923
Quanah Gibson-Mount [Thu, 21 Aug 2014 18:49:56 +0000 (13:49 -0500)]
ITS#7906,ITS#7923

10 years agoITS#7906,#7923 Don't free configinfo in _db_close
Howard Chu [Wed, 20 Aug 2014 20:40:19 +0000 (13:40 -0700)]
ITS#7906,#7923 Don't free configinfo in _db_close

10 years agoITS#7904 more tweaks
Howard Chu [Wed, 20 Aug 2014 20:06:51 +0000 (13:06 -0700)]
ITS#7904 more tweaks

Must save/restore mcd cursor if we're doing a scope-based search.

10 years agoITS#7922
Quanah Gibson-Mount [Wed, 20 Aug 2014 19:28:25 +0000 (14:28 -0500)]
ITS#7922

10 years agoITS#7922 delete dead code
Howard Chu [Wed, 20 Aug 2014 03:29:23 +0000 (20:29 -0700)]
ITS#7922 delete dead code

Harmless, but stupid.

10 years agoFix typo
Quanah Gibson-Mount [Mon, 18 Aug 2014 17:18:44 +0000 (12:18 -0500)]
Fix typo

10 years agoMerge remote-tracking branch 'origin/mdb.master' into OPENLDAP_REL_ENG_2_4
Quanah Gibson-Mount [Mon, 18 Aug 2014 05:00:38 +0000 (00:00 -0500)]
Merge remote-tracking branch 'origin/mdb.master' into OPENLDAP_REL_ENG_2_4

10 years agoPartially revert ada26306992babeccad0c5443fbd76e28dd24cd6
Howard Chu [Mon, 18 Aug 2014 03:44:53 +0000 (20:44 -0700)]
Partially revert ada26306992babeccad0c5443fbd76e28dd24cd6

Of course, MacOSX only has posix_memalign, and only in recent versions.
(Older versions could use valloc instead. That precludes ever changing
the LMDB pagesize to be different from the OS pagesize.) Not all that
crucial since it only affects mdb_env_copyfd1.

10 years agoMerge remote-tracking branch 'origin/mdb.master' into OPENLDAP_REL_ENG_2_4
Quanah Gibson-Mount [Sun, 17 Aug 2014 23:17:49 +0000 (18:17 -0500)]
Merge remote-tracking branch 'origin/mdb.master' into OPENLDAP_REL_ENG_2_4

10 years agoMicrooptimize loose pages
Hallvard Furuseth [Sat, 16 Aug 2014 23:50:32 +0000 (01:50 +0200)]
Microoptimize loose pages

10 years agoFix loose pages in mdb_freelist_save().
Hallvard Furuseth [Sat, 16 Aug 2014 22:29:12 +0000 (00:29 +0200)]
Fix loose pages in mdb_freelist_save().

Leaving them in dirty_list caused breakage.  Instead merge them
into me_pghead at the end, when no more pages will be allocated.

10 years agoSplit out mdb_midl_xmerge, add MDB_IDL_ALLOCLEN
Hallvard Furuseth [Sat, 16 Aug 2014 09:34:44 +0000 (11:34 +0200)]
Split out mdb_midl_xmerge, add MDB_IDL_ALLOCLEN

10 years agoAnother typo
Quanah Gibson-Mount [Fri, 15 Aug 2014 16:04:52 +0000 (11:04 -0500)]
Another typo

10 years agoFix typo
Quanah Gibson-Mount [Fri, 15 Aug 2014 16:04:20 +0000 (11:04 -0500)]
Fix typo

10 years agoITS#7920
Quanah Gibson-Mount [Thu, 14 Aug 2014 23:23:33 +0000 (18:23 -0500)]
ITS#7920

10 years ago ITS#7920 fix for slapacl
Quanah Gibson-Mount [Thu, 14 Aug 2014 23:21:35 +0000 (18:21 -0500)]
ITS#7920 fix for slapacl

    This needs to be streamlined in 2.5, current tool API is a mess.

10 years agoITS#7919
Quanah Gibson-Mount [Thu, 14 Aug 2014 23:05:38 +0000 (18:05 -0500)]
ITS#7919

10 years agoITS#7838 fix typos in prev commit
Howard Chu [Thu, 14 Aug 2014 02:53:56 +0000 (19:53 -0700)]
ITS#7838 fix typos in prev commit

10 years agoITS#7919 fix cache DB config
Howard Chu [Thu, 14 Aug 2014 02:22:17 +0000 (19:22 -0700)]
ITS#7919 fix cache DB config

Don't accept config directives for cache DB until the cache backend type
has been set.

10 years agoITS#7906 more cleanup
Howard Chu [Mon, 11 Aug 2014 20:48:29 +0000 (13:48 -0700)]
ITS#7906 more cleanup

db_open/close were not symmetric with init/destroy

10 years agoMerge remote-tracking branch 'origin/mdb.master' into OPENLDAP_REL_ENG_2_4
Quanah Gibson-Mount [Mon, 11 Aug 2014 18:45:00 +0000 (13:45 -0500)]
Merge remote-tracking branch 'origin/mdb.master' into OPENLDAP_REL_ENG_2_4

10 years agoITS#7917
Howard Chu [Mon, 11 Aug 2014 18:01:20 +0000 (11:01 -0700)]
ITS#7917

10 years agoITS#7917 fix mdb_dbi_open
Howard Chu [Mon, 11 Aug 2014 18:00:11 +0000 (11:00 -0700)]
ITS#7917 fix mdb_dbi_open

Don't let dummy go out of scope

10 years agoJust use memalign, not posix_memalign
Howard Chu [Thu, 7 Aug 2014 18:06:53 +0000 (11:06 -0700)]
Just use memalign, not posix_memalign

Everything has it. Solaris doesn't have posix_memalign.

10 years agoMerge remote-tracking branch 'origin/mdb.master' into OPENLDAP_REL_ENG_2_4
Quanah Gibson-Mount [Wed, 6 Aug 2014 16:59:30 +0000 (11:59 -0500)]
Merge remote-tracking branch 'origin/mdb.master' into OPENLDAP_REL_ENG_2_4

10 years agoITS#7906 minor cleanup
Howard Chu [Wed, 6 Aug 2014 02:37:28 +0000 (19:37 -0700)]
ITS#7906 minor cleanup

rename ppolicy_close -> ppolicy_db_close for consistency

10 years agoITS#7906 better fix
Howard Chu [Wed, 6 Aug 2014 02:36:30 +0000 (19:36 -0700)]
ITS#7906 better fix

don't free pwcons unless we're actually destroying this DB