From 750c817ce54655f08f5c414c3481f2769a1354ba Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Sat, 3 Oct 2020 12:32:43 +0200 Subject: [PATCH] Force usage of CIFS unix extension. Unfortunately samba is removing them without replacement, so I'll have to replace samba with something else... --- aplysia.nix | 1 + common-headless.nix | 6 +++--- vaccaria.nix | 1 + 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/aplysia.nix b/aplysia.nix index cce50ad..01d7aa4 100644 --- a/aplysia.nix +++ b/aplysia.nix @@ -76,6 +76,7 @@ in extraConfig = '' passdb backend = tdbsam unix password sync = no + min protocol = NT1 ''; shares = { export = { diff --git a/common-headless.nix b/common-headless.nix index 86965c9..b08c7d9 100644 --- a/common-headless.nix +++ b/common-headless.nix @@ -60,19 +60,19 @@ fileSystems."/mnt/vaccaria" = { device = "//vaccaria.htdf.gebner.org/export"; fsType = "cifs"; - options = [ "noauto" "x-systemd.automount" "credentials=/etc/smbcredentials/vaccaria" "vers=1.0" ]; + options = [ "noauto" "x-systemd.automount" "credentials=/etc/smbcredentials/vaccaria" "vers=1.0" "unix" ]; }; fileSystems."/mnt/aplysia" = { device = "//aplysia.ams.gebner.org/export"; fsType = "cifs"; - options = [ "noauto" "x-systemd.automount" "credentials=/etc/smbcredentials/aplysia" "vers=1.0" ]; + options = [ "noauto" "x-systemd.automount" "credentials=/etc/smbcredentials/aplysia" "vers=1.0" "unix" ]; }; fileSystems."/mnt/aruanus" = { device = "//aruanus.htdf.gebner.org/export"; fsType = "cifs"; - options = [ "noauto" "x-systemd.automount" "credentials=/etc/smbcredentials/aruanus" "vers=1.0" ]; + options = [ "noauto" "x-systemd.automount" "credentials=/etc/smbcredentials/aruanus" "vers=1.0" "unix" ]; }; users.extraUsers.gebner = { diff --git a/vaccaria.nix b/vaccaria.nix index d0977cf..4b958c7 100644 --- a/vaccaria.nix +++ b/vaccaria.nix @@ -32,6 +32,7 @@ extraConfig = '' passdb backend = tdbsam unix password sync = no + min protocol = NT1 ''; shares = { export = {