summary refs log tree commit diff stats
path: root/system/settings/services
diff options
context:
space:
mode:
authorAlan Pearce2023-04-23 21:47:12 +0200
committerAlan Pearce2023-04-23 21:47:12 +0200
commitab8734f8bb1af13dde865d52fe8157594f9ed1b4 (patch)
tree05a4c205c41a8f6e99ef5cea3ea1790dbc1c240e /system/settings/services
parent6c617ecf14ee80830a324f7be3faf08b03ede5ea (diff)
downloadnixfiles-ab8734f8bb1af13dde865d52fe8157594f9ed1b4.tar.lz
nixfiles-ab8734f8bb1af13dde865d52fe8157594f9ed1b4.tar.zst
nixfiles-ab8734f8bb1af13dde865d52fe8157594f9ed1b4.zip
samba: limit backward-compatibility to smb2 protocol
Diffstat (limited to 'system/settings/services')
-rw-r--r--system/settings/services/samba.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/settings/services/samba.nix b/system/settings/services/samba.nix
index 7ac67f94..f957ba67 100644
--- a/system/settings/services/samba.nix
+++ b/system/settings/services/samba.nix
@@ -22,9 +22,9 @@ in
     extraConfig = ''
       workgroup = ${workgroup}
       mdns name = mdns
+      min protocol = smb2
       security = user
       #use sendfile = yes
-      #max protocol = smb2
       guest account = nobody
       map to guest = bad user
     '';