From ff66e521e0edf44c194c59c7c99240ae400f1651 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 2 Nov 2011 18:41:50 +0100 Subject: [PATCH] s3:client: s/Undefined/SMB_SIGNING_DEFAULT/ metze --- source3/client/client.c | 2 +- source3/client/smbspool.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source3/client/client.c b/source3/client/client.c index beb3dca7105..f06b241f64b 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -5230,7 +5230,7 @@ static int do_message_op(struct user_auth_info *a_info) status = cli_connect_nb(desthost, have_ip ? &dest_ss : NULL, port ? port : 139, name_type, - lp_netbios_name(), Undefined, 0, &cli); + lp_netbios_name(), SMB_SIGNING_DEFAULT, 0, &cli); if (!NT_STATUS_IS_OK(status)) { d_printf("Connection to %s failed. Error %s\n", desthost, nt_errstr(status)); return 1; diff --git a/source3/client/smbspool.c b/source3/client/smbspool.c index 0be8d51878e..b7955ee0c79 100644 --- a/source3/client/smbspool.c +++ b/source3/client/smbspool.c @@ -402,7 +402,7 @@ smb_complete_connection(const char *myname, /* Start the SMB connection */ *need_auth = false; nt_status = cli_start_connection(&cli, myname, server, NULL, port, - Undefined, flags); + SMB_SIGNING_DEFAULT, flags); if (!NT_STATUS_IS_OK(nt_status)) { fprintf(stderr, "ERROR: Connection failed: %s\n", nt_errstr(nt_status)); return NULL; -- 2.11.4.GIT