1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-29 04:23:51 +03:00

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 07d47996f9)
This commit is contained in:
Jeremy Allison
2008-01-05 00:51:18 -08:00
parent a41972e801
commit 1be3fcbf2f
2 changed files with 105 additions and 0 deletions

View File

@@ -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;
};