From 288a28a762d29dba347df29c88938d47a6fe08e3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Julio=20S=C3=A1nchez=20Fern=C3=A1ndez?= Date: Tue, 20 Jul 1999 18:05:50 +0000 Subject: [PATCH] Add support for TLSVerifyClient. --- servers/slapd/config.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/servers/slapd/config.c b/servers/slapd/config.c index 873f2d16c2..f05fd08691 100644 --- a/servers/slapd/config.c +++ b/servers/slapd/config.c @@ -631,6 +631,12 @@ read_config( char *fname ) cargv[1] ); if ( rc ) return rc; + } else if ( !strcasecmp( cargv[0], "TLSVerifyClient" ) ) { + rc = ldap_pvt_tls_set_option( NULL, + LDAP_OPT_X_TLS_REQUIRE_CERT, + cargv[1] ); + if ( rc ) + return rc; #endif -- 2.39.5