From: Howard Chu Date: Sat, 24 Aug 2002 07:31:14 +0000 (+0000) Subject: Pass Operation to backend_attribute - should have been doing this all along. X-Git-Tag: NO_SLAP_OP_BLOCKS~1184 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1d7ee4471f6aa46cd62d8139f01bd3aae73d485a;p=openldap Pass Operation to backend_attribute - should have been doing this all along. --- diff --git a/servers/slapd/acl.c b/servers/slapd/acl.c index 3b1900fd27..fdb4cd1b63 100644 --- a/servers/slapd/acl.c +++ b/servers/slapd/acl.c @@ -1389,7 +1389,7 @@ aci_set_gather (void *cookie, struct berval *name, struct berval *attr) const char *text; AttributeDescription *desc = NULL; if (slap_bv2ad(attr, &desc, &text) == LDAP_SUCCESS) { - backend_attribute(cp->be, NULL, NULL, + backend_attribute(cp->be, NULL, cp->op, cp->e, &ndn, desc, &bvals); } free(ndn.bv_val); @@ -1438,7 +1438,7 @@ aci_match_set ( if ( dnNormalize2(NULL, &subjdn, &ndn) == LDAP_SUCCESS && slap_bv2ad(&setat, &desc, &text) == LDAP_SUCCESS ) { - backend_attribute(be, NULL, NULL, e, + backend_attribute(be, NULL, op, e, &ndn, desc, &bvals); if ( bvals != NULL ) { if ( bvals[0].bv_val != NULL ) {