Force usage of CIFS unix extension.

Unfortunately samba is removing them without replacement, so I'll have
to replace samba with something else...
This commit is contained in:
Gabriel Ebner 2020-10-03 12:32:43 +02:00
parent 3eae53f261
commit 750c817ce5
3 changed files with 5 additions and 3 deletions

@ -76,6 +76,7 @@ in
extraConfig = '' extraConfig = ''
passdb backend = tdbsam passdb backend = tdbsam
unix password sync = no unix password sync = no
min protocol = NT1
''; '';
shares = { shares = {
export = { export = {

@ -60,19 +60,19 @@
fileSystems."/mnt/vaccaria" = { fileSystems."/mnt/vaccaria" = {
device = "//vaccaria.htdf.gebner.org/export"; device = "//vaccaria.htdf.gebner.org/export";
fsType = "cifs"; 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" = { fileSystems."/mnt/aplysia" = {
device = "//aplysia.ams.gebner.org/export"; device = "//aplysia.ams.gebner.org/export";
fsType = "cifs"; 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" = { fileSystems."/mnt/aruanus" = {
device = "//aruanus.htdf.gebner.org/export"; device = "//aruanus.htdf.gebner.org/export";
fsType = "cifs"; 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 = { users.extraUsers.gebner = {

@ -32,6 +32,7 @@
extraConfig = '' extraConfig = ''
passdb backend = tdbsam passdb backend = tdbsam
unix password sync = no unix password sync = no
min protocol = NT1
''; '';
shares = { shares = {
export = { export = {