summaryrefslogtreecommitdiff
path: root/source3/utils/net_idmap.c
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2012-12-03 14:15:40 +0100
committerMichael Adam <obnox@samba.org>2013-01-29 12:56:31 +0100
commite0bd87ecc41dc4f61f7f545cd485f371eb75e8b0 (patch)
tree77eca7e3d367e06d3e06c4514a6926f9b8e269e4 /source3/utils/net_idmap.c
parent65268f482d9103aff8a6e239c9b8cc53d07f760a (diff)
downloadsamba-e0bd87ecc41dc4f61f7f545cd485f371eb75e8b0.tar.gz
samba-e0bd87ecc41dc4f61f7f545cd485f371eb75e8b0.tar.bz2
samba-e0bd87ecc41dc4f61f7f545cd485f371eb75e8b0.zip
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 <ambi@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/utils/net_idmap.c')
-rw-r--r--source3/utils/net_idmap.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/source3/utils/net_idmap.c b/source3/utils/net_idmap.c
index 6e6f205596..5be57cc922 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"));
}