vno1-rp3b: some attempts at samba

This commit is contained in:
Motiejus Jakštys 2023-09-12 17:44:17 +03:00
parent 7891663a65
commit 4f45d605e1
1 changed files with 9 additions and 2 deletions

View File

@ -19,10 +19,11 @@
enable = true;
securityType = "user";
enableNmbd = true;
enableWinbindd = false;
enableWinbindd = true;
extraConfig = ''
workgroup = WORKGROUP
netbios name = HOMESERV
map to guest = Bad User
guest account = jakstpub
'';
shares = {
public = {
@ -30,6 +31,12 @@
writable = "yes";
printable = "no";
public = "yes";
"guest ok" = "yes";
"read only" = "no";
"create mask" = 666;
"directory mask" = 777;
"force user" = "jakstpub";
"force group" = "jakstpub";
};
};
};