mirror of
https://github.com/samba-team/samba.git
synced 2025-02-23 09:57:40 +03:00
examples: Remove obsolete force encryption from smb2mount
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
2950450804
commit
d7c3d86f01
@ -44,17 +44,6 @@ static struct cli_state *connect_one(const struct user_auth_info *auth_info,
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (get_cmdline_auth_info_smb_encrypt(auth_info)) {
|
||||
nt_status = cli_cm_force_encryption_creds(
|
||||
c,
|
||||
get_cmdline_auth_info_creds(auth_info),
|
||||
share);
|
||||
if (!NT_STATUS_IS_OK(nt_status)) {
|
||||
cli_shutdown(c);
|
||||
c = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
return c;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user