This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
файловый_сервер_samba [2021/03/01 10:48] val |
файловый_сервер_samba [2021/03/01 20:01] val [Мониторинг активности пользователей] |
||
---|---|---|---|
Line 203: | Line 203: | ||
[homes] | [homes] | ||
+ | ; may be need make homedir | ||
read only = no | read only = no | ||
Line 209: | Line 210: | ||
;with winbind | ;with winbind | ||
- | ; valid users = CORPX\user1, CORPX\Administrator, CORPX\root, games | + | ; valid users = CORPX\user1 CORPX\Administrator CORPX\root games |
- | ; valid users = @CORP13\group1, games | + | ; valid users = @CORP13\group1 games |
- | ; valid users = "@CORPX\domain users", games | + | ; valid users = "@CORPX\domain users" games |
;without winbind, group1 must be master group | ;without winbind, group1 must be master group | ||
- | ; valid users = @group1, games | + | ; valid users = @group1 games |
;without winbind | ;without winbind | ||
- | ; valid users = user1, user2, games | + | ; valid users = user1 user2 games |
| | ||
read only = no | read only = no | ||
Line 244: | Line 245: | ||
<code> | <code> | ||
- | # cat smb.conf | + | # cat /etc/samba/smb.conf |
</code><code> | </code><code> | ||
[global] | [global] | ||
Line 263: | Line 264: | ||
</code><code> | </code><code> | ||
... | ... | ||
- | vfs objects = full_audit | + | vfs objects = full_audit |
- | full_audit:prefix = %U|%u|%I|%m|%S | + | full_audit:prefix = %U|%u|%I|%m|%S |
- | full_audit:success = unlink open | + | full_audit:success = unlink open |
- | full_audit:failure = none | + | full_audit:failure = none |
- | full_audit:priority = NOTICE | + | full_audit:priority = NOTICE |
... | ... | ||
</code><code> | </code><code> |