From: Stefan Metzmacher Date: Wed, 2 Nov 2011 17:41:50 +0000 (+0100) Subject: s3:libsmb: s/Undefined/SMB_SIGNING_DEFAULT/ X-Git-Tag: ldb-1.1.4~535 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1b04e54b57150297e2b2cbbed6edf3da041ad938;p=thirdparty%2Fsamba.git s3:libsmb: s/Undefined/SMB_SIGNING_DEFAULT/ metze --- diff --git a/source3/libsmb/cliconnect.c b/source3/libsmb/cliconnect.c index 391903bf3b7..049763f821f 100644 --- a/source3/libsmb/cliconnect.c +++ b/source3/libsmb/cliconnect.c @@ -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; diff --git a/source3/libsmb/libsmb_server.c b/source3/libsmb/libsmb_server.c index 0af9798d2be..deac46a59ea 100644 --- a/source3/libsmb/libsmb_server.c +++ b/source3/libsmb/libsmb_server.c @@ -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))); diff --git a/source3/libsmb/passchange.c b/source3/libsmb/passchange.c index 58997e4c821..b959bcd519c 100644 --- a/source3/libsmb/passchange.c +++ b/source3/libsmb/passchange.c @@ -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", diff --git a/source3/libsmb/trusts_util.c b/source3/libsmb/trusts_util.c index 83054257c9a..be1f1f8971f 100644 --- a/source3/libsmb/trusts_util.c +++ b/source3/libsmb/trusts_util.c @@ -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;