summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2003-04-06 16:01:18 +0000
committerSimo Sorce <idra@samba.org>2003-04-06 16:01:18 +0000
commitdf883f35b28a4991470bd081f63a378225bdf827 (patch)
tree421d174c626e5aa1c96fc10bf1962d8e64dfba4c /source3
parentffe91a35261a26397e1c8155b5260d5e055fe349 (diff)
downloadsamba-df883f35b28a4991470bd081f63a378225bdf827.tar.gz
samba-df883f35b28a4991470bd081f63a378225bdf827.tar.bz2
samba-df883f35b28a4991470bd081f63a378225bdf827.zip
fix commit
(This used to be commit ad1a2ab0d6330a0b0fbce7b30ec5f6f502133921)
Diffstat (limited to 'source3')
-rw-r--r--source3/include/idmap.h2
-rw-r--r--source3/sam/idmap.c4
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;