for real this time smb i hope
This commit is contained in:
parent
f7bc5bd7b1
commit
0e4a5fb0b6
|
@ -8,14 +8,14 @@ services.samba = {
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
workgroup = WORKGROUP
|
workgroup = WORKGROUP
|
||||||
server string = smbnix
|
server string = galadriel
|
||||||
netbios name = smbnix
|
netbios name = galadriel
|
||||||
security = user
|
security = user
|
||||||
#use sendfile = yes
|
#use sendfile = yes
|
||||||
#max protocol = smb2
|
#max protocol = smb2
|
||||||
# note: localhost is the ipv6 localhost ::1
|
# note: localhost is the ipv6 localhost ::1
|
||||||
hosts allow = 192.168.1.0/24 127.0.0.1 localhost 100.0.0.0/8
|
hosts allow = 192.168.1. 127.0.0.1 localhost 100.
|
||||||
# hosts deny = 0.0.0.0/0
|
hosts deny = 0.0.0.0/0
|
||||||
guest account = nobody
|
guest account = nobody
|
||||||
map to guest = bad user
|
map to guest = bad user
|
||||||
'';
|
'';
|
||||||
|
@ -30,20 +30,12 @@ services.samba = {
|
||||||
# "force user" = "username";
|
# "force user" = "username";
|
||||||
# "force group" = "groupname";
|
# "force group" = "groupname";
|
||||||
# };
|
# };
|
||||||
Main = {
|
Backup = {
|
||||||
path = "/Main";
|
path = "/Main/Backup";
|
||||||
"valid users" = "gunalx";
|
"valid users" = "gunalx";
|
||||||
"force user" = "gunalx";
|
"force user" = "gunalx";
|
||||||
"force group" = "gunalx";
|
"force group" = "gunalx";
|
||||||
|
|
||||||
public = "no";
|
|
||||||
browseable = "yes";
|
browseable = "yes";
|
||||||
writeable = "yes";
|
|
||||||
|
|
||||||
"fruit:aapl" = "yes";
|
|
||||||
"fruit:time machine" = "yes";
|
|
||||||
"vfs objects" = "catia fruit streams_xattr";
|
|
||||||
|
|
||||||
"read only" = "no";
|
"read only" = "no";
|
||||||
"guest ok" = "no";
|
"guest ok" = "no";
|
||||||
"create mask" = "0644";
|
"create mask" = "0644";
|
||||||
|
|
Loading…
Reference in New Issue