Issue 560 - Prototype for access_allowed() in proto-slap.h
Summary: Prototype for access_allowed() in proto-slap.h
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-06-05 13:57 UTC by christian.lorenz@suse.de
Modified: 2000-06-05 14:19 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Kurt Zeilenga 2000-06-05 07:22:38 UTC
changed state Open to Closed
moved from Incoming to Development
Comment 1 christian.lorenz@suse.de 2000-06-05 13:57:22 UTC
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!
Comment 2 Kurt Zeilenga 2000-06-05 14:19:32 UTC
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!
>
>
>