summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-01-05 00:51:18 -0800
committerJeremy Allison <jra@samba.org>2008-01-05 00:51:18 -0800
commit1be3fcbf2f897b559bf72b72d54aa40805abd819 (patch)
treeaad44728da91cdb898298e6b758cb2fa0d78d28f /source3/include
parenta41972e8012d5028ff19721a869a3c2322c48158 (diff)
downloadsamba-1be3fcbf2f897b559bf72b72d54aa40805abd819.tar.gz
samba-1be3fcbf2f897b559bf72b72d54aa40805abd819.tar.bz2
samba-1be3fcbf2f897b559bf72b72d54aa40805abd819.zip
Add the options smb_encrypt_level to set the requested
encrypt level and smb_encrypt_on to query it. Jeremy. (This used to be commit 07d47996f9535731ccdc1792c405c8bee1a082ae)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/libsmb_internal.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/include/libsmb_internal.h b/source3/include/libsmb_internal.h
index 19a3edc9bf..dbc115429b 100644
--- a/source3/include/libsmb_internal.h
+++ b/source3/include/libsmb_internal.h
@@ -106,6 +106,13 @@ struct smbc_internal_data {
* and retrieved with smbc_option_set() and smbc_option_get().
*/
void * _user_data;
+
+ /*
+ * Should we attempt UNIX smb encryption ?
+ * Set to 0 if we should never attempt, set to 1 if
+ * encryption requested, set to 2 if encryption required.
+ */
+ int _smb_encryption_level;
};