From: Pierangelo Masarati Date: Tue, 28 Mar 2006 21:45:54 +0000 (+0000) Subject: leave existing controls in place if proxyAuthz is not required by idassert (ITS#4457) X-Git-Tag: OPENLDAP_REL_ENG_2_4_BP~99 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=bacd1f170f87fde9aa5ab6937c76db24adf719a3;p=openldap leave existing controls in place if proxyAuthz is not required by idassert (ITS#4457) --- diff --git a/servers/slapd/back-ldap/bind.c b/servers/slapd/back-ldap/bind.c index f8ee616724..2340133292 100644 --- a/servers/slapd/back-ldap/bind.c +++ b/servers/slapd/back-ldap/bind.c @@ -1433,9 +1433,9 @@ ldap_back_proxy_authz_ctrl( { /* ndn is not authorized * to use idassert */ - return rc; + rs->sr_err = rc; } - return rs->sr_err; + goto done; } }