diff options
| author | Stefan Metzmacher <metze@samba.org> | 2013-12-06 11:38:21 +0100 |
|---|---|---|
| committer | Stefan Metzmacher <metze@samba.org> | 2014-01-07 12:47:17 +0100 |
| commit | 87bdc88328568359e51af6615b378ba8dc67f647 (patch) | |
| tree | 6e59d4d1e5328e310284598865261f03c8e0be11 /lib | |
| parent | 3d45d4dc3c69557bf1d1fe6d4a880ad74a2a41f1 (diff) | |
| download | samba-87bdc88328568359e51af6615b378ba8dc67f647.tar.gz samba-87bdc88328568359e51af6615b378ba8dc67f647.tar.xz samba-87bdc88328568359e51af6615b378ba8dc67f647.zip | |
lib/param: add "allow nt4 crypto" option, defaulting to false
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/param/param_functions.c | 1 | ||||
| -rw-r--r-- | lib/param/param_table.c | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/lib/param/param_functions.c b/lib/param/param_functions.c index d04bc0de91..7d86828ee2 100644 --- a/lib/param/param_functions.c +++ b/lib/param/param_functions.c @@ -154,6 +154,7 @@ FN_LOCAL_PARM_BOOL(kernel_change_notify, bKernelChangeNotify) FN_LOCAL_BOOL(durable_handles, bDurableHandles) FN_GLOBAL_BOOL(allow_insecure_widelinks, bAllowInsecureWidelinks) +FN_GLOBAL_BOOL(allow_nt4_crypto, bAllowNT4Crypto) FN_GLOBAL_BOOL(allow_trusted_domains, bAllowTrustedDomains) FN_GLOBAL_BOOL(async_smb_echo_handler, bAsyncSMBEchoHandler) FN_GLOBAL_BOOL(bind_interfaces_only, bBindInterfacesOnly) diff --git a/lib/param/param_table.c b/lib/param/param_table.c index c79190c43c..8b6b234ea5 100644 --- a/lib/param/param_table.c +++ b/lib/param/param_table.c @@ -4316,6 +4316,15 @@ static struct parm_struct parm_table[] = { .special = NULL, .enum_list = NULL }, + { + .label = "allow nt4 crypto", + .type = P_BOOL, + .p_class = P_GLOBAL, + .offset = GLOBAL_VAR(bAllowNT4Crypto), + .special = NULL, + .enum_list = NULL, + .flags = FLAG_ADVANCED, + }, {N_("TLS options"), P_SEP, P_SEPARATOR}, |
