fix: samba
This commit is contained in:
parent
8c7fdf4612
commit
482462c8ba
|
@ -11,7 +11,7 @@
|
||||||
environment.systemPackages = [pkgs.cifs-utils];
|
environment.systemPackages = [pkgs.cifs-utils];
|
||||||
|
|
||||||
fileSystems."/home/sajenim/.backup" = {
|
fileSystems."/home/sajenim/.backup" = {
|
||||||
device = "//192.168.20.4/sajenim";
|
device = "//192.168.50.227/sajenim";
|
||||||
fsType = "cifs";
|
fsType = "cifs";
|
||||||
options = let
|
options = let
|
||||||
# this line prevents hanging on network split
|
# this line prevents hanging on network split
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
#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.20.5 127.0.0.1 localhost
|
hosts allow = 192.168.50.237 192.168.50.12 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
|
||||||
|
|
Loading…
Reference in a new issue