along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#define FOO(x) (x)
#include "includes.h"
#include "utils/net.h"
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;
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"));
**********************************************************/
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,
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"
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;
}