]> git.sur5r.net Git - openldap/commitdiff
ITS#4782 quick fix, never send result from proxy authz check.
authorHoward Chu <hyc@openldap.org>
Tue, 19 Dec 2006 20:37:38 +0000 (20:37 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 19 Dec 2006 20:37:38 +0000 (20:37 +0000)
servers/slapd/back-ldap/bind.c

index 4036106abda572016298b0c192de6f756b640c4b..d74ba6e7e419695ef13461f0076e42e61a1cce47 100644 (file)
@@ -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;