summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-11-02 18:41:50 +0100
committerStefan Metzmacher <metze@samba.org>2011-11-03 16:55:13 +0100
commit59dcdfd17502ecf15ddae26d220fbc1d480625c8 (patch)
tree3cf1ea3677b163a54e26b79ccd1e7f52619533de /source3
parent784cf12fb1bd2c81ab59695c90f663803f8e0079 (diff)
downloadsamba-59dcdfd17502ecf15ddae26d220fbc1d480625c8.tar.gz
samba-59dcdfd17502ecf15ddae26d220fbc1d480625c8.tar.bz2
samba-59dcdfd17502ecf15ddae26d220fbc1d480625c8.zip
s3:torture: s/Undefined/SMB_SIGNING_DEFAULT/ s/Required/SMB_SIGNING_REQUIRED/
metze
Diffstat (limited to 'source3')
-rw-r--r--source3/torture/locktest.c2
-rw-r--r--source3/torture/locktest2.c2
-rw-r--r--source3/torture/masktest.c4
-rw-r--r--source3/torture/torture.c8
4 files changed, 8 insertions, 8 deletions
diff --git a/source3/torture/locktest.c b/source3/torture/locktest.c
index e7d3df2ce7..c3c0ce6380 100644
--- a/source3/torture/locktest.c
+++ b/source3/torture/locktest.c
@@ -191,7 +191,7 @@ static struct cli_state *connect_one(char *share, int snum)
}
status = cli_connect_nb(server_n, NULL, 0, 0x20, myname,
- Undefined, flags, &c);
+ SMB_SIGNING_DEFAULT, flags, &c);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(0, ("Connection to %s failed. Error %s\n", server_n,
nt_errstr(status)));
diff --git a/source3/torture/locktest2.c b/source3/torture/locktest2.c
index d06acbc757..28124b5288 100644
--- a/source3/torture/locktest2.c
+++ b/source3/torture/locktest2.c
@@ -194,7 +194,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,
- Undefined);
+ SMB_SIGNING_DEFAULT);
if (!NT_STATUS_IS_OK(nt_status)) {
DEBUG(0, ("cli_full_connection failed with error %s\n", nt_errstr(nt_status)));
diff --git a/source3/torture/masktest.c b/source3/torture/masktest.c
index eaac0d8edc..5f0699f6fa 100644
--- a/source3/torture/masktest.c
+++ b/source3/torture/masktest.c
@@ -179,8 +179,8 @@ static struct cli_state *connect_one(char *share)
server_n = server;
- status = cli_connect_nb(server, NULL, 0, 0x20, "masktest", Undefined, 0,
- &c);
+ status = cli_connect_nb(server, NULL, 0, 0x20, "masktest",
+ SMB_SIGNING_DEFAULT, 0, &c);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(0,("Connection to %s failed. Error %s\n", server_n,
nt_errstr(status)));
diff --git a/source3/torture/torture.c b/source3/torture/torture.c
index cf2966c77c..4a5f7908a3 100644
--- a/source3/torture/torture.c
+++ b/source3/torture/torture.c
@@ -64,7 +64,7 @@ static fstring multishare_conn_fname;
static bool use_multishare_conn = False;
static bool do_encrypt;
static const char *local_path = NULL;
-static int signing_state = Undefined;
+static int signing_state = SMB_SIGNING_DEFAULT;
char *test_filename;
bool torture_showall = False;
@@ -1096,9 +1096,9 @@ static bool run_readwritelarge(int dummy)
static bool run_readwritelarge_signtest(int dummy)
{
bool ret;
- signing_state = Required;
+ signing_state = SMB_SIGNING_REQUIRED;
ret = run_readwritelarge_internal();
- signing_state = Undefined;
+ signing_state = SMB_SIGNING_DEFAULT;
return ret;
}
@@ -6570,7 +6570,7 @@ static bool run_chain2(int dummy)
printf("starting chain2 test\n");
status = cli_start_connection(&cli1, lp_netbios_name(), host, NULL,
- port_to_use, Undefined, 0);
+ port_to_use, SMB_SIGNING_DEFAULT, 0);
if (!NT_STATUS_IS_OK(status)) {
return False;
}