NTSTATUS (*get_sid_from_id)(DOM_SID *sid, unid_t id, int id_type);
NTSTATUS (*get_id_from_sid)(unid_t *id, int *id_type, const DOM_SID *sid);
- NTSTATUS (*set_mapping)(DOM_SID *sid, unid_t id, int id_type);
+ NTSTATUS (*set_mapping)(const DOM_SID *sid, unid_t id, int id_type);
/* Called when backend is unloaded */
NTSTATUS (*close)(void);
{
if (!local_map) {
idmap_reg_tdb(&local_map);
- local_map->init("idmap.tdb");
+ local_map->init();
}
if (!remote_map && remote_backend && *remote_backend != 0) {
DEBUG(0, ("load_methods: could not load remote backend '%s'\n", remote_backend));
return False;
}
- remote_map->init("");
+ remote_map->init();
}
return True;