ITS#7468 slapd-relay: set real op->o_bd on successful bind

This commit is contained in:
Howard Chu 2021-01-21 13:23:34 +00:00
parent 58dfef012c
commit b979b57dcf

View file

@ -212,6 +212,8 @@ relay_back_op( Operation *op, SlapReply *rs, int which )
rc = (&bi->bi_op_bind)[which]( op, rs );
});
relay_back_remove_cb( &rcb, op );
if ( which == op_bind && rc == LDAP_SUCCESS )
op->o_bd = bd;
} else if ( fail_mode & RB_OPERR ) {
rs->sr_err = rc;