From e0bd87ecc41dc4f61f7f545cd485f371eb75e8b0 Mon Sep 17 00:00:00 2001 From: Christian Ambach Date: Mon, 3 Dec 2012 14:15:40 +0100 Subject: [PATCH] s3:net_idmap_dump remove obsolete support for tdb:idmap2.tdb parameter this one got removed from idmap_tdb2 a while ago Signed-off-by: Christian Ambach Reviewed-by: Michael Adam --- source3/utils/net_idmap.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/source3/utils/net_idmap.c b/source3/utils/net_idmap.c index 6e6f2055969..5be57cc9223 100644 --- a/source3/utils/net_idmap.c +++ b/source3/utils/net_idmap.c @@ -86,12 +86,8 @@ static const char* net_idmap_dbfile(struct net_context *c) d_fprintf(stderr, _("Out of memory!\n")); } } else if (strequal(backend, "tdb2")) { - dbfile = lp_parm_talloc_string(talloc_tos(), - -1, "tdb", "idmap2.tdb", NULL); - if (dbfile == NULL) { - dbfile = talloc_asprintf(talloc_tos(), "%s/idmap2.tdb", - lp_private_dir()); - } + dbfile = talloc_asprintf(talloc_tos(), "%s/idmap2.tdb", + lp_private_dir()); if (dbfile == NULL) { d_fprintf(stderr, _("Out of memory!\n")); } -- 2.11.4.GIT