mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-06 15:10:22 -05:00
restore op before checking result (and, if necessary, bailing out)
This commit is contained in:
parent
98fe6a81a0
commit
6420bcd7d7
1 changed files with 3 additions and 3 deletions
|
|
@ -781,13 +781,13 @@ ldap_back_getconn(
|
|||
op->o_ndn = op->o_req_ndn;
|
||||
}
|
||||
isproxyauthz = ldap_back_is_proxy_authz( op, rs, sendok, binddn, bindcred );
|
||||
if ( isproxyauthz == -1 ) {
|
||||
return NULL;
|
||||
}
|
||||
if ( op->o_tag == LDAP_REQ_BIND ) {
|
||||
op->o_dn = save_o_dn;
|
||||
op->o_ndn = save_o_ndn;
|
||||
}
|
||||
if ( isproxyauthz == -1 ) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
lc_curr.lc_local_ndn = op->o_ndn;
|
||||
/* Explicit binds must not be shared;
|
||||
|
|
|
|||
Loading…
Reference in a new issue