diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-09-26 19:28:40 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 15:07:18 -0500 |
commit | 7ac97bbbdb85b08976de2b850021fbd7a0c7d112 (patch) | |
tree | 811835bc5190dff498ebe864bc39def1b0bcdf92 /source4/torture | |
parent | 99f8d8c45dc953b0d30b411457dad516d84844ee (diff) | |
download | samba-7ac97bbbdb85b08976de2b850021fbd7a0c7d112.tar.gz samba-7ac97bbbdb85b08976de2b850021fbd7a0c7d112.tar.bz2 samba-7ac97bbbdb85b08976de2b850021fbd7a0c7d112.zip |
r25361: Specify share correctly for RPC-SAMBA3-SHARESEC, allow overriding share from command-line in smbtorture.
(This used to be commit b3f2eafa0489fe533c93f2b224bbd999cf069aa1)
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/smbtorture.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/torture/smbtorture.c b/source4/torture/smbtorture.c index a148081fb3..020d49497f 100644 --- a/source4/torture/smbtorture.c +++ b/source4/torture/smbtorture.c @@ -633,7 +633,8 @@ int main(int argc,char *argv[]) return false; } lp_set_cmdline("torture:host", binding_struct->host); - lp_set_cmdline("torture:share", "IPC$"); + if (lp_parm_string(NULL, "torture", "share") == NULL) + lp_set_cmdline("torture:share", "IPC$"); lp_set_cmdline("torture:binding", argv_new[1]); } else { lp_set_cmdline("torture:host", host); |