]>
git.ipfire.org Git - thirdparty/openldap.git/log
Ondřej Kuzník [Thu, 11 Jun 2020 10:39:08 +0000 (11:39 +0100)]
ITS#8949 Check eblock exists before freeing
cn=config changes might cause slapi_plugins_used transition from 0
during the lifetime of operation (cn=config change or syncrepl) or
a connection and we should be able to deal with that.
Ondřej Kuzník [Wed, 10 Jun 2020 09:34:50 +0000 (10:34 +0100)]
ITS#8473 Implement ordering stable (de)registration
Ondřej Kuzník [Thu, 4 Jun 2020 11:31:39 +0000 (12:31 +0100)]
ITS#8473 Mark olcPlugin as ordered
Quanah Gibson-Mount [Wed, 10 Jun 2020 21:17:30 +0000 (21:17 +0000)]
ITS#8140 - Update bind operations to note bind_ssf vs overall connection ssf
Ondřej Kuzník [Wed, 10 Jun 2020 12:00:33 +0000 (13:00 +0100)]
ITS#8434 Allow cleanup at the end of a failed back-config add
Quanah Gibson-Mount [Tue, 16 Jun 2020 17:37:05 +0000 (17:37 +0000)]
Cleanup links to old ITS system
Howard Chu [Sat, 20 Jun 2020 23:45:45 +0000 (00:45 +0100)]
ITS#9262 check referral
Howard Chu [Tue, 16 Jun 2020 18:57:41 +0000 (19:57 +0100)]
Silence stupid fallthru warning
Howard Chu [Tue, 16 Jun 2020 18:56:16 +0000 (19:56 +0100)]
ITS#9278 fix robust mutex cleanup for FreeBSD
FreeBSD 11 supports robust process-shared POSIX mutexes,
but requires them to be explicitly destroyed before munmap
Quanah Gibson-Mount [Wed, 27 May 2020 18:52:30 +0000 (18:52 +0000)]
Issue #8888 - Change numbered list to Note format
Quanah Gibson-Mount [Tue, 26 May 2020 21:00:11 +0000 (21:00 +0000)]
Issue#9248 - Fix default prefix value
Ondřej Kuzník [Wed, 27 May 2020 14:50:24 +0000 (15:50 +0100)]
ITS#9271 Document ldap_parse_intermediate
Quanah Gibson-Mount [Tue, 26 May 2020 20:21:29 +0000 (20:21 +0000)]
Issue#9239 - Fix case where e->e_dn may be NULL causing a segfault on some platforms
Quanah Gibson-Mount [Wed, 13 May 2020 14:14:46 +0000 (14:14 +0000)]
ITS#8873 - Delete obsolete configuration options from back-ldap, back-meta, and back-asyncmeta
Quanah Gibson-Mount [Fri, 22 May 2020 23:45:40 +0000 (23:45 +0000)]
Issue#7530 - Test for ERANGE when using 6 form gethostbyname_r
Howard Chu [Mon, 25 May 2020 21:38:30 +0000 (22:38 +0100)]
ITS#9264 more for unique locking
Ondřej Kuzník [Fri, 1 May 2020 08:03:46 +0000 (09:03 +0100)]
ITS#9059 Document why we do FIND_CSN
Ondřej Kuzník [Fri, 1 May 2020 08:02:50 +0000 (09:02 +0100)]
ITS#9059 Skip mincsn check if sessionlog replay was successful
Howard Chu [Fri, 22 May 2020 14:08:20 +0000 (15:08 +0100)]
ITS#9264 add an optional lock to slapo-unique
Howard Chu [Wed, 20 May 2020 18:54:15 +0000 (19:54 +0100)]
ITS#9165 Fix pageedResults cookie printing
Quanah Gibson-Mount [Tue, 12 May 2020 20:11:20 +0000 (20:11 +0000)]
ITS#8154 - olcTimeLimit and olcSizeLimit are single valued, fix docs
Quanah Gibson-Mount [Thu, 14 May 2020 17:14:02 +0000 (17:14 +0000)]
ITS#8614 - documentation updates
Quanah Gibson-Mount [Mon, 18 May 2020 18:20:57 +0000 (18:20 +0000)]
Regenerate configure for Issue#9236
Quanah Gibson-Mount [Thu, 14 May 2020 17:54:53 +0000 (17:54 +0000)]
ITS#9236 - don't enable shell if --enable-backends is set, but let it be explicitly built
Quanah Gibson-Mount [Thu, 14 May 2020 17:48:47 +0000 (17:48 +0000)]
ITS#8614,ITS#8155 - regenerate configure
Quanah Gibson-Mount [Mon, 4 May 2020 23:37:17 +0000 (23:37 +0000)]
ITS#8614 - slapd must be built threaded
Ryan Tandy [Thu, 14 May 2020 14:56:28 +0000 (07:56 -0700)]
ITS#8155 Support cacertdir with GnuTLS
Ryan Tandy [Sun, 10 May 2020 15:47:54 +0000 (08:47 -0700)]
ITS#9258 More for ITS#6937, don't free user/group
Howard Chu [Fri, 8 May 2020 17:50:58 +0000 (18:50 +0100)]
ITS#9227 fix attr / opattr detection in prev commit
Howard Chu [Fri, 8 May 2020 15:22:44 +0000 (16:22 +0100)]
ITS#9227 syncrepl: don't delete non-replicated attrs
Ryan Tandy [Tue, 28 Apr 2020 18:27:49 +0000 (11:27 -0700)]
Fix minor issues in test077 script
Ryan Tandy [Tue, 28 Apr 2020 18:01:52 +0000 (11:01 -0700)]
Fix typos
Ryan Tandy [Tue, 28 Apr 2020 06:24:16 +0000 (23:24 -0700)]
Convert test077 to LDIF config
Ryan Tandy [Sun, 26 Apr 2020 18:40:23 +0000 (11:40 -0700)]
Fix slaptest in test077
The libtool wrapper scripts lose argv[0] when exec'ing the real binary.
In the CI Docker container, where the build runs as root, this was
actually starting a real slapd on the default port.
Outside Docker, running as a non-root user, this slapd would just fail
to start, and wouldn't convert the config either.
Using "slapd -Tt" fixes the issue but also prints a warning from
slaptest since the database hasn't been initialized yet.
Dynamic config isn't actually used in this test script, so let's just
run slapd off the config file directly.
Howard Chu [Tue, 28 Apr 2020 15:33:41 +0000 (16:33 +0100)]
ITS#9215 fix for glibc again
Howard Chu [Thu, 16 Apr 2020 00:08:19 +0000 (01:08 +0100)]
ITS#9202 limit depth of nested filters
Using a hardcoded limit for now; no reasonable apps
should ever run into it.
Quanah Gibson-Mount [Mon, 27 Apr 2020 23:25:08 +0000 (23:25 +0000)]
2.5 version updates
Ryan Tandy [Sun, 26 Apr 2020 18:08:39 +0000 (11:08 -0700)]
Skip MIT setup if krb5kdc not installed
Ryan Tandy [Sun, 26 Apr 2020 19:01:12 +0000 (12:01 -0700)]
ITS#9215 Fix previous commit
Ryan Tandy [Mon, 27 Apr 2020 18:01:01 +0000 (11:01 -0700)]
ITS#9176 Implement SNI for GnuTLS
Howard Chu [Mon, 27 Apr 2020 17:54:02 +0000 (18:54 +0100)]
ITS#9176 check for failure setting SNI
Howard Chu [Mon, 27 Apr 2020 17:25:10 +0000 (18:25 +0100)]
ITS#9176 check for numeric addrs before passing SNI
Ryan Tandy [Sun, 26 Apr 2020 17:46:22 +0000 (10:46 -0700)]
ITS#7573 Fix back-perl dynamic config with threaded slapd
Ryan Tandy [Sun, 26 Apr 2020 17:38:29 +0000 (17:38 +0000)]
ITS#7573 Create regression test
Howard Chu [Mon, 27 Apr 2020 02:41:12 +0000 (03:41 +0100)]
ITS#9176 Add TLS SNI support to libldap
Implemented for OpenSSL, GnuTLS just stubbed
Ryan Tandy [Sun, 26 Apr 2020 00:31:48 +0000 (17:31 -0700)]
ITS#6035 Skip test076 if chosen SASL mech not supported
Ryan Tandy [Sun, 26 Apr 2020 00:02:07 +0000 (17:02 -0700)]
Fix export syntax compatibility with older sh
Isaac Boukris [Sat, 25 Apr 2020 20:50:03 +0000 (22:50 +0200)]
ITS#9242 - ifdef tls-endpoint code in openssl pre 0.9.8
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