summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2020-07-06 10:58:36 +0200
committerAndreas Schneider <asn@cryptomilk.org>2020-08-19 16:22:43 +0000
commitd7c3d86f017068d72c9fab3406453fdee4f516ec (patch)
treede951729bad5d9ceb2ed9a156ae064ad8470ea4b /examples
parent29504508041c018a8601979085d04e7ed290a286 (diff)
downloadsamba-d7c3d86f017068d72c9fab3406453fdee4f516ec.tar.gz
examples: Remove obsolete force encryption from smb2mount
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'examples')
-rw-r--r--examples/fuse/smb2mount.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/examples/fuse/smb2mount.c b/examples/fuse/smb2mount.c
index 6206c3a9701..c64be573462 100644
--- a/examples/fuse/smb2mount.c
+++ b/examples/fuse/smb2mount.c
@@ -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;
}