summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-12-27 23:51:03 -0800
committerJeremy Allison <jra@samba.org>2007-12-27 23:51:03 -0800
commitafce2b245a8ff137a4ecea547c3cfb65ab58dc15 (patch)
tree56c8f1258e0f042977b2f0defef53f96b9f6bfe8 /source3/include
parent33f01360e0a40f6d1fa03035979d816ff9198d85 (diff)
downloadsamba-afce2b245a8ff137a4ecea547c3cfb65ab58dc15.tar.gz
samba-afce2b245a8ff137a4ecea547c3cfb65ab58dc15.tar.bz2
samba-afce2b245a8ff137a4ecea547c3cfb65ab58dc15.zip
Add the capability to set "smb encrypt = required"
on a share (or global) and have the server reply with ACCESS_DENIED for all non-encrypted traffic (except that used to query encryption requirements and set encryption state). Jeremy. (This used to be commit d241bfa57729bb934ada6beabf842a2ca7b4f8a2)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/smb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 2ffd530fb0..aca0009688 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -658,6 +658,7 @@ typedef struct connection_struct {
bool used;
int num_files_open;
unsigned int num_smb_operations; /* Count of smb operations on this tree. */
+ int encrypt_level;
/* Semantics requested by the client or forced by the server config. */
bool case_sensitive;