summaryrefslogtreecommitdiff
path: root/source3/torture
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2002-09-28 22:58:44 +0000
committerJelmer Vernooij <jelmer@samba.org>2002-09-28 22:58:44 +0000
commitacb5cc031e5a3530aef63bc3058dcfbb04f86cfc (patch)
tree272879927532d20a8873f1e6156d15b3ed35dcb1 /source3/torture
parentaf2ab48c4a036401132eca1ab01d3c958679436c (diff)
downloadsamba-acb5cc031e5a3530aef63bc3058dcfbb04f86cfc.tar.gz
samba-acb5cc031e5a3530aef63bc3058dcfbb04f86cfc.tar.bz2
samba-acb5cc031e5a3530aef63bc3058dcfbb04f86cfc.zip
Fix 'plugin' command
(This used to be commit b01c55ed5bbf4903a87fd17d70ae9acd832d60fe)
Diffstat (limited to 'source3/torture')
-rw-r--r--source3/torture/cmd_sam.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/torture/cmd_sam.c b/source3/torture/cmd_sam.c
index 4c274b60ad..9f162f2a07 100644
--- a/source3/torture/cmd_sam.c
+++ b/source3/torture/cmd_sam.c
@@ -56,12 +56,12 @@ static NTSTATUS cmd_load_module(struct samtest_state *st, TALLOC_CTX *mem_ctx, i
char *plugin_arg[2];
NTSTATUS status;
if (argc != 2 && argc != 3) {
- printf("Usage: load <module path> [domain-sid]\n");
+ printf("Usage: load <module path> [domain-name]\n");
return NT_STATUS_OK;
}
if (argc == 3)
- asprintf(&plugin_arg[0], "%s|plugin:%s", argv[2], argv[1]);
+ asprintf(&plugin_arg[0], "plugin:%s|%s", argv[1], argv[2]);
else
asprintf(&plugin_arg[0], "plugin:%s", argv[1]);