Commit Graph

22844 Commits

Author SHA1 Message Date
Quanah Gibson-Mount
c91bbe6eea ITS#8614 - slapd must be built threaded 2020-05-14 16:30:17 +00:00
Ryan Tandy
9282e6edea ITS#8155 Support cacertdir with GnuTLS 2020-05-14 07:56:28 -07:00
Ryan Tandy
fc8a7b25b8 ITS#9258 More for ITS#6937, don't free user/group 2020-05-10 08:47:54 -07:00
Howard Chu
f5ff1dad7e ITS#9227 fix attr / opattr detection in prev commit 2020-05-08 18:50:58 +01:00
Howard Chu
5462fc26b5 ITS#9227 syncrepl: don't delete non-replicated attrs 2020-05-08 16:23:44 +01:00
Ryan Tandy
78cfaa3c9f Fix minor issues in test077 script 2020-04-28 11:27:49 -07:00
Ryan Tandy
7dfbcfa151 Fix typos 2020-04-28 11:24:48 -07:00
Ryan Tandy
59bdc8158f Convert test077 to LDIF config 2020-04-28 11:24:48 -07:00
Ryan Tandy
e006994d83 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.
2020-04-28 11:21:17 -07:00
Howard Chu
fd23680a44 ITS#9215 fix for glibc again 2020-04-28 16:33:41 +01:00
Howard Chu
d38d48fc8f ITS#9202 limit depth of nested filters
Using a hardcoded limit for now; no reasonable apps
should ever run into it.
2020-04-28 13:58:15 +00:00
Quanah Gibson-Mount
af5b31b2a7 2.5 version updates 2020-04-27 23:25:19 +00:00
Ryan Tandy
0578202a26 Skip MIT setup if krb5kdc not installed 2020-04-27 21:41:29 +00:00
Ryan Tandy
4a50fa745d ITS#9215 Fix previous commit 2020-04-27 20:06:52 +00:00
Ryan Tandy
e96f90e212 ITS#9176 Implement SNI for GnuTLS 2020-04-27 11:01:01 -07:00
Howard Chu
4265849b0f ITS#9176 check for failure setting SNI 2020-04-27 18:54:02 +01:00
Howard Chu
b8f34888c3 ITS#9176 check for numeric addrs before passing SNI 2020-04-27 18:25:49 +01:00
Ryan Tandy
8f174209e1 ITS#7573 Fix back-perl dynamic config with threaded slapd 2020-04-27 16:21:12 +00:00
Ryan Tandy
10cc52ca4c ITS#7573 Create regression test 2020-04-27 16:21:12 +00:00
Howard Chu
5c0efb9ce8 ITS#9176 Add TLS SNI support to libldap
Implemented for OpenSSL, GnuTLS just stubbed
2020-04-27 03:41:12 +01:00
Ryan Tandy
df46c07a92 ITS#6035 Skip test076 if chosen SASL mech not supported 2020-04-26 01:46:43 +00:00
Ryan Tandy
34918d4e35 Fix export syntax compatibility with older sh 2020-04-25 17:02:07 -07:00
Isaac Boukris
4c545ee078 ITS#9242 - ifdef tls-endpoint code in openssl pre 0.9.8 2020-04-25 22:50:52 +02:00
Isaac Boukris
4cac398b19 ITS#9189 - initialize ldo_sasl_cbinding in LDAP_LDO_SASL_NULLARG
Reported-by: Ryan Tandy @ryan
2020-04-23 22:28:51 +00:00
Ryan Tandy
e9543da971 ITS#9215 Define _XOPEN_SOURCE for glibc only 2020-04-23 13:19:33 -07:00
Isaac Boukris
7b0017ad49 ITS#9189 add channel-bindings tests 2020-04-23 21:00:39 +02:00
Isaac Boukris
3cd50fa8b3 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.
2020-04-23 21:00:39 +02:00
Quanah Gibson-Mount
96fedda628 ITS#5573 - Expose contextCSN, entryCSN in subschema entry 2020-04-22 18:59:38 +00:00
Ryan Tandy
0c4ee60aa8 ITS#8224 Regenerate configure 2020-04-22 11:31:01 -07:00
Ryan Tandy
2678a32a98 ITS#8224 Consolidate configure options validation 2020-04-22 16:18:50 +00:00
Ryan Tandy
5144fba8d1 ITS#8224 Simplify slapd minimal built-in backend check
--enable-slapd=auto is now implicitly handled the same as =yes.
2020-04-22 16:18:50 +00:00
Ryan Tandy
a2882e5eae ITS#8224 Simplify --disable-slapd logic 2020-04-22 16:18:50 +00:00
Ryan Tandy
eadba4d0fe ITS#8224 Use AS_HELP_STRING to indent configure options consistently 2020-04-22 16:18:50 +00:00
Ryan Tandy
82c8d3eb5d ITS#8772 Remove --with-threads=mach option 2020-04-22 16:18:50 +00:00
Quanah Gibson-Mount
21e48fad18 ITS#6740 - regenerate configure 2020-04-22 16:11:33 +00:00
Quanah Gibson-Mount
bc9a92866a ITS#6740 - Always enable rewrite 2020-04-22 14:49:10 +00:00
Quanah Gibson-Mount
1f4d4c9536 ITS#9230 - Update truncate man page information for 2.5 and later 2020-04-22 00:37:23 +00:00
Quanah Gibson-Mount
58b89e0920 ITS#9207 - regenerate 2020-04-20 21:42:11 +00:00
Quanah Gibson-Mount
8505f774a5 Update to drop NON_BLOCKING ifdefs that were only really for moznss 2020-04-20 21:38:01 +00:00
Quanah Gibson-Mount
a019e7fe1a ITS#9207 - Remove MozNSS code and documentation 2020-04-20 21:38:01 +00:00
Isaac Boukris
3dd0d77d1a gitlab: add krb5 packages for gssapi tests and a second build 2020-04-19 11:10:50 +03:00
Isaac Boukris
8e3e85e329 auth: add SASL/GSSAPI tests 2020-04-19 11:10:50 +03:00
Howard Chu
94ef2c9b43 ITS#9209 quote test argument 2020-04-18 01:30:08 +01:00
Ryan Tandy
bfb20d3ef9 ITS#9087 Regenerate configure 2020-04-17 16:08:54 -07:00
Ryan Tandy
84ab23f37f ITS#9087 Let configure detect cross windres tool 2020-04-17 21:39:52 +00:00
Chris Zagar
7985626fae ITS#9087 - Change hard-coded windres to $(RC) to support mingw cross-compiling 2020-04-17 21:01:05 +00:00
Howard Chu
c5acb1d377 ITS#9209 fix test 2020-04-17 21:00:07 +01:00
Ryan Tandy
db404baf15 ITS#9226 Fix link order for rewrite program on MinGW 2020-04-16 19:35:53 -07:00
Howard Chu
bcb0af6262 ITS#6745 slapd daemon: use separate emfile mutex 2020-04-17 02:46:10 +01:00
Ryan Tandy
d5e133f459 ITS#9181 fix ldap_pvt_thread_mutex_t used before its definition 2020-04-16 19:15:31 +00:00