mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-03 21:50:49 -05:00
Fix minor problems with proceeding commit which broken old schema compat
This commit is contained in:
parent
b9b04e12f0
commit
ad262b3ac6
2 changed files with 8 additions and 3 deletions
|
|
@ -105,9 +105,7 @@ attr_index_config(
|
|||
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 |
|
||||
|
|
|
|||
|
|
@ -715,10 +715,17 @@ struct slap_backend_info {
|
|||
/* 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));
|
||||
|
|
|
|||
Loading…
Reference in a new issue