From: Pierangelo Masarati Date: Wed, 29 Jun 2005 12:38:18 +0000 (+0000) Subject: return LDAP_SUCCESS if Start TLS failed but was not critical X-Git-Tag: OPENLDAP_AC_BP~488 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=cbe9c74675a3b6778c39509a3d8632a707a6365e;p=openldap return LDAP_SUCCESS if Start TLS failed but was not critical --- 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 */