]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/overlays/collect.c
Fix cancel cleanup
[openldap] / servers / slapd / overlays / collect.c
index 9cd0a344260197cf13b21d30abed3ea6885a6198..84bb00947ca329b3cd1647c6ad0ac036e86d663f 100644 (file)
@@ -2,7 +2,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 2003-2004 The OpenLDAP Foundation.
+ * Copyright 2003-2005 The OpenLDAP Foundation.
  * Portions Copyright 2003 Howard Chu.
  * All rights reserved.
  *
@@ -72,7 +72,7 @@ collect_response( Operation *op, SlapReply *rs )
                        /* Extract the values of the desired attribute from
                         * the ancestor entry
                         */
-                       rc = backend_attribute( op, NULL, &ci->ci_dn, ci->ci_ad, &vals );
+                       rc = backend_attribute( op, NULL, &ci->ci_dn, ci->ci_ad, &vals, ACL_READ );
 
                        /* If there are any values, merge them into the
                         * current entry