}
-/*
- Close the idmap tdb instance
-*/
-static NTSTATUS idmap_tdb2_close(struct idmap_domain *dom)
-{
- /* don't do anything */
- return NT_STATUS_OK;
-}
-
static struct idmap_methods db_methods = {
.init = idmap_tdb2_db_init,
.unixids_to_sids = idmap_tdb2_unixids_to_sids,
.sids_to_unixids = idmap_tdb2_sids_to_unixids,
- .allocate_id = idmap_tdb2_get_new_id,
- .close_fn = idmap_tdb2_close
+ .allocate_id = idmap_tdb2_get_new_id
};
NTSTATUS idmap_tdb2_init(void)