mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-27 18:19:52 -05:00
ITS#7468 slapd-relay: set real op->o_bd on successful bind
This commit is contained in:
parent
58dfef012c
commit
b979b57dcf
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue