s3:libsmb: 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:13 +0000 (16:55 +0100)
metze

source3/libsmb/cliconnect.c
source3/libsmb/libsmb_server.c
source3/libsmb/passchange.c
source3/libsmb/trusts_util.c

index 391903bf3b795b757940b33af23a1c9575ee4063..049763f821f0c5c06c12a14420d38ebcb86e6126 100644 (file)
@@ -3213,7 +3213,7 @@ struct cli_state *get_ipc_connect(char *server,
                                        lp_workgroup(),
                                        user_info->password ? user_info->password : "",
                                        flags,
-                                       Undefined);
+                                       SMB_SIGNING_DEFAULT);
 
        if (NT_STATUS_IS_OK(nt_status)) {
                return cli;
index 0af9798d2be6a793a27cbf4642f9b52349c438ce..deac46a59ea97ea7ce8e020ae9b99f433b5e42f6 100644 (file)
@@ -420,7 +420,7 @@ SMBC_server_internal(TALLOC_CTX *ctx,
                 */
                status = cli_connect_nb(server_n, NULL, 139, 0x20,
                                        smbc_getNetbiosName(context),
-                                       Undefined, flags, &c);
+                                       SMB_SIGNING_DEFAULT, flags, &c);
        }
 
        if (!NT_STATUS_IS_OK(status)) {
@@ -429,7 +429,7 @@ SMBC_server_internal(TALLOC_CTX *ctx,
                 */
                status = cli_connect_nb(server_n, NULL, 0, 0x20,
                                        smbc_getNetbiosName(context),
-                                       Undefined, flags, &c);
+                                       SMB_SIGNING_DEFAULT, flags, &c);
        }
 
        if (!NT_STATUS_IS_OK(status)) {
@@ -735,7 +735,7 @@ SMBC_attr_server(TALLOC_CTX *ctx,
                                                *pp_workgroup,
                                                *pp_password,
                                                flags,
-                                               Undefined);
+                                               SMB_SIGNING_DEFAULT);
                 if (! NT_STATUS_IS_OK(nt_status)) {
                         DEBUG(1,("cli_full_connection failed! (%s)\n",
                                  nt_errstr(nt_status)));
index 58997e4c821666f69108aefde3be19f9480213ce..b959bcd519c14f0014cdde3966c920c70fe005c9 100644 (file)
@@ -56,7 +56,7 @@ NTSTATUS remote_password_change(const char *remote_machine, const char *user_nam
        *err_str = NULL;
 
        result = cli_connect_nb(remote_machine, NULL, 0, 0x20, NULL,
-                               Undefined, 0, &cli);
+                               SMB_SIGNING_DEFAULT, 0, &cli);
        if (!NT_STATUS_IS_OK(result)) {
                if (asprintf(err_str, "Unable to connect to SMB server on "
                         "machine %s. Error was : %s.\n",
index 83054257c9a4feca975fb52b05464c12ce5b1500..be1f1f8971f5d5f42b1b31e053ea34ec66b417a9 100644 (file)
@@ -167,7 +167,7 @@ NTSTATUS change_trust_account_password( const char *domain, const char *remote_m
                                           NULL, 0,
                                           "IPC$", "IPC",
                                           "", "",
-                                          "", 0, Undefined))) {
+                                          "", 0, SMB_SIGNING_DEFAULT))) {
                DEBUG(0,("modify_trust_password: Connection to %s failed!\n", dc_name));
                nt_status = NT_STATUS_UNSUCCESSFUL;
                goto failed;