mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-27 01:59:38 -05:00
ITS#4158 still more
This commit is contained in:
parent
255112e702
commit
ea92291cb6
2 changed files with 1 additions and 2 deletions
|
|
@ -207,8 +207,6 @@ cleanup:
|
|||
op->o_conn->c_authtype = op->orb_method;
|
||||
}
|
||||
|
||||
op->o_conn->c_sasl_bindop = NULL;
|
||||
|
||||
if( !BER_BVISNULL( &op->o_req_dn ) ) {
|
||||
slap_sl_free( op->o_req_dn.bv_val, op->o_tmpmemctx );
|
||||
BER_BVZERO( &op->o_req_dn );
|
||||
|
|
|
|||
|
|
@ -2008,6 +2008,7 @@ static int connection_bind_cb( Operation *op, SlapReply *rs )
|
|||
( rs->sr_err == LDAP_SASL_BIND_IN_PROGRESS );
|
||||
|
||||
/* Moved here from bind.c due to ITS#4158 */
|
||||
op->o_conn->c_sasl_bindop = NULL;
|
||||
if ( op->orb_method == LDAP_AUTH_SASL ) {
|
||||
if( rs->sr_err == LDAP_SUCCESS ) {
|
||||
ber_dupbv(&op->o_conn->c_dn, &op->orb_edn);
|
||||
|
|
|
|||
Loading…
Reference in a new issue