bi->bi_acl_group = ldbm_back_group;
bi->bi_acl_attribute = ldbm_back_attribute;
bi->bi_chk_referrals = ldbm_back_referrals;
+ bi->bi_operational = ldbm_back_operational;
/*
* hooks for slap tools
{
int rc;
- struct ldbm_backend_info *lbi
- = (struct ldbm_backend_info *) bi->bi_private;
-
/* initialize the underlying database system */
rc = ldbm_initialize( NULL );
return rc;
/* should free/destroy every in be_private */
struct ldbminfo *li = (struct ldbminfo *) be->be_private;
- ldbm_shutdown_env(li->li_dbenv);
+ if (li->li_dbenv)
+ ldbm_shutdown_env(li->li_dbenv);
free( li->li_directory );
attr_index_destroy( li->li_attrs );