about summary refs log tree commit diff
path: root/hosts
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-02-27 18:03:30 -0800
committerFranck Cuny <franck@fcuny.net>2022-02-27 18:03:30 -0800
commitfcbbd608eeb849266770aa8690e4ae06627eaa83 (patch)
treea6465a3c2752ccee2b6a43833dc900200d01ece7 /hosts
parenttahoe: include NAS profile (diff)
downloadworld-fcbbd608eeb849266770aa8690e4ae06627eaa83.tar.gz
samba: fix configuration
Some settings were missing, others incorrect, and the name of the share
was also incorrect.
Diffstat (limited to 'hosts')
-rw-r--r--hosts/common/server/samba.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/hosts/common/server/samba.nix b/hosts/common/server/samba.nix
index 212f7ff..d3bb857 100644
--- a/hosts/common/server/samba.nix
+++ b/hosts/common/server/samba.nix
@@ -9,14 +9,14 @@
       server string = tahoe
       netbios name = tahoe
       security = user
-      hosts allow = 10.77  192.168.0 127.
       guest account = nobody
+      mangled names = no
+      client min protocol = SMB2
       map to guest = bad user
       ntlm auth = true
-      signing_required = no
     '';
     shares = {
-      public = {
+      music = {
         path = "/data/media/music";
         browseable = "yes";
         "read only" = "yes";