]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-bdb/index.c
Added bdb_attribute and bdb_group ACL support routines
[openldap] / servers / slapd / back-bdb / index.c
index 71e902e764639949e401114acabfe4329f5f4add..aea035d4313b07a10dd9eba8673118cc5ee4cccd 100644 (file)
@@ -24,9 +24,6 @@ static slap_mask_t index_mask(
        AttributeType *at;
        slap_mask_t mask = 0;
 
-       /* we do not support indexing of binary attributes */
-       if( slap_ad_is_binary( desc ) ) return 0;
-
        bdb_attr_mask( be->be_private, desc->ad_cname.bv_val, &mask );
 
        if( mask ) {
@@ -340,11 +337,6 @@ int bdb_index_values(
        char *dbname = NULL;
        slap_mask_t mask;
 
-       if( slap_ad_is_binary( desc ) ) {
-               /* binary attributes have no index capabilities */
-               return LDAP_SUCCESS;
-       }
-
        rc = index_at_values( be, txn,
                desc->ad_type, &desc->ad_lang,
                vals, id, op,