s3:torture: s/Undefined/SMB_SIGNING_DEFAULT/ s/Required/SMB_SIGNING_REQUIRED/
authorStefan Metzmacher <metze@samba.org>
Wed, 2 Nov 2011 17:41:50 +0000 (18:41 +0100)
committerStefan Metzmacher <metze@samba.org>
Thu, 3 Nov 2011 15:55:13 +0000 (16:55 +0100)
metze

source3/torture/locktest.c
source3/torture/locktest2.c
source3/torture/masktest.c
source3/torture/torture.c

index e7d3df2ce7467a4ad63d986146c3fd2aa341c8cb..c3c0ce6380fd3af97e51a4adebbf3738f907c515 100644 (file)
@@ -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)));
index d06acbc757097c33f74da0c992db9ac8da945780..28124b5288102f9a45fb8a3bbb15293714015ee9 100644 (file)
@@ -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)));
index eaac0d8edccc4e688a89597665d64468c4b11dba..5f0699f6fa3f2d2aa5437bc74eb41b0b73928088 100644 (file)
@@ -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)));
index cf2966c77cc2ce5988c872359a413e403bf5da62..4a5f7908a314a40c859e34a3bf38634fdf10ad7a 100644 (file)
@@ -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;
        }