From 0e983b32fd309de24b923a5c4928635c6c03e89f Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 27 Jun 2003 20:55:48 +0000 Subject: Some const correctness. Stop tdb being used as a remote backend. If an idmap backend is specified cause smbd to ask winbindd (use winbindd if you want a consistant remote backend solution). Should work well enough for next beta now... Jeremy. (This used to be commit 8f830c509af5976d988a30f0b0aee4ec61dd97a3) --- source3/utils/net_idmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/utils/net_idmap.c') diff --git a/source3/utils/net_idmap.c b/source3/utils/net_idmap.c index 0fea4311ec..689d4ff813 100644 --- a/source3/utils/net_idmap.c +++ b/source3/utils/net_idmap.c @@ -75,7 +75,7 @@ static int net_idmap_dump(int argc, const char **argv) **********************************************************/ static int net_idmap_restore(int argc, const char **argv) { - if (!idmap_init()) { + if (!idmap_init(lp_idmap_backend())) { d_printf("Could not init idmap\n"); return -1; } -- cgit