}
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)));
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)));
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)));
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;
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;
}
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;
}