mirror of
https://github.com/samba-team/samba.git
synced 2025-10-02 09:44:18 +03:00
s3:libsmb: s/Undefined/SMB_SIGNING_DEFAULT/
metze
This commit is contained in:
@@ -3213,7 +3213,7 @@ struct cli_state *get_ipc_connect(char *server,
|
|||||||
lp_workgroup(),
|
lp_workgroup(),
|
||||||
user_info->password ? user_info->password : "",
|
user_info->password ? user_info->password : "",
|
||||||
flags,
|
flags,
|
||||||
Undefined);
|
SMB_SIGNING_DEFAULT);
|
||||||
|
|
||||||
if (NT_STATUS_IS_OK(nt_status)) {
|
if (NT_STATUS_IS_OK(nt_status)) {
|
||||||
return cli;
|
return cli;
|
||||||
|
@@ -420,7 +420,7 @@ SMBC_server_internal(TALLOC_CTX *ctx,
|
|||||||
*/
|
*/
|
||||||
status = cli_connect_nb(server_n, NULL, 139, 0x20,
|
status = cli_connect_nb(server_n, NULL, 139, 0x20,
|
||||||
smbc_getNetbiosName(context),
|
smbc_getNetbiosName(context),
|
||||||
Undefined, flags, &c);
|
SMB_SIGNING_DEFAULT, flags, &c);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!NT_STATUS_IS_OK(status)) {
|
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,
|
status = cli_connect_nb(server_n, NULL, 0, 0x20,
|
||||||
smbc_getNetbiosName(context),
|
smbc_getNetbiosName(context),
|
||||||
Undefined, flags, &c);
|
SMB_SIGNING_DEFAULT, flags, &c);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!NT_STATUS_IS_OK(status)) {
|
if (!NT_STATUS_IS_OK(status)) {
|
||||||
@@ -735,7 +735,7 @@ SMBC_attr_server(TALLOC_CTX *ctx,
|
|||||||
*pp_workgroup,
|
*pp_workgroup,
|
||||||
*pp_password,
|
*pp_password,
|
||||||
flags,
|
flags,
|
||||||
Undefined);
|
SMB_SIGNING_DEFAULT);
|
||||||
if (! NT_STATUS_IS_OK(nt_status)) {
|
if (! NT_STATUS_IS_OK(nt_status)) {
|
||||||
DEBUG(1,("cli_full_connection failed! (%s)\n",
|
DEBUG(1,("cli_full_connection failed! (%s)\n",
|
||||||
nt_errstr(nt_status)));
|
nt_errstr(nt_status)));
|
||||||
|
@@ -56,7 +56,7 @@ NTSTATUS remote_password_change(const char *remote_machine, const char *user_nam
|
|||||||
*err_str = NULL;
|
*err_str = NULL;
|
||||||
|
|
||||||
result = cli_connect_nb(remote_machine, NULL, 0, 0x20, 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 (!NT_STATUS_IS_OK(result)) {
|
||||||
if (asprintf(err_str, "Unable to connect to SMB server on "
|
if (asprintf(err_str, "Unable to connect to SMB server on "
|
||||||
"machine %s. Error was : %s.\n",
|
"machine %s. Error was : %s.\n",
|
||||||
|
@@ -167,7 +167,7 @@ NTSTATUS change_trust_account_password( const char *domain, const char *remote_m
|
|||||||
NULL, 0,
|
NULL, 0,
|
||||||
"IPC$", "IPC",
|
"IPC$", "IPC",
|
||||||
"", "",
|
"", "",
|
||||||
"", 0, Undefined))) {
|
"", 0, SMB_SIGNING_DEFAULT))) {
|
||||||
DEBUG(0,("modify_trust_password: Connection to %s failed!\n", dc_name));
|
DEBUG(0,("modify_trust_password: Connection to %s failed!\n", dc_name));
|
||||||
nt_status = NT_STATUS_UNSUCCESSFUL;
|
nt_status = NT_STATUS_UNSUCCESSFUL;
|
||||||
goto failed;
|
goto failed;
|
||||||
|
Reference in New Issue
Block a user