]>
git.ipfire.org Git - thirdparty/openldap.git/log
Isaac Boukris [Thu, 23 Apr 2020 20:47:32 +0000 (22:47 +0200)]
ITS#9189 - initialize ldo_sasl_cbinding in LDAP_LDO_SASL_NULLARG
Reported-by: Ryan Tandy @ryan
Ryan Tandy [Thu, 23 Apr 2020 20:18:10 +0000 (13:18 -0700)]
ITS#9215 Define _XOPEN_SOURCE for glibc only
Isaac Boukris [Sat, 18 Apr 2020 14:30:03 +0000 (16:30 +0200)]
ITS#9189 add channel-bindings tests
Isaac Boukris [Tue, 14 Apr 2020 13:10:48 +0000 (16:10 +0300)]
ITS#9189 rework sasl-cbinding support
Add LDAP_OPT_X_SASL_CBINDING option to define the binding type to use,
defaults to "none".
Add "tls-endpoint" binding type implementing "tls-server-end-point" from
RCF 5929, which is compatible with Windows.
Fix "tls-unique" to include the prefix in the bindings as per RFC 5056.
Quanah Gibson-Mount [Fri, 17 Apr 2020 14:43:33 +0000 (14:43 +0000)]
ITS#5573 - Expose contextCSN, entryCSN in subschema entry
Ryan Tandy [Wed, 22 Apr 2020 18:31:01 +0000 (11:31 -0700)]
ITS#8224 Regenerate configure
Ryan Tandy [Sat, 18 Apr 2020 17:20:22 +0000 (10:20 -0700)]
ITS#8224 Consolidate configure options validation
Ryan Tandy [Sat, 18 Apr 2020 16:52:26 +0000 (09:52 -0700)]
ITS#8224 Simplify slapd minimal built-in backend check
--enable-slapd=auto is now implicitly handled the same as =yes.
Ryan Tandy [Sat, 18 Apr 2020 16:51:50 +0000 (09:51 -0700)]
ITS#8224 Simplify --disable-slapd logic
Ryan Tandy [Sat, 18 Apr 2020 16:34:12 +0000 (09:34 -0700)]
ITS#8224 Use AS_HELP_STRING to indent configure options consistently
Ryan Tandy [Sat, 18 Apr 2020 16:12:11 +0000 (09:12 -0700)]
ITS#8772 Remove --with-threads=mach option
Quanah Gibson-Mount [Wed, 22 Apr 2020 16:11:33 +0000 (16:11 +0000)]
ITS#6740 - regenerate configure
Quanah Gibson-Mount [Fri, 17 Apr 2020 15:00:28 +0000 (15:00 +0000)]
ITS#6740 - Always enable rewrite
Quanah Gibson-Mount [Mon, 20 Apr 2020 17:34:50 +0000 (17:34 +0000)]
ITS#9230 - Update truncate man page information for 2.5 and later
Quanah Gibson-Mount [Mon, 20 Apr 2020 21:42:11 +0000 (21:42 +0000)]
ITS#9207 - regenerate
Quanah Gibson-Mount [Mon, 20 Apr 2020 19:37:06 +0000 (19:37 +0000)]
Update to drop NON_BLOCKING ifdefs that were only really for moznss
Quanah Gibson-Mount [Fri, 17 Apr 2020 17:19:25 +0000 (17:19 +0000)]
ITS#9207 - Remove MozNSS code and documentation
Isaac Boukris [Tue, 14 Apr 2020 14:32:36 +0000 (17:32 +0300)]
gitlab: add krb5 packages for gssapi tests and a second build
Isaac Boukris [Tue, 14 Apr 2020 13:19:05 +0000 (16:19 +0300)]
auth: add SASL/GSSAPI tests
Howard Chu [Sat, 18 Apr 2020 00:29:26 +0000 (01:29 +0100)]
ITS#9209 quote test argument
Ryan Tandy [Fri, 17 Apr 2020 23:08:54 +0000 (16:08 -0700)]
ITS#9087 Regenerate configure
Ryan Tandy [Fri, 17 Apr 2020 20:09:17 +0000 (13:09 -0700)]
ITS#9087 Let configure detect cross windres tool
Chris Zagar [Sat, 21 Sep 2019 05:09:40 +0000 (22:09 -0700)]
ITS#9087 - Change hard-coded windres to $(RC) to support mingw cross-compiling
Howard Chu [Fri, 17 Apr 2020 20:00:07 +0000 (21:00 +0100)]
ITS#9209 fix test
Ryan Tandy [Fri, 17 Apr 2020 02:32:52 +0000 (19:32 -0700)]
ITS#9226 Fix link order for rewrite program on MinGW
Howard Chu [Fri, 17 Apr 2020 01:46:10 +0000 (02:46 +0100)]
ITS#6745 slapd daemon: use separate emfile mutex
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
Ryan Tandy [Thu, 16 Apr 2020 16:51:28 +0000 (09:51 -0700)]
ITS#6035 Fix test076 to specify SASL mech
Ondřej Kuzník [Wed, 15 Apr 2020 15:04:08 +0000 (16:04 +0100)]
ITS#9112 Silence warnings
Ondřej Kuzník [Wed, 15 Apr 2020 14:59:22 +0000 (15:59 +0100)]
ITS#8731 Remove unused arguments
Ondřej Kuzník [Wed, 15 Apr 2020 14:58:35 +0000 (15:58 +0100)]
ITS#8245 Silence warning
Quanah Gibson-Mount [Thu, 16 Apr 2020 15:14:59 +0000 (15:14 +0000)]
ITS#6937 -- regenerate configure/portable.hin
Quanah Gibson-Mount [Wed, 15 Apr 2020 19:31:07 +0000 (19:31 +0000)]
ITS#6937 - Remove unused proctitle bits
grapvar [Tue, 14 Apr 2020 21:47:00 +0000 (21:47 +0000)]
ITS#9214 slapd-mdb: plug cursor leak in dnSuperiorMatch filter
Quanah Gibson-Mount [Tue, 14 Apr 2020 22:20:38 +0000 (22:20 +0000)]
ITS#9213 -- Regenerate configure
Ryan Tandy [Tue, 14 Apr 2020 19:10:06 +0000 (12:10 -0700)]
ITS#9213 Make --enable-modules imply --enable-dynamic
The default for --enable-dynamic is now "auto", meaning "yes" if
--enable-modules and "no" otherwise.
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.
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.
Ryan Tandy [Tue, 7 Apr 2020 18:18:22 +0000 (11:18 -0700)]
ITS#9206 Use argon2id default values explicitly
Ryan Tandy [Tue, 7 Apr 2020 17:37:48 +0000 (10:37 -0700)]
ITS#9206 Convert libsodium default memlimit to KiB
Ryan Tandy [Tue, 7 Apr 2020 18:19:21 +0000 (11:19 -0700)]
ITS#9206 Initialize libsodium before calling its functions
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>
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.
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>
Ondřej Kuzník [Wed, 26 Jun 2019 10:22:58 +0000 (12:22 +0200)]
ITS#9043 Improve replication loggging
Ryan Tandy [Mon, 13 Apr 2020 18:12:39 +0000 (11:12 -0700)]
ITS#8731 cleanup unused logbuf
Ryan Tandy [Mon, 13 Apr 2020 18:10:47 +0000 (11:10 -0700)]
ITS#9212 Restore snprintf to caller-provided buffer
76df74dbeab47195e42946a474c3a5f8557c168d removed some snprintfs to
buffers that are actually returned to the client. Restore these.
Quanah Gibson-Mount [Mon, 13 Apr 2020 14:50:22 +0000 (14:50 +0000)]
ITS#6567 - More cleanup
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.
Quanah Gibson-Mount [Thu, 9 Apr 2020 21:04:40 +0000 (21:04 +0000)]
ITS#6567 - Remove non-cyrus-sasl GSSAPI bits
Quanah Gibson-Mount [Fri, 10 Apr 2020 18:14:45 +0000 (18:14 +0000)]
ITS#9177 -- regenerate
Quanah Gibson-Mount [Thu, 9 Apr 2020 23:38:01 +0000 (23:38 +0000)]
ITS#9177 - Finish updating migration to latest autoconf and related build tools
Quanah Gibson-Mount [Fri, 10 Apr 2020 15:05:32 +0000 (15:05 +0000)]
Temporarily disable asyncmeta until deadlock is fixed
Quanah Gibson-Mount [Fri, 10 Apr 2020 14:42:50 +0000 (14:42 +0000)]
Run autoreconf before running configure
Howard Chu [Tue, 7 Apr 2020 15:26:02 +0000 (16:26 +0100)]
ITS#9121 Fix MatchingRuleAssertion init
Ondřej Kuzník [Tue, 22 Sep 2015 20:40:20 +0000 (21:40 +0100)]
ITS#8245 Use Relax control to avoid uniqueness checks
Still needs to retrieve the entry for ACL resolution until we can
restrict controls with ACLs.
Quanah Gibson-Mount [Fri, 3 Apr 2020 23:48:39 +0000 (23:48 +0000)]
ITS#9184 - Document V[V[V]] option to slapd
Quanah Gibson-Mount [Fri, 3 Apr 2020 17:11:28 +0000 (17:11 +0000)]
ITS#9191 - Avoid div 0 error
Howard Chu [Sat, 4 Apr 2020 01:54:03 +0000 (02:54 +0100)]
ITS#9121 memberOf shortcut
Don't try to generate it if it wasn't requested
Howard Chu [Fri, 3 Apr 2020 20:38:41 +0000 (21:38 +0100)]
ITS#9121 memberof fix
Fix for groupURI with no filter
Howard Chu [Fri, 3 Apr 2020 20:29:25 +0000 (21:29 +0100)]
ITS#9121 typos
Howard Chu [Fri, 3 Apr 2020 20:27:48 +0000 (21:27 +0100)]
ITS#9121 fix typo
Howard Chu [Fri, 3 Apr 2020 19:42:59 +0000 (20:42 +0100)]
ITS#9121 fix memberOf filtering
Replace (memberOf=<groupDN>) filter with expansion of group's URI
Howard Chu [Thu, 2 Apr 2020 18:47:55 +0000 (19:47 +0100)]
ITS#9121 optimize dyngroup membership checking
parse dyngroup URLs in advance, don't use the ACL engine's
evaluator any more
Howard Chu [Thu, 2 Apr 2020 16:47:37 +0000 (17:47 +0100)]
ITS#9121 memberof counting
Keep track of number of uses of memberOf in config, to
allow bypassing code if not in use.
Quanah Gibson-Mount [Fri, 3 Apr 2020 17:02:14 +0000 (17:02 +0000)]
ITS#8383 - Regenerate configure
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.
Ondřej Kuzník [Fri, 3 Apr 2020 09:27:03 +0000 (10:27 +0100)]
ITS#6207 Add GitLab CI
Ondřej Kuzník [Thu, 2 Apr 2020 15:21:15 +0000 (16:21 +0100)]
ITS#6207 Print out test timings
Ondřej Kuzník [Tue, 31 Mar 2020 15:33:24 +0000 (16:33 +0100)]
ITS#8753 Fix pinning test script with no openssl
Quanah Gibson-Mount [Thu, 2 Apr 2020 16:28:58 +0000 (16:28 +0000)]
ITS#6035 - regenerate configure
Ryan Tandy [Tue, 24 Mar 2020 00:37:20 +0000 (17:37 -0700)]
ITS#6035 Create test script
Ryan Tandy [Mon, 31 Aug 2015 23:54:34 +0000 (16:54 -0700)]
ITS#6035 olcAuthIDRewrite insert/delete support
Ryan Tandy [Sat, 29 Aug 2015 18:07:39 +0000 (11:07 -0700)]
ITS#6035 olcAuthzRegexp insert/delete support
Ryan Tandy [Mon, 31 Aug 2015 18:43:12 +0000 (11:43 -0700)]
ITS#6035 saslauthz cleanups (no functional change)
- give authid-rewrite's argument a name
- tidy saslauthz.c whitespace (mixed spaces/tabs)
- always declare slap_sasl_regexp_destroy: fixes an implicit declaration
warning when configured without librewrite
- delete dead code: ENABLE_REWRITE implies SLAP_AUTH_REWRITE, so this
code is never compiled
- make slap_sasl_regexp_rewrite_config static
- omit sasl_regexp unused fields when built with librewrite
Ryan Tandy [Fri, 20 Sep 2019 23:41:26 +0000 (16:41 -0700)]
ITS#9086 Add debug logging for more GnuTLS errors
Peter Marschall [Sun, 16 Aug 2015 11:46:46 +0000 (13:46 +0200)]
ITS#8628 - contrib/passwd/pbkdf2: new Makefile variables SSL_LIB & SSL_INC
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
Ryan Tandy [Sun, 29 Mar 2020 17:00:45 +0000 (10:00 -0700)]
ITS#8837 Fix pw-pbkdf2 manpage name to get it installed
Sergei Trofimovich [Mon, 19 Jun 2017 20:48:05 +0000 (21:48 +0100)]
thr_posix.c: fix implicit function declaration for 'pthread_setconcurrency'
thr_posix.c: In function 'ldap_pvt_thread_set_concurrency':
thr_posix.c:96:9: error: implicit declaration of function 'pthread_setconcurrency'
return pthread_setconcurrency( n );
^~~~~~~~~~~~~~~~~~~~~~
pthread_setcanceltype
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Kurt Zeilenga [Mon, 19 Jun 2017 23:09:41 +0000 (16:09 -0700)]
ITS#8675 - Fix tools to not continue on TLS error
The spec says that upon StartTLS 'success', both TLS communications is
established on the octet following the Start TLS response (and the
request)... and that once one starts TLS communications, one can never
go back to LDAP without TLS. So if there's a TLS failure (whether as
part of TLS nego or later), LDAP communications cannot be continued
(without TLS).
Only ignoring LDAP errors (rc > 0) ensures that if TLS negotiation
fails, we don't attempt to send LDAP operations without TLS.
Emily Backes [Fri, 6 Feb 2015 02:46:24 +0000 (18:46 -0800)]
ITS#7074 - change olcDatabaseDummy initialization for windows
Howard Chu [Mon, 16 Mar 2020 17:07:43 +0000 (17:07 +0000)]
ITS#9181 Fix race on Windows mutex init
Howard Chu [Wed, 11 Mar 2020 19:17:10 +0000 (19:17 +0000)]
ITS#9182 pcache: fix private DB init
Ryan Tandy [Fri, 28 Feb 2020 21:18:48 +0000 (13:18 -0800)]
ITS#8639 Delete LM hash support from smbk5pwd
Ryan Tandy [Fri, 28 Feb 2020 20:13:50 +0000 (12:13 -0800)]
ITS#8639 Regenerate configure and portable.hin
Andrew Lawrence [Fri, 9 Feb 2018 23:32:28 +0000 (23:32 +0000)]
ITS#8639 remove LANMAN hashed passwords
Howard Chu [Fri, 6 Mar 2020 17:28:46 +0000 (17:28 +0000)]
ITS#9121 fix filter error message
Filters use parentheses, not brackets.
Ryan Tandy [Fri, 28 Feb 2020 20:00:14 +0000 (12:00 -0800)]
Fix SLAPD_OVER_RETCODE description
Ryan Tandy [Fri, 28 Feb 2020 20:00:10 +0000 (12:00 -0800)]
Regenerate portable.hin with autoheader 2.69
Howard Chu [Tue, 25 Feb 2020 18:05:20 +0000 (18:05 +0000)]
ITS#9121 plug entry leak
Quanah Gibson-Mount [Fri, 21 Feb 2020 21:10:49 +0000 (21:10 +0000)]
ITS#9175 - Fix argument cast
Fixes potential segfault in ldapsearch
Ondřej Kuzník [Fri, 21 Feb 2020 10:27:44 +0000 (10:27 +0000)]
Correct cyrus-sasl version verison check
Ondřej Kuzník [Fri, 21 Feb 2020 10:26:53 +0000 (10:26 +0000)]
ITS#9171 Insert callback in the right place
Howard Chu [Fri, 14 Feb 2020 22:32:03 +0000 (22:32 +0000)]
ITS#9121 fix prev commit
Only flush entry if dynlist_prepare_entry altered it
Ryan Tandy [Wed, 12 Feb 2020 18:53:52 +0000 (10:53 -0800)]
ITS#9166 Fix slapdconfig.sdf mismatched braces
Ondřej Kuzník [Fri, 7 Feb 2020 11:34:20 +0000 (11:34 +0000)]
Revert "ITS#9160 OOM handling in mdb tools", wrong branch.
This reverts commit
be61a967e632fdf7836b6efb4e0fc2776d9d3e52 .
Ondřej Kuzník [Thu, 30 Jan 2020 09:03:59 +0000 (09:03 +0000)]
ITS#9160 OOM handling in back-asyncmeta
Ondřej Kuzník [Thu, 30 Jan 2020 09:03:41 +0000 (09:03 +0000)]
ITS#9160 OOM handling in back-meta
Ondřej Kuzník [Thu, 30 Jan 2020 09:02:25 +0000 (09:02 +0000)]
ITS#9160 OOM handling in libldap