summaryrefslogtreecommitdiff
path: root/libcli/smb/smbXcli_base.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2013-08-16 10:44:34 -0700
committerKarolin Seeger <kseeger@samba.org>2013-08-30 11:53:26 +0200
commitc0aed70534142e3c9c2ad8b4290b3360119f5f25 (patch)
tree97e575cad08fc5c3ad687b34e8c72be1c16e0702 /libcli/smb/smbXcli_base.h
parent449503d092974f03c882e55e9bd297590dd53f3e (diff)
downloadsamba-c0aed70534142e3c9c2ad8b4290b3360119f5f25.tar.gz
As SMB3 has transport level encryption, allow smbclient -e to force encryted SMB3 transport.
Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> (cherry picked from commit 81e1058e20bcfc1efab2b39dd7642d8dbbe0cb3b)
Diffstat (limited to 'libcli/smb/smbXcli_base.h')
-rw-r--r--libcli/smb/smbXcli_base.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcli/smb/smbXcli_base.h b/libcli/smb/smbXcli_base.h
index a7cfcc32607..3d934272198 100644
--- a/libcli/smb/smbXcli_base.h
+++ b/libcli/smb/smbXcli_base.h
@@ -294,6 +294,7 @@ NTSTATUS smb2cli_session_create_channel(TALLOC_CTX *mem_ctx,
NTSTATUS smb2cli_session_set_channel_key(struct smbXcli_session *session,
const DATA_BLOB channel_key,
const struct iovec *recv_iov);
+NTSTATUS smb2cli_session_encryption_on(struct smbXcli_session *session);
struct smbXcli_tcon *smbXcli_tcon_create(TALLOC_CTX *mem_ctx);
uint16_t smb1cli_tcon_current_id(struct smbXcli_tcon *tcon);