diff options
-rw-r--r-- | source3/include/idmap.h | 2 | ||||
-rw-r--r-- | source3/sam/idmap.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source3/include/idmap.h b/source3/include/idmap.h index a7cab74149..1e56519453 100644 --- a/source3/include/idmap.h +++ b/source3/include/idmap.h @@ -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); diff --git a/source3/sam/idmap.c b/source3/sam/idmap.c index 0e55ca5141..00b45565bb 100644 --- a/source3/sam/idmap.c +++ b/source3/sam/idmap.c @@ -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; |