diff --git a/servers/slapd/acl.c b/servers/slapd/acl.c
index 6babdba3390e2b99a823f28f490c83677cf7fec6..fdb2b9156f6781f49d9bba493699b5dbcfb2c2b7 100644
--- a/servers/slapd/acl.c
+++ b/servers/slapd/acl.c
@@ -2042,6 +2042,7 @@ aci_set_gather( SetCookie *cookie, struct berval *name, AttributeDescription *de
 	op2.ors_tlimit = SLAP_NO_LIMIT;
 	op2.ors_attrs = anlistp;
 	op2.ors_attrsonly = 0;
+	op2.o_private = cp->op->o_private;
 
 	cb.sc_private = &p;