summaryrefslogtreecommitdiffstats
path: root/source/torture
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-07-30 23:49:29 +0000
committerJeremy Allison <jra@samba.org>2003-07-30 23:49:29 +0000
commit879309671df6b530e0bff69559422a417da4a307 (patch)
tree6dcc9e667fcf8b9aeeb1beea9c7377b4cdbc920d /source/torture
parentf3f29665bd2c396c4756cd23f603ac768fea66fd (diff)
downloadsamba-879309671df6b530e0bff69559422a417da4a307.tar.gz
samba-879309671df6b530e0bff69559422a417da4a307.tar.xz
samba-879309671df6b530e0bff69559422a417da4a307.zip
Add a command line option (-S on|off|required) to enable signing on client
connections. Overrides smb.conf parameter if set. Jeremy.
Diffstat (limited to 'source/torture')
-rw-r--r--source/torture/locktest2.c2
-rw-r--r--source/torture/torture.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/source/torture/locktest2.c b/source/torture/locktest2.c
index 29b3c7c4b2f..5fbaf9ec584 100644
--- a/source/torture/locktest2.c
+++ b/source/torture/locktest2.c
@@ -177,7 +177,7 @@ static struct cli_state *connect_one(char *share)
nt_status = cli_full_connection(&c, myname, server_n, NULL, 0, share, "?????",
username, lp_workgroup(), password, 0,
- NULL);
+ Undefined, NULL);
if (!NT_STATUS_IS_OK(nt_status)) {
DEBUG(0, ("cli_full_connection failed with error %s\n", nt_errstr(nt_status)));
diff --git a/source/torture/torture.c b/source/torture/torture.c
index 0be79d04a94..d20c48d6454 100644
--- a/source/torture/torture.c
+++ b/source/torture/torture.c
@@ -159,7 +159,7 @@ BOOL torture_open_connection(struct cli_state **c)
host, NULL, port_to_use,
share, "?????",
username, workgroup,
- password, flags, &retry);
+ password, flags, Undefined, &retry);
if (!NT_STATUS_IS_OK(status)) {
return False;
}
@@ -1128,7 +1128,7 @@ static BOOL run_tcon_devtype_test(int dummy)
host, NULL, port_to_use,
NULL, NULL,
username, workgroup,
- password, flags, &retry);
+ password, flags, Undefined, &retry);
if (!NT_STATUS_IS_OK(status)) {
printf("could not open connection\n");