diff options
Diffstat (limited to 'source3/utils/net_idmap.c')
-rw-r--r-- | source3/utils/net_idmap.c | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/source3/utils/net_idmap.c b/source3/utils/net_idmap.c index 5a380da02f..7ad655bd4e 100644 --- a/source3/utils/net_idmap.c +++ b/source3/utils/net_idmap.c @@ -17,6 +17,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#define FOO(x) (x) #include "includes.h" #include "utils/net.h" @@ -60,8 +61,8 @@ static int net_idmap_dump(struct net_context *c, int argc, const char **argv) TDB_CONTEXT *idmap_tdb; if ( argc != 1 || c->display_usage) { - d_printf(_("Usage:\n" - "net idmap dump <inputfile>\n" + d_printf(_("Usage:\n"), + _("net idmap dump <inputfile>\n" " Dump current ID mapping.\n" " inputfile\tTDB file to read mappings from.\n")); return c->display_usage?0:-1; @@ -91,8 +92,8 @@ static int net_idmap_restore(struct net_context *c, int argc, const char **argv) FILE *input; if (c->display_usage) { - d_printf(_("Usage:\n" - "net idmap restore [inputfile]\n" + d_printf(_("Usage:\n"), + _("net idmap restore [inputfile]\n" " Restore ID mappings from file\n" " inputfile\tFile to load ID mappings from. If " "not given, load data from stdin.\n")); @@ -193,13 +194,13 @@ static int net_idmap_restore(struct net_context *c, int argc, const char **argv) **********************************************************/ static int net_idmap_delete(struct net_context *c, int argc, const char **argv) { - d_printf(_("Not Implemented yet\n")); + d_printf(_("Not implemented yet"),"\n"); return -1; } static int net_idmap_set(struct net_context *c, int argc, const char **argv) { - d_printf(_("Not Implemented yet\n")); + d_printf(_("Not implemented yet"),"\n"); return -1; } bool idmap_store_secret(const char *backend, bool alloc, @@ -237,8 +238,8 @@ static int net_idmap_secret(struct net_context *c, int argc, const char **argv) bool ret; if (argc != 2 || c->display_usage) { - d_printf(_("Usage:\n" - "net idmap secret {<DOMAIN>|alloc} <secret>\n" + d_printf(_("Usage:\n"), + _("net idmap secret {<DOMAIN>|alloc} <secret>\n" " Set the secret for the specified domain " "(or alloc module)\n" " DOMAIN\tDomain to set secret for.\n" @@ -336,8 +337,8 @@ static int net_idmap_aclmapset(struct net_context *c, int argc, const char **arg NTSTATUS status; if (argc != 3 || c->display_usage) { - d_fprintf(stderr, _("usage: net idmap aclmapset <tdb> " - "<src-sid> <dst-sid>\n")); + d_fprintf(stderr, _("usage:")," net idmap aclmapset <tdb> " + "<src-sid> <dst-sid>\n"); return -1; } |