git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0b4da9d
)
This would appear to restore smbtorture to be able to use the syntax
author
Andrew Bartlett
<abartlet@samba.org>
Tue, 3 Feb 2004 21:53:51 +0000
(21:53 +0000)
committer
Andrew Bartlett
<abartlet@samba.org>
Tue, 3 Feb 2004 21:53:51 +0000
(21:53 +0000)
documented in it's self-help for RPC tests.
Andrew Bartlett
(This used to be commit
49b52cdbfe26dd7afe74aeb4596a4fd34806dabe
)
source4/torture/torture.c
patch
|
blob
|
history
diff --git
a/source4/torture/torture.c
b/source4/torture/torture.c
index 15e8ae9ec89095804c5501e103419673ac1e0b5e..46bb99d2eac380748e0c8e4eafb72763f82a0006 100644
(file)
--- a/
source4/torture/torture.c
+++ b/
source4/torture/torture.c
@@
-4128,6
+4128,7
@@
static void usage(void)
if (strncmp(argv[1], "ncacn_", 6) == 0) {
lp_set_cmdline("torture:binding", argv[1]);
} else {
+ char *binding = NULL;
if (strncmp(argv[1], "//", 2)) {
usage();
}
@@
-4143,7
+4144,8
@@
static void usage(void)
lp_set_cmdline("torture:host", host);
lp_set_cmdline("torture:share", share);
lp_set_cmdline("torture:password", "");
- lp_set_cmdline("torture:transport", "ncacn_np");
+ asprintf(&binding, "ncacn_np:%s", host);
+ lp_set_cmdline("torture:binding", binding);
}
if (getenv("LOGNAME")) {