AttributeDescription *desc,
ID *ids )
{
+ struct bdb_info *bdb = (struct bdb_info *) be->be_private;
DB *db;
int rc;
slap_mask_t mask;
Debug( LDAP_DEBUG_TRACE, "=> bdb_presence_candidates\n", 0, 0, 0 );
+ if( desc == slap_schema.si_ad_objectClass ) {
+ BDB_IDL_ALL( bdb, ids );
+ return 0;
+ }
+
rc = bdb_index_param( be, desc, LDAP_FILTER_PRESENT,
&db, &mask, &prefix );
idl = idl_allids( be );
+ if( desc == slap_schema.si_ad_objectClass ) {
+ return idl;
+ }
+
rc = index_param( be, desc, LDAP_FILTER_PRESENT,
&dbname, &mask, &prefix );