mirror of
https://github.com/samba-team/samba.git
synced 2025-02-05 21:57:51 +03:00
fix commit
This commit is contained in:
parent
b010b6c2dc
commit
ad1a2ab0d6
@ -45,7 +45,7 @@ struct idmap_methods {
|
||||
|
||||
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);
|
||||
|
@ -67,7 +67,7 @@ BOOL idmap_init(const char *remote_backend)
|
||||
{
|
||||
if (!local_map) {
|
||||
idmap_reg_tdb(&local_map);
|
||||
local_map->init("idmap.tdb");
|
||||
local_map->init();
|
||||
}
|
||||
|
||||
if (!remote_map && remote_backend && *remote_backend != 0) {
|
||||
@ -78,7 +78,7 @@ BOOL idmap_init(const char *remote_backend)
|
||||
DEBUG(0, ("load_methods: could not load remote backend '%s'\n", remote_backend));
|
||||
return False;
|
||||
}
|
||||
remote_map->init("");
|
||||
remote_map->init();
|
||||
}
|
||||
|
||||
return True;
|
||||
|
Loading…
x
Reference in New Issue
Block a user