Samba: Difference between revisions
→CIFS mount configuration: - Added "nofail" to template config with explanation as to why |
Renamed "services.samba.securityType" to "services.samba.settings.global.security" in the User Authentication section |
||
| (One intermediate revision by one other user not shown) | |||
| Line 14: | Line 14: | ||
enable = true; | enable = true; | ||
openFirewall = true; | openFirewall = true; | ||
}; | }; | ||
| Line 32: | Line 31: | ||
Then, logout and login (to make sure your group change has been taken into account), open Dolphin, right click on a folder you'd like to share, go to Properties, Tab "Share", and configure it the way you want. | Then, logout and login (to make sure your group change has been taken into account), open Dolphin, right click on a folder you'd like to share, go to Properties, Tab "Share", and configure it the way you want. | ||
== Server setup == | == Server setup == | ||
| Line 126: | Line 124: | ||
services.samba = { | services.samba = { | ||
enable = true; | enable = true; | ||
openFirewall = true; | openFirewall = true; | ||
settings.my_share_directory = { | settings = { | ||
global = { | |||
# ... | |||
"security" = "user"; | |||
}; | |||
my_share_directory = { | |||
# ... | |||
"valid users" = "my_user"; | |||
}; | |||
}; | }; | ||
}; | }; | ||