]> git.sur5r.net Git - openldap/log
openldap
9 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9'
Quanah Gibson-Mount [Mon, 23 Mar 2015 16:14:16 +0000 (11:14 -0500)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'

9 years agoITS#8081 - more for #8063
Howard Chu [Sat, 21 Mar 2015 21:32:48 +0000 (21:32 +0000)]
ITS#8081 - more for #8063

Prev patch broke underlying assumption that mods queue and execute
in order. Now must search list for matching mod to dequeue.

9 years agoITS#8080 nssov: use old pwd if it's given
Howard Chu [Wed, 18 Mar 2015 20:50:19 +0000 (20:50 +0000)]
ITS#8080 nssov: use old pwd if it's given

9 years agoITS#8080 nssov: allow user pwmod without pwdmgr configured
Ryan Tandy [Mon, 16 Mar 2015 04:53:32 +0000 (04:53 +0000)]
ITS#8080 nssov: allow user pwmod without pwdmgr configured

9 years agoITS#8080 nssov: only allow root to become pwdmgr
Ryan Tandy [Mon, 16 Mar 2015 04:44:21 +0000 (04:44 +0000)]
ITS#8080 nssov: only allow root to become pwdmgr

9 years agoITS#8080 nssov: require old password unless pwdmgr
Ryan Tandy [Mon, 16 Mar 2015 05:58:02 +0000 (05:58 +0000)]
ITS#8080 nssov: require old password unless pwdmgr

9 years agoITS#8079 nssov: fix compare for usergroup
Ryan Tandy [Sat, 14 Mar 2015 00:29:32 +0000 (00:29 +0000)]
ITS#8079 nssov: fix compare for usergroup

More for 5c527bc49e5d547e7f092e45d42baf6cb1ae89ae

9 years agoITS#8065 more for syncrepl compat
Howard Chu [Mon, 9 Mar 2015 19:05:07 +0000 (19:05 +0000)]
ITS#8065 more for syncrepl compat

Use opextra to detect our own internal ops, not a public control

9 years agoITS#8066
Quanah Gibson-Mount [Fri, 27 Feb 2015 23:15:23 +0000 (17:15 -0600)]
ITS#8066

9 years agoITS#8066 fix mdb_load with large values
Howard Chu [Thu, 26 Feb 2015 21:36:04 +0000 (21:36 +0000)]
ITS#8066 fix mdb_load with large values

9 years agoITS#8006 more rootdn privs
Howard Chu [Thu, 26 Feb 2015 00:14:41 +0000 (00:14 +0000)]
ITS#8006 more rootdn privs

9 years agoITS#8065 don't log/replicate internal ops
Howard Chu [Wed, 25 Feb 2015 15:34:00 +0000 (15:34 +0000)]
ITS#8065 don't log/replicate internal ops

9 years agoITS#8063 more for prev commit
Howard Chu [Wed, 25 Feb 2015 06:11:44 +0000 (06:11 +0000)]
ITS#8063 more for prev commit

9 years agoITS#8063 don't block our own thread
Howard Chu [Wed, 25 Feb 2015 05:44:07 +0000 (05:44 +0000)]
ITS#8063 don't block our own thread

9 years agoMore for prev commit
Howard Chu [Wed, 25 Feb 2015 00:39:14 +0000 (00:39 +0000)]
More for prev commit

9 years agoMore for ITS#6970
Howard Chu [Wed, 25 Feb 2015 00:30:36 +0000 (00:30 +0000)]
More for ITS#6970

modrdn had the same bug

9 years agoITS#8057 Enforce uniqueness unless permitted by ACL
Ondřej Kuzník [Sat, 14 Feb 2015 18:08:59 +0000 (18:08 +0000)]
ITS#8057 Enforce uniqueness unless permitted by ACL

9 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9'
Quanah Gibson-Mount [Thu, 12 Feb 2015 17:30:00 +0000 (11:30 -0600)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'

9 years agoHappy New Year
Quanah Gibson-Mount [Thu, 12 Feb 2015 16:46:33 +0000 (10:46 -0600)]
Happy New Year

9 years agoHappy New Year
Quanah Gibson-Mount [Thu, 12 Feb 2015 17:17:59 +0000 (11:17 -0600)]
Happy New Year

9 years agoHappy New Year
Quanah Gibson-Mount [Wed, 11 Feb 2015 21:36:57 +0000 (15:36 -0600)]
Happy New Year

9 years agoITS#8056 fix libdb detection with gcc 5
Jan Synacek [Wed, 11 Feb 2015 09:32:28 +0000 (10:32 +0100)]
ITS#8056 fix libdb detection with gcc 5

The old cpp version generated:
__db_version 5

The new output:
__db_version
            5

Running cpp with -P (inhibit linemarkers generation) fixes this when using gcc 5.
Behavior with older versions of gcc is not changed.

9 years agoITS#8046 add vrFilter test
Howard Chu [Sun, 8 Feb 2015 11:24:57 +0000 (11:24 +0000)]
ITS#8046 add vrFilter test

9 years agoITS#8051 use a regexp
Howard Chu [Wed, 4 Feb 2015 05:21:46 +0000 (05:21 +0000)]
ITS#8051 use a regexp

9 years agoITS#8051 add DN qualifier
Howard Chu [Wed, 4 Feb 2015 03:53:13 +0000 (03:53 +0000)]
ITS#8051 add DN qualifier

9 years agoITS#8050 fix ldap_get_option(LDAP_OPT_SESSION_REFCNT)
Howard Chu [Wed, 4 Feb 2015 03:16:20 +0000 (03:16 +0000)]
ITS#8050 fix ldap_get_option(LDAP_OPT_SESSION_REFCNT)

9 years agoITS#8049 fix typo
Howard Chu [Wed, 4 Feb 2015 02:40:30 +0000 (02:40 +0000)]
ITS#8049 fix typo

9 years agoITS#8046 fix vrFilter_free
Howard Chu [Wed, 4 Feb 2015 02:03:55 +0000 (02:03 +0000)]
ITS#8046 fix vrFilter_free

9 years agoITS#8048 fix slapo-sock result
Howard Chu [Tue, 3 Feb 2015 10:35:52 +0000 (10:35 +0000)]
ITS#8048 fix slapo-sock result

9 years agoITS#8039 more cleanup
Howard Chu [Tue, 3 Feb 2015 10:13:55 +0000 (10:13 +0000)]
ITS#8039 more cleanup

9 years agoMore for ITS#6970
Howard Chu [Mon, 2 Feb 2015 19:28:59 +0000 (19:28 +0000)]
More for ITS#6970

9 years agoITS#8040 experimental Lazy Commit
Howard Chu [Mon, 2 Feb 2015 10:48:39 +0000 (10:48 +0000)]
ITS#8040 experimental Lazy Commit

9 years agoCleanup prev commit
Howard Chu [Mon, 2 Feb 2015 08:45:57 +0000 (08:45 +0000)]
Cleanup prev commit

9 years agoMore for ITS#8043
Howard Chu [Mon, 2 Feb 2015 08:42:28 +0000 (08:42 +0000)]
More for ITS#8043

9 years agoITS#8043 don't leave dangling syncops
Howard Chu [Sat, 31 Jan 2015 13:04:53 +0000 (13:04 +0000)]
ITS#8043 don't leave dangling syncops

9 years agoITS#8039 cleanup
Howard Chu [Sat, 31 Jan 2015 12:52:56 +0000 (12:52 +0000)]
ITS#8039 cleanup

9 years agoMore for presentlist_free
Howard Chu [Sat, 31 Jan 2015 01:12:54 +0000 (01:12 +0000)]
More for presentlist_free

9 years agoMore for presentlist (ITS#8042)
Howard Chu [Sat, 31 Jan 2015 01:03:23 +0000 (01:03 +0000)]
More for presentlist (ITS#8042)

9 years agoITS#8039 fix prev commit
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

9 years agoITS#8039 plug syncprov memleak
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.

9 years agoFix prev commit
Howard Chu [Fri, 30 Jan 2015 08:06:11 +0000 (08:06 +0000)]
Fix prev commit

9 years agoStreamline presentlist
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.

9 years agoITS#8038 free presentlist at end of refresh
Howard Chu [Thu, 29 Jan 2015 05:15:33 +0000 (05:15 +0000)]
ITS#8038 free presentlist at end of refresh

9 years agoITS#8036 cleanup prev commit
Howard Chu [Tue, 27 Jan 2015 23:53:19 +0000 (23:53 +0000)]
ITS#8036 cleanup prev commit

9 years agoITS#8036 more for prev commit
Howard Chu [Tue, 27 Jan 2015 23:38:32 +0000 (23:38 +0000)]
ITS#8036 more for prev commit

9 years agoUpdate wrap_slap_ops.
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{}.

9 years agoITS#8036 fix regression from ITS#7904
Howard Chu [Tue, 27 Jan 2015 22:26:33 +0000 (22:26 +0000)]
ITS#8036 fix regression from ITS#7904

9 years agoITS#8035 plug memleaks in syncrepl
Howard Chu [Tue, 27 Jan 2015 20:29:34 +0000 (20:29 +0000)]
ITS#8035 plug memleaks in syncrepl

9 years agoITS#8011 fix prev patch
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.

9 years agoITS#8032 document LDAP_OPT_API_INFO/FEATURE_INFO
Howard Chu [Thu, 22 Jan 2015 01:39:18 +0000 (01:39 +0000)]
ITS#8032 document LDAP_OPT_API_INFO/FEATURE_INFO

9 years agoITS#8028 fix ldap_new_connection
Howard Chu [Wed, 21 Jan 2015 01:02:12 +0000 (01:02 +0000)]
ITS#8028 fix ldap_new_connection

9 years agoITS#8027 require non-empty AttributeList
Howard Chu [Mon, 19 Jan 2015 22:25:53 +0000 (22:25 +0000)]
ITS#8027 require non-empty AttributeList

9 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9'
Quanah Gibson-Mount [Mon, 19 Jan 2015 19:31:51 +0000 (13:31 -0600)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'

9 years agoRestrictive mdb_copy file mode.
Hallvard Furuseth [Thu, 15 Jan 2015 06:19:30 +0000 (07:19 +0100)]
Restrictive mdb_copy file mode.

Copied from 58ddb5527bd4868bb7017cfe2051bc2e24bcf5a8.

9 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9'
Howard Chu [Wed, 14 Jan 2015 21:46:57 +0000 (21:46 +0000)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'

9 years agoFix 0e66a3d1bf2b58cb4361ac1311c680f870d23f4c
Howard Chu [Wed, 14 Jan 2015 20:27:49 +0000 (20:27 +0000)]
Fix 0e66a3d1bf2b58cb4361ac1311c680f870d23f4c

clear rc, otherwise syncrepl stops

9 years agoFix typo in 45146ba21a9ee494e7058ca7a173fcc6b27df744
Howard Chu [Wed, 14 Jan 2015 19:05:17 +0000 (19:05 +0000)]
Fix typo in 45146ba21a9ee494e7058ca7a173fcc6b27df744

9 years agoGSER issuer quoting fix (coverity)
Howard Chu [Wed, 14 Jan 2015 18:56:12 +0000 (18:56 +0000)]
GSER issuer quoting fix (coverity)

9 years agoITS#7970 LMDB: Critical Heisenbug
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.

9 years agoITS#7969 LMDB: volatile.
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().

9 years agoMinor cleanup (coverity)
Howard Chu [Wed, 14 Jan 2015 17:47:44 +0000 (17:47 +0000)]
Minor cleanup (coverity)

9 years agoMinor cleanup (coverity)
Howard Chu [Wed, 14 Jan 2015 14:35:35 +0000 (14:35 +0000)]
Minor cleanup (coverity)

9 years agoPlug leak (coverity)
Howard Chu [Wed, 14 Jan 2015 14:16:24 +0000 (14:16 +0000)]
Plug leak (coverity)

9 years agoMinor cleanup (coverity)
Howard Chu [Wed, 14 Jan 2015 14:04:03 +0000 (14:04 +0000)]
Minor cleanup (coverity)

9 years agoMinor cleanup (coverity)
Howard Chu [Wed, 14 Jan 2015 12:55:34 +0000 (12:55 +0000)]
Minor cleanup (coverity)

9 years agoMinor cleanup (coverity)
Howard Chu [Wed, 14 Jan 2015 12:27:28 +0000 (12:27 +0000)]
Minor cleanup (coverity)

9 years agoMinor cleanup (coverity)
Howard Chu [Wed, 14 Jan 2015 12:23:19 +0000 (12:23 +0000)]
Minor cleanup (coverity)

9 years agoMinor cleanup (coverity)
Howard Chu [Wed, 14 Jan 2015 12:16:24 +0000 (12:16 +0000)]
Minor cleanup (coverity)

9 years agoMinor cleanup (coverity)
Howard Chu [Wed, 14 Jan 2015 11:14:43 +0000 (11:14 +0000)]
Minor cleanup (coverity)

9 years agoMinor cleanup (coverity)
Howard Chu [Wed, 14 Jan 2015 10:46:04 +0000 (10:46 +0000)]
Minor cleanup (coverity)

9 years agoFix missing error return (coverity)
Howard Chu [Wed, 14 Jan 2015 10:37:13 +0000 (10:37 +0000)]
Fix missing error return (coverity)

9 years agoFix UTF8stringvalidate loop termination (coverity)
Howard Chu [Wed, 14 Jan 2015 10:35:20 +0000 (10:35 +0000)]
Fix UTF8stringvalidate loop termination (coverity)

9 years agoFix NULL in debug output (coverity)
Howard Chu [Wed, 14 Jan 2015 10:22:50 +0000 (10:22 +0000)]
Fix NULL in debug output (coverity)

9 years agocheck ber_scanf(syncUUIDs) result (coverity)
Howard Chu [Wed, 14 Jan 2015 10:13:16 +0000 (10:13 +0000)]
check ber_scanf(syncUUIDs) result (coverity)

9 years agoplug unlikely memleak (coverity)
Howard Chu [Tue, 13 Jan 2015 22:43:18 +0000 (22:43 +0000)]
plug unlikely memleak (coverity)

9 years agoplug memleak in cr index (coverity)
Howard Chu [Tue, 13 Jan 2015 22:01:17 +0000 (22:01 +0000)]
plug memleak in cr index (coverity)

9 years agoACL write/manage fixes (coverity)
Howard Chu [Tue, 13 Jan 2015 21:43:22 +0000 (21:43 +0000)]
ACL write/manage fixes (coverity)

9 years agoPlug unlikely memleak (coverity)
Howard Chu [Tue, 13 Jan 2015 20:56:23 +0000 (20:56 +0000)]
Plug unlikely memleak (coverity)

9 years agoFix dangling lock (coverity)
Howard Chu [Tue, 13 Jan 2015 20:52:46 +0000 (20:52 +0000)]
Fix dangling lock (coverity)

9 years agoPlug unlikely memleak (coverity)
Howard Chu [Tue, 13 Jan 2015 20:31:06 +0000 (20:31 +0000)]
Plug unlikely memleak (coverity)

9 years agoplug benign leak (coverity)
Howard Chu [Tue, 13 Jan 2015 19:51:56 +0000 (19:51 +0000)]
plug benign leak (coverity)

9 years agoFix unused fprintf arg (coverity)
Howard Chu [Tue, 13 Jan 2015 19:23:51 +0000 (19:23 +0000)]
Fix unused fprintf arg (coverity)

9 years agoFix potential null deref (coverity)
Howard Chu [Tue, 13 Jan 2015 18:47:18 +0000 (18:47 +0000)]
Fix potential null deref (coverity)

9 years agovarargs cleanup (coverity)
Howard Chu [Tue, 13 Jan 2015 18:31:28 +0000 (18:31 +0000)]
varargs cleanup (coverity)

9 years agoFix insecure chroot (coverity)
Howard Chu [Tue, 13 Jan 2015 18:23:16 +0000 (18:23 +0000)]
Fix insecure chroot (coverity)

9 years agoFix argument order for ucisprop (coverity)
Howard Chu [Tue, 13 Jan 2015 18:20:36 +0000 (18:20 +0000)]
Fix argument order for ucisprop (coverity)

9 years agoFix fprintf format (coverity)
Howard Chu [Tue, 13 Jan 2015 18:11:49 +0000 (18:11 +0000)]
Fix fprintf format (coverity)

9 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9'
Quanah Gibson-Mount [Tue, 13 Jan 2015 16:24:08 +0000 (10:24 -0600)]
Merge remote-tracking branch 'origin/mdb.RE/0.9'

9 years agoITS#8022 an async connect may still succeed immediately
Howard Chu [Mon, 12 Jan 2015 22:27:58 +0000 (22:27 +0000)]
ITS#8022 an async connect may still succeed immediately

9 years agoITS#8022 don't skip TLS init for ldaps:// targets
Howard Chu [Mon, 12 Jan 2015 22:25:15 +0000 (22:25 +0000)]
ITS#8022 don't skip TLS init for ldaps:// targets

9 years agoITS#8021 doc: Don't mix MDB_WRITEMAP + non-WRITEMAP
Hallvard Furuseth [Mon, 12 Jan 2015 11:19:51 +0000 (12:19 +0100)]
ITS#8021 doc: Don't mix MDB_WRITEMAP + non-WRITEMAP

9 years agoMore cleanup for fdatasync hack
Howard Chu [Mon, 12 Jan 2015 10:36:38 +0000 (10:36 +0000)]
More cleanup for fdatasync hack

9 years agoTweak conditionals for fdatasync hack
Howard Chu [Sun, 11 Jan 2015 11:41:08 +0000 (11:41 +0000)]
Tweak conditionals for fdatasync hack

9 years agoITS#8021 env_sync is invalid in RDONLY env
Howard Chu [Fri, 9 Jan 2015 11:25:07 +0000 (11:25 +0000)]
ITS#8021 env_sync is invalid in RDONLY env

9 years agofdatasync hack, again
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.

9 years agoRevert "Fix prev commit for env_sync0"
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.

9 years agoITS#8020 fix 64bit hash finalizer
Howard Chu [Wed, 7 Jan 2015 17:48:49 +0000 (17:48 +0000)]
ITS#8020 fix 64bit hash finalizer

9 years agoITS#8016 return errmsg for unknown envflags
Howard Chu [Mon, 5 Jan 2015 09:37:27 +0000 (09:37 +0000)]
ITS#8016 return errmsg for unknown envflags

9 years agoITS#8011: few corrections for lmdb-backend;
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;

9 years agoITS#5452,#8012: fix syncprov syncops freeing
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.