yolo
This commit is contained in:
parent
4483b84cbe
commit
5ef3c78d4b
|
@ -7,17 +7,19 @@ services.samba = {
|
||||||
securityType = "user";
|
securityType = "user";
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
#workgroup = WORKGROUP
|
workgroup = WORKGROUP
|
||||||
server string = galadriel
|
server string = galadriel
|
||||||
netbios name = galadriel
|
netbios name = galadriel
|
||||||
security = user
|
security = user
|
||||||
#use sendfile = yes
|
#use sendfile = yes
|
||||||
#max protocol = smb2
|
#max protocol = smb2
|
||||||
|
min protocol = SMB2
|
||||||
# note: localhost is the ipv6 localhost ::1
|
# note: localhost is the ipv6 localhost ::1
|
||||||
hosts allow = 192.168.1. 127.0.0.1 localhost 100.
|
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
|
||||||
|
smb encrypt = required
|
||||||
'';
|
'';
|
||||||
shares = {
|
shares = {
|
||||||
# public = {
|
# public = {
|
||||||
|
|
Loading…
Reference in New Issue