]> git.ipfire.org Git - thirdparty/openldap.git/log
thirdparty/openldap.git
5 years agoITS#9230
Quanah Gibson-Mount [Wed, 22 Apr 2020 14:26:24 +0000 (14:26 +0000)] 
ITS#9230

5 years agoITS#9230 - Update man page information on the truncate option for RE24.
Quanah Gibson-Mount [Mon, 20 Apr 2020 17:37:35 +0000 (17:37 +0000)] 
ITS#9230 - Update man page information on the truncate option for RE24.

5 years agoITS#9233, ITS#8575, ITS#9203, ITS#9206
Quanah Gibson-Mount [Tue, 21 Apr 2020 23:40:12 +0000 (23:40 +0000)] 
ITS#9233, ITS#8575, ITS#9203, ITS#9206

5 years agoITS#9203 Remove default values from slapd-pw-argon2.5
Ryan Tandy [Thu, 9 Apr 2020 16:36:37 +0000 (09:36 -0700)] 
ITS#9203 Remove default values from slapd-pw-argon2.5

The defaults vary by crypto library and possibly even version, so it's
not worth trying to keep them accurate.

5 years agoITS#9206 Use argon2id default values explicitly
Ryan Tandy [Tue, 7 Apr 2020 18:18:22 +0000 (11:18 -0700)] 
ITS#9206 Use argon2id default values explicitly

5 years agoITS#9206 Convert libsodium default memlimit to KiB
Ryan Tandy [Tue, 7 Apr 2020 17:37:48 +0000 (10:37 -0700)] 
ITS#9206 Convert libsodium default memlimit to KiB

5 years agoITS#9206 Initialize libsodium before calling its functions
Ryan Tandy [Tue, 7 Apr 2020 18:19:21 +0000 (11:19 -0700)] 
ITS#9206 Initialize libsodium before calling its functions

5 years agoITS#9206 contrib/passwd/argon2: consolidate libsodium implementation
Peter Marschall [Tue, 7 Apr 2020 10:11:38 +0000 (12:11 +0200)] 
ITS#9206 contrib/passwd/argon2: consolidate libsodium implementation

* use 'crypto_pwhash_str_alg(..., crypto_pwhash_ALG_ARGON2ID13)' to set
  the algorithm to Argon2.
  According to libsodium's documentation, the original 'crypto_pwhash_str()'
  only guarantees a "memory-hard, CPU-intensive hash function", but not
  necessarily Argon2.  Although in released versions of libsodium Argon2 is
  the only implemented backend, this may chane in the future.
* multiply the 'memory' parameter by 1024 to align it with the libargon2
  implementation. The objective is to have consistent configuration in
  OpenLDAP's pw-argon2 module no matter what backend implementation is used.

Signed-off-by: Peter Marschall <peter@adpm.de>
5 years agoITS#9203 slapd-argon2 -> pw-argon2
Ryan Tandy [Tue, 7 Apr 2020 18:08:24 +0000 (11:08 -0700)] 
ITS#9203 slapd-argon2 -> pw-argon2

Based on initial patch by Peter Marschall.

5 years agoITS#9203 contrib/passwd/argon2: add manual page
Peter Marschall [Sun, 5 Apr 2020 12:20:57 +0000 (14:20 +0200)] 
ITS#9203 contrib/passwd/argon2: add manual page

Add manual page slapd-pw-argon2.5 and make sure it gets installed.

Signed-off-by: Peter Marschall <peter@adpm.de>
5 years agoITS#8575 Accept parameters for hashing new passwords
Ondřej Kuzník [Tue, 12 Nov 2019 10:35:53 +0000 (10:35 +0000)] 
ITS#8575 Accept parameters for hashing new passwords

5 years agoITS#8575 Add a libsodium based implementation
Ondřej Kuzník [Mon, 11 Nov 2019 17:42:03 +0000 (17:42 +0000)] 
ITS#8575 Add a libsodium based implementation

5 years agoITS#8575 Implement argon2 password hashing as a module
Simon Levermann [Wed, 25 Jan 2017 14:11:06 +0000 (15:11 +0100)] 
ITS#8575 Implement argon2 password hashing as a module

This change implements argon2, which won the Password Hashing
Competition (https://password-hashing.net/) as a contrib-module in order
to provide a modern password hashing alternative in openldap. The
currently available password hashing algorithms are relatively old, and
modern hardware, especially GPUs can compute quite a few (ranging from
tens of thousands to millions) of hashes per second. Argon2 was designed
to withstand such attacks.

This implementation uses the default work factors used in the argon2
command line client, but the resulting hashes are stored in a way that
would allow retroactive changes to these values, or even exposing them
as configuration in the module.

5 years agoITS#9181 fix ldap_pvt_thread_mutex_t used before its definition
Ryan Tandy [Thu, 16 Apr 2020 17:46:18 +0000 (10:46 -0700)] 
ITS#9181 fix ldap_pvt_thread_mutex_t used before its definition

5 years agoITS#7878
Quanah Gibson-Mount [Thu, 16 Apr 2020 16:55:43 +0000 (16:55 +0000)] 
ITS#7878

5 years agoITS#8383
Quanah Gibson-Mount [Thu, 16 Apr 2020 16:55:05 +0000 (16:55 +0000)] 
ITS#8383

5 years agoITS#8383 - regenerate configure
Quanah Gibson-Mount [Thu, 16 Apr 2020 16:54:27 +0000 (16:54 +0000)] 
ITS#8383 - regenerate configure

5 years agoITS#7878 Replace uint32_t with unsigned in back-mdb
Ryan Tandy [Fri, 3 Apr 2020 22:15:27 +0000 (15:15 -0700)] 
ITS#7878 Replace uint32_t with unsigned in back-mdb

init.c: align mi_dbenv_flags and flags with mdb_dbi_open, which declares
flags as unsigned int.

search.c: align mi_rtxn_size with ARG_UINT; adjust ww_ctx.nentries to
silence a warning about signed/unsigned comparison.

config.c: parse checkpoint config more carefully. Reject negative or
unreasonably large values for kbytes and minutes. Ensure both values are
parsed successfully before making any changes.

Fixes a compilation failure under MinGW, where stdint.h types are not
implicitly pulled in by other headers.

5 years agoITS#8383 Look for socklen_t in <ws2tcpip.h> too
Ryan Tandy [Sun, 1 Sep 2019 18:53:37 +0000 (11:53 -0700)] 
ITS#8383 Look for socklen_t in <ws2tcpip.h> too

MinGW targets do not have the <sys/socket.h> header. The configure check
would conclude that there is no socklen_t type, resulting in portable.h
containing its own definition of socklen_t, which would later conflict
with the actual definition in <ws2tcpip.h>.

Add <ws2tcpip.h> to the configure check for socklen_t, so that the
defined type is correctly detected.

5 years agoITS#9214
Quanah Gibson-Mount [Wed, 15 Apr 2020 00:11:18 +0000 (00:11 +0000)] 
ITS#9214

5 years agoITS#9214 slapd-mdb: plug cursor leak in dnSuperiorMatch filter
grapvar [Tue, 14 Apr 2020 21:47:00 +0000 (21:47 +0000)] 
ITS#9214 slapd-mdb: plug cursor leak in dnSuperiorMatch filter

5 years agoITS#8650
Quanah Gibson-Mount [Mon, 13 Apr 2020 16:33:26 +0000 (16:33 +0000)] 
ITS#8650

5 years agoITS#8650 loop on incomplete TLS handshake
Howard Chu [Sun, 12 Apr 2020 21:18:51 +0000 (22:18 +0100)] 
ITS#8650 loop on incomplete TLS handshake

Always retry ldap_int_tls_connect() if it didn't complete,
regardless of blocking or non-blocking socket. Code from
ITS#7428 was wrong to only retry for async.

5 years agoDrop wired tiger dev
Quanah Gibson-Mount [Mon, 6 Apr 2020 18:36:54 +0000 (18:36 +0000)] 
Drop wired tiger dev
Add BDB dev package

5 years agoITS#6207 Add GitLab CI
Ondřej Kuzník [Fri, 3 Apr 2020 09:27:03 +0000 (10:27 +0100)] 
ITS#6207 Add GitLab CI

5 years agoITS#9182
Quanah Gibson-Mount [Thu, 2 Apr 2020 21:32:07 +0000 (21:32 +0000)] 
ITS#9182

5 years agoITS#9182 pcache: fix private DB init
Howard Chu [Wed, 11 Mar 2020 19:17:10 +0000 (19:17 +0000)] 
ITS#9182 pcache: fix private DB init

5 years agoITS#9181
Quanah Gibson-Mount [Thu, 2 Apr 2020 21:30:32 +0000 (21:30 +0000)] 
ITS#9181

5 years agoITS#9181 Fix race on Windows mutex init
Howard Chu [Mon, 16 Mar 2020 17:07:43 +0000 (17:07 +0000)] 
ITS#9181 Fix race on Windows mutex init

5 years agoITS#9003
Quanah Gibson-Mount [Thu, 2 Apr 2020 21:26:18 +0000 (21:26 +0000)] 
ITS#9003

5 years agoITS#9003
Quanah Gibson-Mount [Mon, 17 Jun 2019 14:50:13 +0000 (14:50 +0000)] 
ITS#9003

Note that with slapd-ldap, the special character "*" actually allows anonymous rather than denies, as is the case with authz-policy

5 years agoITS#7074
Quanah Gibson-Mount [Thu, 2 Apr 2020 20:48:52 +0000 (20:48 +0000)] 
ITS#7074

5 years agoITS#7074 - change olcDatabaseDummy initialization for windows
Emily Backes [Fri, 6 Feb 2015 02:46:24 +0000 (18:46 -0800)] 
ITS#7074 - change olcDatabaseDummy initialization for windows

5 years agoITS#9198
Quanah Gibson-Mount [Thu, 2 Apr 2020 19:47:43 +0000 (19:47 +0000)] 
ITS#9198

5 years agoITS#9198 - Plug unlikely memleak in liblunicode
Howard Chu [Tue, 13 Jan 2015 20:31:06 +0000 (20:31 +0000)] 
ITS#9198 - Plug unlikely memleak in liblunicode

5 years agoITS#8683
Quanah Gibson-Mount [Tue, 24 Mar 2020 19:40:43 +0000 (19:40 +0000)] 
ITS#8683

5 years agoITS#8683 - Delete client-pr information from slapd-meta(5) for RE24
Quanah Gibson-Mount [Tue, 24 Mar 2020 17:03:29 +0000 (17:03 +0000)] 
ITS#8683 - Delete client-pr information from slapd-meta(5) for RE24

5 years agoITS#9175
Quanah Gibson-Mount [Fri, 21 Feb 2020 21:12:07 +0000 (21:12 +0000)] 
ITS#9175

5 years agoITS#9175 - Fix argument cast
Quanah Gibson-Mount [Fri, 21 Feb 2020 21:10:49 +0000 (21:10 +0000)] 
ITS#9175 - Fix argument cast

Fixes potential segfault in ldapsearch

5 years agoITS#9171
Quanah Gibson-Mount [Fri, 21 Feb 2020 20:39:00 +0000 (20:39 +0000)] 
ITS#9171

5 years agoCorrect cyrus-sasl version verison check
Ondřej Kuzník [Fri, 21 Feb 2020 10:27:44 +0000 (10:27 +0000)] 
Correct cyrus-sasl version verison check

5 years agoITS#9171 Insert callback in the right place
Ondřej Kuzník [Fri, 21 Feb 2020 10:26:53 +0000 (10:26 +0000)] 
ITS#9171 Insert callback in the right place

5 years agoMinor fix to CHANGES to fix order
Quanah Gibson-Mount [Wed, 19 Feb 2020 18:25:33 +0000 (18:25 +0000)] 
Minor fix to CHANGES to fix order

5 years agoITS#8890
Quanah Gibson-Mount [Thu, 6 Feb 2020 20:25:03 +0000 (20:25 +0000)] 
ITS#8890

5 years agoITS#8890 fix benign typos
Thorsten Glaser [Wed, 1 Aug 2018 20:23:48 +0000 (20:23 +0000)] 
ITS#8890 fix benign typos

No functional impact

5 years agoITS#7855 for ldapc++ contrib
Quanah Gibson-Mount [Mon, 3 Feb 2020 19:17:38 +0000 (19:17 +0000)] 
ITS#7855 for ldapc++ contrib

5 years agoITS#7855 - Update config.guess and config.sub for ldapc++ contrib module
Quanah Gibson-Mount [Mon, 3 Feb 2020 19:12:36 +0000 (19:12 +0000)] 
ITS#7855 - Update config.guess and config.sub for ldapc++ contrib module

    Update config.guess and config.sub from official upstream project at https://savannah.gnu.org/projects/config/

    Specifically in this case, commit 5256817ace8493502ec88501a19e4051c2e220b0 for the date Wed Jan 1 19:36:58 2020 +1100

5 years agoReturn to RE
Quanah Gibson-Mount [Thu, 30 Jan 2020 18:12:35 +0000 (18:12 +0000)] 
Return to RE

5 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4 OPENLDAP_REL_ENG_2_4_49
Quanah Gibson-Mount [Thu, 30 Jan 2020 17:58:35 +0000 (17:58 +0000)] 
Merge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4

5 years agoRelease 0.9.25 LMDB_0.9.25
Quanah Gibson-Mount [Thu, 30 Jan 2020 17:57:13 +0000 (17:57 +0000)] 
Release 0.9.25

5 years agoPrep for release
Quanah Gibson-Mount [Thu, 30 Jan 2020 17:04:58 +0000 (17:04 +0000)] 
Prep for release

5 years agoITS#9015 - Disable ITS8521 regression test
Quanah Gibson-Mount [Thu, 30 Jan 2020 16:20:33 +0000 (16:20 +0000)] 
ITS#9015 - Disable ITS8521 regression test

5 years agoThis test no longer valid after the fix for ITS#9015, skip it
Quanah Gibson-Mount [Thu, 30 Jan 2020 16:08:50 +0000 (16:08 +0000)] 
This test no longer valid after the fix for ITS#9015, skip it

5 years agoITS#9145 Fix type signature
Ondřej Kuzník [Tue, 28 Jan 2020 12:10:43 +0000 (12:10 +0000)] 
ITS#9145 Fix type signature

5 years agoITS#7855
Quanah Gibson-Mount [Tue, 28 Jan 2020 16:12:02 +0000 (16:12 +0000)] 
ITS#7855

5 years agoITS#7855 - Update config.guess and config.sub
Quanah Gibson-Mount [Tue, 28 Jan 2020 16:08:50 +0000 (16:08 +0000)] 
ITS#7855 - Update config.guess and config.sub

Update config.guess and config.sub from official upstream project at https://savannah.gnu.org/projects/config/

Specifically in this case, commit 5256817ace8493502ec88501a19e4051c2e220b0 for the date Wed Jan 1 19:36:58 2020 +1100

5 years agoITS#8116
Quanah Gibson-Mount [Sat, 25 Jan 2020 05:49:58 +0000 (05:49 +0000)] 
ITS#8116

5 years agoITS#8116 - Make SyncInfo Received message LDIF compliant
Quanah Gibson-Mount [Sat, 25 Jan 2020 00:56:03 +0000 (00:56 +0000)] 
ITS#8116 - Make SyncInfo Received message LDIF compliant

5 years agoITS#9126
Quanah Gibson-Mount [Thu, 23 Jan 2020 23:55:05 +0000 (23:55 +0000)] 
ITS#9126

5 years agoITS#9126 Add a missed normalised copy of pwdChangedTime
Ondřej Kuzník [Thu, 23 Jan 2020 12:30:50 +0000 (12:30 +0000)] 
ITS#9126 Add a missed normalised copy of pwdChangedTime

5 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4
Quanah Gibson-Mount [Thu, 23 Jan 2020 16:09:15 +0000 (16:09 +0000)] 
Merge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4

5 years agoITS#9154
Quanah Gibson-Mount [Thu, 23 Jan 2020 16:08:22 +0000 (16:08 +0000)] 
ITS#9154

5 years agoITS#9154 back-mdb add number of entries to cn=monitor
Howard Chu [Sat, 18 Jan 2020 12:53:07 +0000 (12:53 +0000)] 
ITS#9154 back-mdb add number of entries to cn=monitor

5 years agoITS#9155
Howard Chu [Thu, 23 Jan 2020 14:52:50 +0000 (14:52 +0000)] 
ITS#9155

5 years agoITS#9155 lmdb: free mt_spill_pgs in non-nested txn on end
Howard Chu [Thu, 23 Jan 2020 14:50:00 +0000 (14:50 +0000)] 
ITS#9155 lmdb: free mt_spill_pgs in non-nested txn on end

5 years agoITS#9153
Quanah Gibson-Mount [Wed, 22 Jan 2020 23:23:28 +0000 (23:23 +0000)] 
ITS#9153

5 years agoITS#9153 Fix inconsistent whitespace in replication.sdf
Ryan Tandy [Tue, 14 Jan 2020 19:12:43 +0000 (11:12 -0800)] 
ITS#9153 Fix inconsistent whitespace in replication.sdf

5 years agoITS#9150
Quanah Gibson-Mount [Sat, 11 Jan 2020 23:18:41 +0000 (23:18 +0000)] 
ITS#9150

5 years agoITS#9150 fix nosync FALSE config
Howard Chu [Sat, 11 Jan 2020 04:24:54 +0000 (04:24 +0000)] 
ITS#9150 fix nosync FALSE config

5 years agoITS#9147
Quanah Gibson-Mount [Sat, 11 Jan 2020 23:17:34 +0000 (23:17 +0000)] 
ITS#9147

5 years agoITS#9147 plug descriptor leak if ldaps connect fails
Howard Chu [Sat, 11 Jan 2020 04:16:01 +0000 (04:16 +0000)] 
ITS#9147 plug descriptor leak if ldaps connect fails

5 years agoHappy New Year!
Quanah Gibson-Mount [Thu, 9 Jan 2020 17:39:19 +0000 (17:39 +0000)] 
Happy New Year!

5 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4
Quanah Gibson-Mount [Thu, 9 Jan 2020 17:38:42 +0000 (17:38 +0000)] 
Merge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4

5 years agoITS#9144
Quanah Gibson-Mount [Thu, 9 Jan 2020 17:34:28 +0000 (17:34 +0000)] 
ITS#9144

5 years agoITS#9144 - Regenerate configure
Quanah Gibson-Mount [Thu, 9 Jan 2020 17:33:57 +0000 (17:33 +0000)] 
ITS#9144 - Regenerate configure

5 years agoITS#9144 Remove unused ICU detection and linking
Ryan Tandy [Thu, 19 Dec 2019 22:34:58 +0000 (14:34 -0800)] 
ITS#9144 Remove unused ICU detection and linking

This reverts commits a956f75924c5d8f2a80ccb899666820cd71a4d6b ("Add (not
yet used) ICU detection") and 1cf5838e081fa3198161c53fb8e783b5f0f24503
("detect ICU and link it into slapd(8)").

5 years agoITS#9146
Quanah Gibson-Mount [Thu, 9 Jan 2020 17:12:23 +0000 (17:12 +0000)] 
ITS#9146

5 years agoITS#9146 syncprov: fix sessionlog init
Howard Chu [Wed, 8 Jan 2020 22:22:14 +0000 (22:22 +0000)] 
ITS#9146 syncprov: fix sessionlog init

5 years agoITS#9145
Quanah Gibson-Mount [Thu, 9 Jan 2020 17:11:05 +0000 (17:11 +0000)] 
ITS#9145

5 years agoITS#9145 Do not add controls to cancel/abandon
Ondřej Kuzník [Fri, 3 Jan 2020 10:51:28 +0000 (10:51 +0000)] 
ITS#9145 Do not add controls to cancel/abandon

5 years agoITS#9124 BerElement sits on the stack
Ondřej Kuzník [Fri, 3 Jan 2020 10:52:12 +0000 (10:52 +0000)] 
ITS#9124 BerElement sits on the stack

5 years agoITS#9124 Cancel exop test, piggybacking on syncrepl tests
Ondřej Kuzník [Fri, 3 Jan 2020 11:41:12 +0000 (11:41 +0000)] 
ITS#9124 Cancel exop test, piggybacking on syncrepl tests

5 years agoITS#9128
Quanah Gibson-Mount [Thu, 9 Jan 2020 16:58:13 +0000 (16:58 +0000)] 
ITS#9128

5 years agoITS#9128 fix bus error in strchrlen
Arvid Requate [Tue, 3 Dec 2019 22:33:10 +0000 (23:33 +0100)] 
ITS#9128 fix bus error in strchrlen

5 years agoITS#8629
Quanah Gibson-Mount [Thu, 9 Jan 2020 16:56:00 +0000 (16:56 +0000)] 
ITS#8629

5 years agoITS#8629 Make sure pwcons is around for slapauth
Ondřej Kuzník [Mon, 2 Dec 2019 12:25:52 +0000 (12:25 +0000)] 
ITS#8629 Make sure pwcons is around for slapauth

Long term, overlay callbacks should not be running in tool mode at all.

5 years agoHappy New Year!
Quanah Gibson-Mount [Thu, 9 Jan 2020 16:32:20 +0000 (16:32 +0000)] 
Happy New Year!

5 years agoITS#9124
Quanah Gibson-Mount [Mon, 2 Dec 2019 16:09:39 +0000 (16:09 +0000)] 
ITS#9124

5 years agoITS#9124 Check we have data to process in Cancel Exop
Ondřej Kuzník [Fri, 29 Nov 2019 10:03:24 +0000 (10:03 +0000)] 
ITS#9124 Check we have data to process in Cancel Exop

5 years agoFix minor typo
Quanah Gibson-Mount [Mon, 25 Nov 2019 17:16:04 +0000 (17:16 +0000)] 
Fix minor typo

5 years agoITS#9091
Quanah Gibson-Mount [Fri, 22 Nov 2019 18:08:04 +0000 (18:08 +0000)] 
ITS#9091

5 years agoITS#9091 drop attr mappings added in an aborted txn
Howard Chu [Mon, 14 Oct 2019 17:34:07 +0000 (18:34 +0100)] 
ITS#9091 drop attr mappings added in an aborted txn

If a txn is aborted in id2entry_put, attribute index mappings
added during that txn must also be dropped from memory.

5 years agoITS#9112
Quanah Gibson-Mount [Fri, 22 Nov 2019 17:43:28 +0000 (17:43 +0000)] 
ITS#9112

5 years agoITS#9112 cleaner error handling during connection setup
Howard Chu [Mon, 28 Oct 2019 23:01:08 +0000 (23:01 +0000)] 
ITS#9112 cleaner error handling during connection setup

And additional debug code for tracking errant close()s

5 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4
Quanah Gibson-Mount [Fri, 22 Nov 2019 14:37:32 +0000 (14:37 +0000)] 
Merge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4

5 years agoITS#9118 - Fix typo in prev commit
Quanah Gibson-Mount [Fri, 22 Nov 2019 14:36:38 +0000 (14:36 +0000)] 
ITS#9118 - Fix typo in prev commit

5 years agoMerge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4
Quanah Gibson-Mount [Thu, 21 Nov 2019 21:33:17 +0000 (21:33 +0000)] 
Merge remote-tracking branch 'origin/mdb.RE/0.9' into OPENLDAP_REL_ENG_2_4

5 years agoITS#9118
Howard Chu [Thu, 21 Nov 2019 20:45:11 +0000 (20:45 +0000)] 
ITS#9118

5 years agoITS#9118 add MAP_NOSYNC for FreeBSD
Howard Chu [Thu, 21 Nov 2019 20:44:37 +0000 (20:44 +0000)] 
ITS#9118 add MAP_NOSYNC for FreeBSD

5 years agoITS#9119
Quanah Gibson-Mount [Thu, 21 Nov 2019 20:29:00 +0000 (20:29 +0000)] 
ITS#9119