return LDAP_SUCCESS if Start TLS failed but was not critical

This commit is contained in:
Pierangelo Masarati 2005-06-29 12:38:18 +00:00
parent 5ae22791ab
commit cbe9c74675

View File

@ -347,6 +347,9 @@ retry:;
ldap_unbind_ext_s( ld, NULL, NULL ); ldap_unbind_ext_s( ld, NULL, NULL );
goto error_return; goto error_return;
} }
/* in case Start TLS is not critical */
rs->sr_err = LDAP_SUCCESS;
} }
#endif /* HAVE_TLS */ #endif /* HAVE_TLS */