From 7c9c6c20cb5ebacc6b2b464e92397e1c817782d1 Mon Sep 17 00:00:00 2001 From: Simon Spiridonov Date: Wed, 30 Dec 2020 16:55:48 +0100 Subject: [PATCH] allow very old clients --- templates/smb.conf.j2 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/templates/smb.conf.j2 b/templates/smb.conf.j2 index 2cb9c70..7900168 100644 --- a/templates/smb.conf.j2 +++ b/templates/smb.conf.j2 @@ -37,6 +37,11 @@ username map = {{ samba_username_map_file }} {% endif %} +{% if samba_old_auth is defined %} + lanman auth = yes + ntlm auth = yes +{% endif %} + {% if samba_server_min_protocol is defined %} # Minimum protocol version offered by the server server min protocol = {{ samba_server_min_protocol }}