Различия
Показаны различия между двумя версиями страницы.
Следующая версия | Предыдущая версия | ||
samba:smb4.conf [2017/02/18 14:04] – создано mirocow | samba:smb4.conf [2017/12/16 23:31] (текущий) – [Sabma 4 config] mirocow | ||
---|---|---|---|
Строка 2: | Строка 2: | ||
====== Sabma 4 config ====== | ====== Sabma 4 config ====== | ||
+ | |||
+ | <code bash> | ||
+ | $ testparm -S | ||
+ | $ adduser share | ||
+ | </ | ||
< | < | ||
Строка 29: | Строка 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] | ||
Строка 35: | Строка 39: | ||
path = /home/%U | path = /home/%U | ||
read only = No | read only = No | ||
- | valid users = %D\%S | + | 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] |