and type and gets back a uid or gid. */
NTSTATUS (*sids_to_unixids)(struct idmap_domain *dom, struct id_map **ids);
- NTSTATUS (*set_mapping)(struct idmap_domain *dom, const struct id_map *map);
-
/* Called when backend is unloaded */
NTSTATUS (*close_fn)(struct idmap_domain *dom);
};
return NT_STATUS_OK;
}
-/**********************************************************************
- *********************************************************************/
-
-static NTSTATUS _idmap_adex_set_mapping(struct
- idmap_domain
- *dom, const struct
- id_map *map)
-{
- DEBUG(0, ("_idmap_adex_set_mapping: not implemented\n"));
- return NT_STATUS_NOT_IMPLEMENTED;
-}
-
/**********************************************************************
*********************************************************************/
.init = _idmap_adex_init,
.unixids_to_sids = _idmap_adex_get_sid_from_id,
.sids_to_unixids = _idmap_adex_get_id_from_sid,
- .set_mapping = _idmap_adex_set_mapping,
.close_fn = _idmap_adex_close
};
static struct nss_info_methods adex_nss_methods = {
.init = idmap_ldap_db_init,
.unixids_to_sids = idmap_ldap_unixids_to_sids,
.sids_to_unixids = idmap_ldap_sids_to_unixids,
- .set_mapping = idmap_ldap_set_mapping,
.close_fn = idmap_ldap_close
};
.init = idmap_tdb_db_init,
.unixids_to_sids = idmap_tdb_unixids_to_sids,
.sids_to_unixids = idmap_tdb_sids_to_unixids,
- .set_mapping = idmap_tdb_set_mapping,
.close_fn = idmap_tdb_close
};
.init = idmap_tdb2_db_init,
.unixids_to_sids = idmap_tdb2_unixids_to_sids,
.sids_to_unixids = idmap_tdb2_sids_to_unixids,
- .set_mapping = idmap_tdb2_set_mapping,
.close_fn = idmap_tdb2_close
};