[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Prototype for access_allowed() in proto-slap.h (ITS#560)



Fixed, thanks.
At 01:57 PM 6/5/00 GMT, christian.lorenz@suse.de wrote:
>Full_Name: Christian Lorenz
>Version: 2.0-devel
>OS: linux-2.2.14
>URL: ftp://ftp.openldap.org/incoming/
>Submission from: (NULL) (194.112.123.201)
>
>
>The mentioned prototype is defined as follows
>(pkg/ldap/servers/slapd/proto-slap.h,v 1.158):
>
>---
>#if SLAPD_SCHEMA_NOT_COMPAT
>LIBSLAPD_F (int) access_allowed LDAP_P((
>    Backend *be, Connection *conn, Operation *op,
>    Entry *e, AttributeDescription *desc, struct berval *val,
>    slap_access_t access ));
>#else
>LIBSLAPD_F (int) access_allowed LDAP_P((
>    Backend *be, Connection *conn, Operation *op,
>    Entry *e, const char *attr, struct berval *val,
>    slap_access_t access ));
>#endif
>---
>
>but the '#if' has to be an '#ifdef'!
>
>Have fun!
>
>
>