]> git.sur5r.net Git - openldap/commitdiff
return LDAP_SUCCESS if Start TLS failed but was not critical
authorPierangelo Masarati <ando@openldap.org>
Wed, 29 Jun 2005 12:38:18 +0000 (12:38 +0000)
committerPierangelo Masarati <ando@openldap.org>
Wed, 29 Jun 2005 12:38:18 +0000 (12:38 +0000)
servers/slapd/back-ldap/bind.c

index 13fba4a4b0bbdd825b25f80723072f83d2817765..65de40ae644289ef35d0e456bd0cdb9d8e37d20f 100644 (file)
@@ -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 */