From cbe9c74675a3b6778c39509a3d8632a707a6365e Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Wed, 29 Jun 2005 12:38:18 +0000 Subject: [PATCH] return LDAP_SUCCESS if Start TLS failed but was not critical --- servers/slapd/back-ldap/bind.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/servers/slapd/back-ldap/bind.c b/servers/slapd/back-ldap/bind.c index 13fba4a4b0..65de40ae64 100644 --- a/servers/slapd/back-ldap/bind.c +++ b/servers/slapd/back-ldap/bind.c @@ -347,6 +347,9 @@ retry:; ldap_unbind_ext_s( ld, NULL, NULL ); goto error_return; } + + /* in case Start TLS is not critical */ + rs->sr_err = LDAP_SUCCESS; } #endif /* HAVE_TLS */ -- 2.39.5