]> git.sur5r.net Git - openldap/commitdiff
leave existing controls in place if proxyAuthz is not required by idassert (ITS#4457)
authorPierangelo Masarati <ando@openldap.org>
Tue, 28 Mar 2006 21:45:54 +0000 (21:45 +0000)
committerPierangelo Masarati <ando@openldap.org>
Tue, 28 Mar 2006 21:45:54 +0000 (21:45 +0000)
servers/slapd/back-ldap/bind.c

index f8ee616724e6a5afcf49263ec224aeba07fd6f1e..23401332925c29cd30e87cd218002fc648007d91 100644 (file)
@@ -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;
                }
        }