s3:client: s/Undefined/SMB_SIGNING_DEFAULT/
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:12 +0000 (16:55 +0100)
metze

source3/client/client.c
source3/client/smbspool.c

index beb3dca7105465ac50150995eba1654d305cbfb1..f06b241f64b9bb8f29e018ae24000c9e72e806dd 100644 (file)
@@ -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;
index 0be8d51878e0e27595689a0ac44996b4f18d89c0..b7955ee0c79cf18e3eded810c2a33e576df3cb20 100644 (file)
@@ -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;