Commit ab44ee7f authored by Ondřej Kuzník's avatar Ondřej Kuzník Committed by Quanah Gibson-Mount
Browse files

ITS#9366 Check ldap_install_tls return and remove connection if failed

parent a6779362
...@@ -520,7 +520,7 @@ retry:; ...@@ -520,7 +520,7 @@ retry:;
* using it instead of the * using it instead of the
* configured URI? */ * configured URI? */
if ( rs->sr_err == LDAP_SUCCESS ) { if ( rs->sr_err == LDAP_SUCCESS ) {
ldap_install_tls( msc->msc_ld ); rs->sr_err = ldap_install_tls( msc->msc_ld );
} else if ( rs->sr_err == LDAP_REFERRAL ) { } else if ( rs->sr_err == LDAP_REFERRAL ) {
/* FIXME: LDAP_OPERATIONS_ERROR? */ /* FIXME: LDAP_OPERATIONS_ERROR? */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment