From 08b209ffa91dc72416f82687c796e48f6eb43bf9 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 19 Dec 2006 20:37:38 +0000 Subject: [PATCH] ITS#4782 quick fix, never send result from proxy authz check. --- servers/slapd/back-ldap/bind.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.5