forked from kalipso/infrastructure
[lucia] rm samba till i have time to set it up properly
This commit is contained in:
@@ -100,54 +100,54 @@ in
|
|||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
samba = {
|
#samba = {
|
||||||
enable = true;
|
# enable = true;
|
||||||
securityType = "user";
|
# securityType = "user";
|
||||||
openFirewall = true;
|
# openFirewall = true;
|
||||||
extraConfig = ''
|
# extraConfig = ''
|
||||||
workgroup = WORKGROUP
|
# workgroup = maloinfra
|
||||||
server string = smbmalo
|
# server string = smbmalo
|
||||||
netbios name = smbmalo
|
# netbios name = smbmalo
|
||||||
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.0. 127.0.0.1 localhost
|
# hosts allow = 192.168.1. 127.0.0.1 localhost
|
||||||
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
|
||||||
'';
|
# '';
|
||||||
shares = {
|
# shares = {
|
||||||
zines = {
|
# zines = {
|
||||||
comment = "malobeo Zines";
|
# comment = "malobeo Zines";
|
||||||
path = "/var/sambaShares/zines";
|
# path = "/var/sambaShares/zines";
|
||||||
browseable = "yes";
|
|
||||||
"read only" = "no";
|
|
||||||
"guest ok" = "yes";
|
|
||||||
"create mask" = "0644";
|
|
||||||
"directory mask" = "0755";
|
|
||||||
#"force user" = "username";
|
|
||||||
#"force group" = "groupname";
|
|
||||||
"write list" = "malobeo";
|
|
||||||
"read list" = "guest nobody";
|
|
||||||
};
|
|
||||||
#private = {
|
|
||||||
# path = "/mnt/Shares/Private";
|
|
||||||
# browseable = "yes";
|
# browseable = "yes";
|
||||||
# "read only" = "no";
|
# "read only" = "no";
|
||||||
# "guest ok" = "no";
|
# "guest ok" = "yes";
|
||||||
# "create mask" = "0644";
|
# "create mask" = "0644";
|
||||||
# "directory mask" = "0755";
|
# "directory mask" = "0755";
|
||||||
# "force user" = "username";
|
# #"force user" = "username";
|
||||||
# "force group" = "groupname";
|
# #"force group" = "groupname";
|
||||||
|
# "write list" = "malobeo";
|
||||||
|
# "read list" = "guest nobody";
|
||||||
|
# };
|
||||||
|
# #private = {
|
||||||
|
# # path = "/mnt/Shares/Private";
|
||||||
|
# # browseable = "yes";
|
||||||
|
# # "read only" = "no";
|
||||||
|
# # "guest ok" = "no";
|
||||||
|
# # "create mask" = "0644";
|
||||||
|
# # "directory mask" = "0755";
|
||||||
|
# # "force user" = "username";
|
||||||
|
# # "force group" = "groupname";
|
||||||
|
# #};
|
||||||
|
# };
|
||||||
#};
|
#};
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
samba-wsdd = {
|
#samba-wsdd = {
|
||||||
enable = true;
|
# enable = true;
|
||||||
openFirewall = true;
|
# openFirewall = true;
|
||||||
};
|
#};
|
||||||
|
|
||||||
hedgedoc = {
|
hedgedoc = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user