for ( i = 0; attrs[i] != NULL; i++ ) {
a = (AttrInfo *) ch_malloc( sizeof(AttrInfo) );
a->ai_type = ch_strdup( attrs[i] );
-#ifdef SLAPD_SCHEMA_COMPAT
- a->ai_syntaxmask = attr_syntax( a->ai_type );
-#endif
+
if ( argc == 1 ) {
a->ai_indexmask = (
SLAP_INDEX_PRESENCE | SLAP_INDEX_EQUALITY |
/* Auxilary Functions */
int (*bi_entry_release_rw) LDAP_P((BackendDB *bd, Entry *e, int rw));
+#ifdef SLAPD_SCHEMA_NOT_COMPAT
int (*bi_acl_group) LDAP_P((Backend *bd,
Entry *e, const char *bdn, const char *edn,
const char *objectclassValue,
AttributeType *group_at ));
+#else
+ int (*bi_acl_group) LDAP_P((Backend *bd,
+ Entry *e, const char *bdn, const char *edn,
+ const char *objectclassValue,
+ const char *group_at ));
+#endif
int (*bi_connection_init) LDAP_P((BackendDB *bd,
struct slap_conn *c));