From: Pierangelo Masarati Date: Wed, 26 Jan 2005 23:30:57 +0000 (+0000) Subject: move compare to frontend (disabled by default, only invoked if backend doesn't provid... X-Git-Tag: OPENLDAP_REL_ENG_2_3_BP~237 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2c801d9c2a78874f3cc8d21060febdced30acf07;p=openldap move compare to frontend (disabled by default, only invoked if backend doesn't provide hook); honor ITS#3472 (disclose access check); fix ITS#3521 as well (check access to hasSubordinates); fix a problem in backend_attribute() with operational attrs; add backend_access() helper --- diff --git a/servers/slapd/proto-slap.h b/servers/slapd/proto-slap.h index 3629dfdd70..32bbaff676 100644 --- a/servers/slapd/proto-slap.h +++ b/servers/slapd/proto-slap.h @@ -291,6 +291,15 @@ LDAP_SLAPD_F (int) backend_attribute LDAP_P(( slap_access_t access )); +LDAP_SLAPD_F (int) backend_access LDAP_P(( + Operation *op, + Entry *target, + struct berval *edn, + AttributeDescription *entry_at, + struct berval *nval, + slap_access_t access, + slap_mask_t *mask )); + LDAP_SLAPD_F (int) backend_operational LDAP_P(( Operation *op, SlapReply *rs