Create samba users

This commit is contained in:
Zuckerberg 2022-04-24 21:55:20 -04:00
parent acbf162ffe
commit 73bbd39c64

View File

@ -37,16 +37,28 @@
"force user" = "public_data"; "force user" = "public_data";
"force group" = "public_data"; "force group" = "public_data";
}; };
private = { googlebot = {
path = "/data/samba/Private"; path = "/data/samba/googlebot";
browseable = "yes"; browseable = "yes";
"read only" = "no"; "read only" = "no";
"guest ok" = "no"; "guest ok" = "no";
"valid users" = "googlebot";
"create mask" = "0644"; "create mask" = "0644";
"directory mask" = "0755"; "directory mask" = "0755";
"force user" = "googlebot"; "force user" = "googlebot";
"force group" = "users"; "force group" = "users";
}; };
cris = {
path = "/data/samba/cris";
browseable = "yes";
"read only" = "no";
"guest ok" = "no";
"valid users" = "cris";
"create mask" = "0644";
"directory mask" = "0755";
"force user" = "root";
"force group" = "users";
};
printers = { printers = {
comment = "All Printers"; comment = "All Printers";
path = "/var/spool/samba"; path = "/var/spool/samba";