From: Howard Chu Date: Tue, 19 Dec 2006 20:37:38 +0000 (+0000) Subject: ITS#4782 quick fix, never send result from proxy authz check. X-Git-Tag: OPENLDAP_REL_ENG_2_4_4ALPHA~8^2~336 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=08b209ffa91dc72416f82687c796e48f6eb43bf9;p=openldap ITS#4782 quick fix, never send result from proxy authz check. --- diff --git a/servers/slapd/back-ldap/bind.c b/servers/slapd/back-ldap/bind.c index 4036106abd..d74ba6e7e4 100644 --- a/servers/slapd/back-ldap/bind.c +++ b/servers/slapd/back-ldap/bind.c @@ -704,7 +704,7 @@ ldap_back_getconn( op->o_dn = op->o_req_dn; op->o_ndn = op->o_req_ndn; } - isproxyauthz = ldap_back_is_proxy_authz( op, rs, sendok, binddn, bindcred ); + isproxyauthz = ldap_back_is_proxy_authz( op, rs, 0, binddn, bindcred ); if ( op->o_tag == LDAP_REQ_BIND ) { op->o_dn = save_o_dn; op->o_ndn = save_o_ndn; @@ -1154,7 +1154,7 @@ retry_lock:; */ if ( LDAP_BACK_CONN_ISIDASSERT( lc ) ) { if ( BER_BVISEMPTY( &binddn ) && BER_BVISEMPTY( &bindcred ) ) { - ldap_back_is_proxy_authz( op, rs, sendok, &binddn, &bindcred ); + ldap_back_is_proxy_authz( op, rs, 0, &binddn, &bindcred ); } (void)ldap_back_proxy_authz_bind( lc, op, rs, sendok, &binddn, &bindcred ); goto done;