mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
s3:torture: s/Undefined/SMB_SIGNING_DEFAULT/ s/Required/SMB_SIGNING_REQUIRED/
metze
This commit is contained in:
parent
784cf12fb1
commit
59dcdfd175
@ -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)));
|
||||
|
@ -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)));
|
||||
|
@ -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)));
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user