From 01d3da3c7c1dfc36353b423da5d28a8edd397e5b Mon Sep 17 00:00:00 2001 From: Gregor Beck Date: Fri, 28 Jan 2011 10:58:03 +0100 Subject: [PATCH] s3:net: remove unused net_idmap_help Signed-off-by: Michael Adam Autobuild-User: Michael Adam Autobuild-Date: Tue Feb 8 11:50:37 CET 2011 on sn-devel-104 --- source3/utils/net_idmap.c | 16 ---------------- source3/utils/net_proto.h | 1 - 2 files changed, 17 deletions(-) diff --git a/source3/utils/net_idmap.c b/source3/utils/net_idmap.c index e3640bdcd88..7551354cef0 100644 --- a/source3/utils/net_idmap.c +++ b/source3/utils/net_idmap.c @@ -372,22 +372,6 @@ static int net_idmap_secret(struct net_context *c, int argc, const char **argv) return 0; } -int net_help_idmap(struct net_context *c, int argc, const char **argv) -{ - d_printf(_("net idmap dump \n" - " Dump current id mapping\n")); - - d_printf(_("net idmap restore\n" - " Restore entries from stdin\n")); - - /* Deliberately *not* document net idmap delete */ - - d_printf(_("net idmap secret \n" - " Set the secret for the specified DOMAIN module)\n")); - - return -1; -} - static int net_idmap_aclmapset(struct net_context *c, int argc, const char **argv) { TALLOC_CTX *mem_ctx; diff --git a/source3/utils/net_proto.h b/source3/utils/net_proto.h index 22a44c4cf6e..7567b8c618d 100644 --- a/source3/utils/net_proto.h +++ b/source3/utils/net_proto.h @@ -86,7 +86,6 @@ int net_help(struct net_context *c, int argc, const char **argv); /* The following definitions come from utils/net_idmap.c */ -int net_help_idmap(struct net_context *c, int argc, const char **argv); int net_idmap(struct net_context *c, int argc, const char **argv); /* The following definitions come from utils/net_join.c */