From 9040bf854ed2e087cfc86c2a6ab976f16510c322 Mon Sep 17 00:00:00 2001 From: Timo Makinen Date: Thu, 8 Sep 2016 13:21:34 +0300 Subject: [PATCH] samba: Disable old lanman and NTMLv1 authentications. --- samba/templates/smb.conf.erb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/samba/templates/smb.conf.erb b/samba/templates/smb.conf.erb index 8e60d5f..3b0b145 100644 --- a/samba/templates/smb.conf.erb +++ b/samba/templates/smb.conf.erb @@ -38,6 +38,8 @@ kerberos method = secrets and keytab <% else -%> <% scope.function_fail(['Invalid value "%s" for auth.' % @auth]) -%> <% end -%> +lanman auth = no +ntlm auth = no # log per machine and rotate after 128MB log file = /var/log/samba/%m.log