bi->bi_op_abandon = ldbm_back_abandon;
bi->bi_entry_release_rw = ldbm_back_entry_release_rw;
-#ifdef SLAPD_ACLGROUPS
bi->bi_acl_group = ldbm_back_group;
-#endif
bi->bi_connection_init = 0;
bi->bi_connection_destroy = 0;
attr_syntax_config( "ldbm dn initialization", 0, 2, argv );
}
argv[ 0 ] = "dn";
- argv[ 1 ] = "sub";
- argv[ 2 ] = "eq";
- argv[ 3 ] = NULL;
- attr_index_config( li, "ldbm dn initialization", 0, 3, argv, 1 );
+ argv[ 1 ] = "eq,sub";
+ argv[ 2 ] = NULL;
+ attr_index_config( li, "ldbm dn initialization", 0, 2, argv, 1 );
argv[ 0 ] = "id2children";
argv[ 1 ] = "eq";
argv[ 2 ] = NULL;
attr_index_config( li, "ldbm id2children initialization", 0, 2, argv,
1 );
argv[ 0 ] = "objectclass";
- argv[ 1 ] = ch_strdup( "pres,eq" );
+ argv[ 1 ] = "pres,eq";
argv[ 2 ] = NULL;
attr_index_config( li, "ldbm objectclass initialization", 0, 2, argv,
1 );
- free( argv[ 1 ] );
/* initialize various mutex locks & condition variables */
ldap_pvt_thread_mutex_init( &li->li_root_mutex );