From: Kurt Zeilenga Date: Sat, 5 Dec 1998 01:58:05 +0000 (+0000) Subject: Import SCO f_next fix from rel_eng_1_1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eee70dd22e8dc53791eadbf9949211d1a9f92716;p=thirdparty%2Fopenldap.git Import SCO f_next fix from rel_eng_1_1 --- diff --git a/servers/slapd/slap.h b/servers/slapd/slap.h index bf0c9c8297..ceb57893a7 100644 --- a/servers/slapd/slap.h +++ b/servers/slapd/slap.h @@ -6,17 +6,26 @@ #define LDAP_SYSLOG #include +#include +#include + #include "avl.h" #include "lber.h" #include "ldap.h" #include "lthread.h" #include "ldif.h" +#ifdef f_next +#undef f_next /* name conflict between sys/file.h on SCO and struct filter */ +#endif #define DN_DNS 0 #define DN_X500 1 #define ON 1 #define OFF (-1) +#define UNDEFINED 0 + +#define MAXREMATCHES 10 /* * represents an attribute value assertion (i.e., attr=value) @@ -121,6 +130,11 @@ struct access { char *a_domainpat; char *a_dnattr; long a_access; + +#ifdef ACLGROUP + char *a_group; +#endif + #define ACL_NONE 0x01 #define ACL_COMPARE 0x02 #define ACL_SEARCH 0x04 @@ -134,6 +148,7 @@ struct access { struct acl { /* "to" part: the entries this acl applies to */ Filter *acl_filter; + regex_t acl_dnre; char *acl_dnpat; char **acl_attrs; @@ -187,6 +202,10 @@ typedef struct backend { IFP be_config; /* backend config routine */ IFP be_init; /* backend init routine */ IFP be_close; /* backend close routine */ + +#ifdef ACLGROUP + IFP be_group; /* backend group member test */ +#endif } Backend; /*