vno1-rp3b: some attempts at samba
This commit is contained in:
parent
7891663a65
commit
4f45d605e1
@ -19,10 +19,11 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
securityType = "user";
|
securityType = "user";
|
||||||
enableNmbd = true;
|
enableNmbd = true;
|
||||||
enableWinbindd = false;
|
enableWinbindd = true;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
workgroup = WORKGROUP
|
||||||
|
netbios name = HOMESERV
|
||||||
map to guest = Bad User
|
map to guest = Bad User
|
||||||
guest account = jakstpub
|
|
||||||
'';
|
'';
|
||||||
shares = {
|
shares = {
|
||||||
public = {
|
public = {
|
||||||
@ -30,6 +31,12 @@
|
|||||||
writable = "yes";
|
writable = "yes";
|
||||||
printable = "no";
|
printable = "no";
|
||||||
public = "yes";
|
public = "yes";
|
||||||
|
"guest ok" = "yes";
|
||||||
|
"read only" = "no";
|
||||||
|
"create mask" = 666;
|
||||||
|
"directory mask" = 777;
|
||||||
|
"force user" = "jakstpub";
|
||||||
|
"force group" = "jakstpub";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user