]>
git.sur5r.net Git - openldap/log
Howard Chu [Sat, 31 Jan 2015 12:52:56 +0000 (12:52 +0000)]
ITS#8039 cleanup
Howard Chu [Sat, 31 Jan 2015 01:12:54 +0000 (01:12 +0000)]
More for presentlist_free
Howard Chu [Sat, 31 Jan 2015 01:03:23 +0000 (01:03 +0000)]
More for presentlist (ITS#8042)
Howard Chu [Sat, 31 Jan 2015 00:12:29 +0000 (00:12 +0000)]
ITS#8039 fix prev commit
Don't overload ri_csn with cookie, use a separate berval
Howard Chu [Fri, 30 Jan 2015 08:55:47 +0000 (08:55 +0000)]
ITS#8039 plug syncprov memleak
Rewrote the psearch result handling to keep track of which
queues are using which results.
Howard Chu [Fri, 30 Jan 2015 08:06:11 +0000 (08:06 +0000)]
Fix prev commit
Howard Chu [Fri, 30 Jan 2015 00:54:21 +0000 (00:54 +0000)]
Streamline presentlist
This reduces presentlist memory usage by about 50%. It's still
about 2.5x greater than it should be.
Howard Chu [Thu, 29 Jan 2015 05:15:33 +0000 (05:15 +0000)]
ITS#8038 free presentlist at end of refresh
Howard Chu [Tue, 27 Jan 2015 23:53:19 +0000 (23:53 +0000)]
ITS#8036 cleanup prev commit
Howard Chu [Tue, 27 Jan 2015 23:38:32 +0000 (23:38 +0000)]
ITS#8036 more for prev commit
Hallvard Breien Furuseth [Tue, 27 Jan 2015 22:37:46 +0000 (23:37 +0100)]
Update wrap_slap_ops.
Catch a new bi_op_bind[]() case. Silence warnings in END{}.
Howard Chu [Tue, 27 Jan 2015 22:26:33 +0000 (22:26 +0000)]
ITS#8036 fix regression from ITS#7904
Howard Chu [Tue, 27 Jan 2015 20:29:34 +0000 (20:29 +0000)]
ITS#8035 plug memleaks in syncrepl
Howard Chu [Tue, 27 Jan 2015 18:30:23 +0000 (18:30 +0000)]
ITS#8011 fix prev patch
Remove assert. This is merely a cache of parent DNs, failure to
insert doesn't affect outcome.
Howard Chu [Thu, 22 Jan 2015 01:39:18 +0000 (01:39 +0000)]
ITS#8032 document LDAP_OPT_API_INFO/FEATURE_INFO
Howard Chu [Wed, 21 Jan 2015 01:02:12 +0000 (01:02 +0000)]
ITS#8028 fix ldap_new_connection
Howard Chu [Mon, 19 Jan 2015 22:25:53 +0000 (22:25 +0000)]
ITS#8027 require non-empty AttributeList
Quanah Gibson-Mount [Mon, 19 Jan 2015 19:31:51 +0000 (13:31 -0600)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'
Hallvard Furuseth [Thu, 15 Jan 2015 06:19:30 +0000 (07:19 +0100)]
Restrictive mdb_copy file mode.
Copied from
58ddb5527bd4868bb7017cfe2051bc2e24bcf5a8.
Howard Chu [Wed, 14 Jan 2015 21:46:57 +0000 (21:46 +0000)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'
Howard Chu [Wed, 14 Jan 2015 20:27:49 +0000 (20:27 +0000)]
Howard Chu [Wed, 14 Jan 2015 19:05:17 +0000 (19:05 +0000)]
Howard Chu [Wed, 14 Jan 2015 18:56:12 +0000 (18:56 +0000)]
GSER issuer quoting fix (coverity)
leo@yuriev.ru [Fri, 17 Oct 2014 22:35:41 +0000 (22:35 +0000)]
ITS#7970 LMDB: Critical Heisenbug
Inconsistent reading & SIGSEGV due to the race condition.
leo@yuriev.ru [Fri, 17 Oct 2014 22:22:39 +0000 (22:22 +0000)]
ITS#7969 LMDB: volatile.
Globally shared fields of meta-data were not 'volatile'.
Code from
9a80a8a8e8feed56fbccd8851b8a789f7fff9c11,
except the unportable __synchronize().
Howard Chu [Wed, 14 Jan 2015 17:47:44 +0000 (17:47 +0000)]
Minor cleanup (coverity)
Howard Chu [Wed, 14 Jan 2015 14:35:35 +0000 (14:35 +0000)]
Minor cleanup (coverity)
Howard Chu [Wed, 14 Jan 2015 14:16:24 +0000 (14:16 +0000)]
Plug leak (coverity)
Howard Chu [Wed, 14 Jan 2015 14:04:03 +0000 (14:04 +0000)]
Minor cleanup (coverity)
Howard Chu [Wed, 14 Jan 2015 12:55:34 +0000 (12:55 +0000)]
Minor cleanup (coverity)
Howard Chu [Wed, 14 Jan 2015 12:27:28 +0000 (12:27 +0000)]
Minor cleanup (coverity)
Howard Chu [Wed, 14 Jan 2015 12:23:19 +0000 (12:23 +0000)]
Minor cleanup (coverity)
Howard Chu [Wed, 14 Jan 2015 12:16:24 +0000 (12:16 +0000)]
Minor cleanup (coverity)
Howard Chu [Wed, 14 Jan 2015 11:14:43 +0000 (11:14 +0000)]
Minor cleanup (coverity)
Howard Chu [Wed, 14 Jan 2015 10:46:04 +0000 (10:46 +0000)]
Minor cleanup (coverity)
Howard Chu [Wed, 14 Jan 2015 10:37:13 +0000 (10:37 +0000)]
Fix missing error return (coverity)
Howard Chu [Wed, 14 Jan 2015 10:35:20 +0000 (10:35 +0000)]
Fix UTF8stringvalidate loop termination (coverity)
Howard Chu [Wed, 14 Jan 2015 10:22:50 +0000 (10:22 +0000)]
Fix NULL in debug output (coverity)
Howard Chu [Wed, 14 Jan 2015 10:13:16 +0000 (10:13 +0000)]
check ber_scanf(syncUUIDs) result (coverity)
Howard Chu [Tue, 13 Jan 2015 22:43:18 +0000 (22:43 +0000)]
plug unlikely memleak (coverity)
Howard Chu [Tue, 13 Jan 2015 22:01:17 +0000 (22:01 +0000)]
plug memleak in cr index (coverity)
Howard Chu [Tue, 13 Jan 2015 21:43:22 +0000 (21:43 +0000)]
ACL write/manage fixes (coverity)
Howard Chu [Tue, 13 Jan 2015 20:56:23 +0000 (20:56 +0000)]
Plug unlikely memleak (coverity)
Howard Chu [Tue, 13 Jan 2015 20:52:46 +0000 (20:52 +0000)]
Fix dangling lock (coverity)
Howard Chu [Tue, 13 Jan 2015 20:31:06 +0000 (20:31 +0000)]
Plug unlikely memleak (coverity)
Howard Chu [Tue, 13 Jan 2015 19:51:56 +0000 (19:51 +0000)]
plug benign leak (coverity)
Howard Chu [Tue, 13 Jan 2015 19:23:51 +0000 (19:23 +0000)]
Fix unused fprintf arg (coverity)
Howard Chu [Tue, 13 Jan 2015 18:47:18 +0000 (18:47 +0000)]
Fix potential null deref (coverity)
Howard Chu [Tue, 13 Jan 2015 18:31:28 +0000 (18:31 +0000)]
varargs cleanup (coverity)
Howard Chu [Tue, 13 Jan 2015 18:23:16 +0000 (18:23 +0000)]
Fix insecure chroot (coverity)
Howard Chu [Tue, 13 Jan 2015 18:20:36 +0000 (18:20 +0000)]
Fix argument order for ucisprop (coverity)
Howard Chu [Tue, 13 Jan 2015 18:11:49 +0000 (18:11 +0000)]
Fix fprintf format (coverity)
Quanah Gibson-Mount [Tue, 13 Jan 2015 16:24:08 +0000 (10:24 -0600)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'
Howard Chu [Mon, 12 Jan 2015 22:27:58 +0000 (22:27 +0000)]
ITS#8022 an async connect may still succeed immediately
Howard Chu [Mon, 12 Jan 2015 22:25:15 +0000 (22:25 +0000)]
ITS#8022 don't skip TLS init for ldaps:// targets
Hallvard Furuseth [Mon, 12 Jan 2015 11:19:51 +0000 (12:19 +0100)]
ITS#8021 doc: Don't mix MDB_WRITEMAP + non-WRITEMAP
Howard Chu [Mon, 12 Jan 2015 10:36:38 +0000 (10:36 +0000)]
More cleanup for fdatasync hack
Howard Chu [Sun, 11 Jan 2015 11:41:08 +0000 (11:41 +0000)]
Tweak conditionals for fdatasync hack
Howard Chu [Fri, 9 Jan 2015 11:25:07 +0000 (11:25 +0000)]
ITS#8021 env_sync is invalid in RDONLY env
Howard Chu [Thu, 8 Jan 2015 13:03:55 +0000 (13:03 +0000)]
fdatasync hack, again
Check for ext3/ext4 fs, then check kernel version.
Howard Chu [Thu, 8 Jan 2015 12:56:42 +0000 (12:56 +0000)]
Revert "Fix prev commit for env_sync0"
This reverts commit
e95c9231fc8de567b724477373259e07c62ce210.
Revert "Hack for potential ext3/ext4 corruption issue"
This reverts commit
91155b9d676f8abe3fe5e8a96b22b4dd51f963dd.
Howard Chu [Wed, 7 Jan 2015 17:48:49 +0000 (17:48 +0000)]
ITS#8020 fix 64bit hash finalizer
Howard Chu [Mon, 5 Jan 2015 09:37:27 +0000 (09:37 +0000)]
ITS#8016 return errmsg for unknown envflags
Leo Yuriev [Sun, 4 Jan 2015 07:41:04 +0000 (07:41 +0000)]
ITS#8011: few corrections for lmdb-backend;
dn2id.c:
+ assertion for mdb_id2l_insert() result;
- unnecessary assignment;
search.c:
- unused variable 'first';
+ range-check for mdb_idl_search() result;
Leo Yuriev [Sun, 4 Jan 2015 07:27:16 +0000 (07:27 +0000)]
ITS#5452,#8012: fix syncprov syncops freeing
Detaching a syncops record from op-list conditionally,
only when it was freed by syncprov_free_syncop.
The syncprov_free_syncop() and syncprov_drop_psearch() now
returns a flag, which is nonzero if the given syncops was freed.
Howard Chu [Sun, 4 Jan 2015 07:20:41 +0000 (07:20 +0000)]
ITS#8013 fix syncprov_matchops test_filter usage
Howard Chu [Sun, 4 Jan 2015 07:00:14 +0000 (07:00 +0000)]
ITS#8014 plug onetime leak in slapadd -w
Quanah Gibson-Mount [Mon, 22 Dec 2014 18:13:26 +0000 (12:13 -0600)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'
Howard Chu [Mon, 22 Dec 2014 18:07:08 +0000 (18:07 +0000)]
Tweak fdatasync hack description
Quanah Gibson-Mount [Sun, 21 Dec 2014 01:31:13 +0000 (19:31 -0600)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'
Howard Chu [Sun, 21 Dec 2014 00:13:50 +0000 (00:13 +0000)]
Fix prev commit for env_sync0
Howard Chu [Thu, 18 Dec 2014 19:33:38 +0000 (19:33 +0000)]
ITS#7780,#7781 fix prev commit
Ondřej Kuzník [Mon, 15 Sep 2014 21:34:17 +0000 (22:34 +0100)]
ITS#7780,ITS#7781 Fix slapo-constraint with 0 count
Ondřej Kuzník [Mon, 15 Sep 2014 21:33:42 +0000 (22:33 +0100)]
ITS#7781 Add test
Quanah Gibson-Mount [Thu, 18 Dec 2014 05:39:37 +0000 (23:39 -0600)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'
Howard Chu [Thu, 18 Dec 2014 04:46:43 +0000 (04:46 +0000)]
Update for fsync hack
Howard Chu [Thu, 18 Dec 2014 04:38:53 +0000 (04:38 +0000)]
Hack for potential ext3/ext4 corruption issue
Use regular fsync() if we think this commit grew the DB file.
Quanah Gibson-Mount [Wed, 17 Dec 2014 19:21:24 +0000 (13:21 -0600)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'
Howard Chu [Wed, 17 Dec 2014 15:29:48 +0000 (15:29 +0000)]
Update for 0.9.15
Howard Chu [Tue, 16 Dec 2014 20:08:32 +0000 (20:08 +0000)]
SATOH Fumiyasu [Fri, 10 Jan 2014 07:49:49 +0000 (16:49 +0900)]
ITS#7782 tweak contrib/slapd-modules/**/Makefile
Set LDAP_BUILD=$(LDAP_SRC) by default
Quanah Gibson-Mount [Tue, 16 Dec 2014 08:01:33 +0000 (02:01 -0600)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'
Howard Chu [Tue, 21 Oct 2014 12:15:55 +0000 (13:15 +0100)]
ITS#8007 Add maxentrysize config option
Howard Chu [Mon, 15 Dec 2014 20:40:59 +0000 (20:40 +0000)]
Fix MDB_APPEND doc
We actually compare the new key against the last key, to prevent
corruption.
Hallvard Furuseth [Sat, 13 Dec 2014 19:35:08 +0000 (20:35 +0100)]
make clean: remove *.lo
Howard Chu [Mon, 8 Dec 2014 03:21:09 +0000 (03:21 +0000)]
Clarify mdb_dbi_open doc
The concurrency restriction is on threads within a single process.
Multiple processes can use mdb_dbi_open without affecting each other.
Howard Chu [Mon, 15 Dec 2014 19:27:59 +0000 (19:27 +0000)]
ITS#8006 Use rootdn consistently on internal ops
Howard Chu [Mon, 15 Dec 2014 14:36:55 +0000 (14:36 +0000)]
ITS#8003 fix off-by-one in LDIF length
must account for leading space when counting total number of lines
Ondřej Kuzník [Tue, 23 Sep 2014 20:05:08 +0000 (21:05 +0100)]
ITS#7797 Fix segfault in slapo-collect
Quanah Gibson-Mount [Wed, 10 Dec 2014 23:09:29 +0000 (17:09 -0600)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'
Howard Chu [Wed, 10 Dec 2014 22:58:33 +0000 (22:58 +0000)]
ITS#8001 fix ldap_sync_initialize
Howard Chu [Wed, 10 Dec 2014 22:24:25 +0000 (22:24 +0000)]
ITS#8000 silence warnings
Howard Chu [Wed, 10 Dec 2014 21:59:45 +0000 (21:59 +0000)]
ITS#7998 silence warning
Howard Chu [Wed, 10 Dec 2014 21:57:44 +0000 (21:57 +0000)]
ITS#7997 silence warning
Howard Chu [Wed, 10 Dec 2014 02:06:50 +0000 (02:06 +0000)]
ITS#7995 fix slap_bv2undef_ad
Leo Yuriev [Fri, 5 Dec 2014 19:30:31 +0000 (19:30 +0000)]
ITS#7987 fix excessive space for single write txn
Leo Yuriev [Fri, 5 Dec 2014 19:41:40 +0000 (19:41 +0000)]
ITS#7968 add locks for syncrepl cookiestate
Mutex must be held even for a read-access of a cookie state,
as there may be a race with write in other thread.
Hallvard Furuseth [Wed, 3 Dec 2014 11:27:53 +0000 (12:27 +0100)]
Fix WIN32 -> _WIN32
Hallvard Furuseth [Mon, 1 Dec 2014 07:59:29 +0000 (08:59 +0100)]
mdb_strerror: Silence warning @ Windows
Hallvard Furuseth [Mon, 1 Dec 2014 07:59:29 +0000 (08:59 +0100)]
Fix comments