Различия
Показаны различия между двумя версиями страницы.
Предыдущая версия справа и слева Предыдущая версия Следующая версия | Предыдущая версия | ||
samba:smb4.conf [2017/02/18 14:53] – mirocow | samba:smb4.conf [2017/12/16 23:31] (текущий) – [Sabma 4 config] mirocow | ||
---|---|---|---|
Строка 3: | Строка 3: | ||
====== Sabma 4 config ====== | ====== Sabma 4 config ====== | ||
- | <code bash>$ testparm -S</ | + | <code bash> |
+ | $ testparm -S | ||
+ | $ adduser share | ||
+ | </ | ||
< | < | ||
Строка 31: | Строка 34: | ||
acl allow execute always = Yes | acl allow execute always = Yes | ||
invalid users = root bin daemon adm sync shutdown halt mail news uucp operator | invalid users = root bin daemon adm sync shutdown halt mail news uucp operator | ||
- | |||
[User] | [User] | ||
Строка 39: | Строка 41: | ||
valid users = %U | valid users = %U | ||
+ | [Home] | ||
+ | path = /home | ||
+ | comment = Home Directories | ||
+ | valid users = share | ||
+ | read only = no | ||
+ | browseable = yes | ||
+ | available = yes | ||
+ | create mask = 0664 | ||
+ | directory mask = 0775 | ||
+ | force user = share | ||
+ | force group = share | ||
[DISK1] | [DISK1] |