User Tools

Site Tools


файловый_сервер_samba

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
файловый_сервер_samba [2024/03/28 14:03]
val [Файловый сервер SAMBA]
файловый_сервер_samba [2024/10/15 09:52] (current)
val [Мониторинг активности пользователей]
Line 85: Line 85:
         security = user         security = user
 [homes] [homes]
-        read only = no +        read only = no 
 +        valid users = %S
  
 ; sometimes solves the problem permission deny ; sometimes solves the problem permission deny
Line 208: Line 209:
 [homes] [homes]
 ; may be need make homedir ; may be need make homedir
-        read only = no        ​+        read only = no     
 +        valid users = %S    ​
  
 [corp_share] [corp_share]
Line 266: Line 268:
  
 ===== Мониторинг активности пользователей ===== ===== Мониторинг активности пользователей =====
 +
 +<​code>​
 +# smbstatus
 +</​code>​
  
   * [[https://​moiristo.wordpress.com/​2009/​08/​10/​samba-logging-user-activity/​|Samba:​ Logging User Activity]] !!! аудит можно настроить глобально или, на конкретном ресурсе !!!   * [[https://​moiristo.wordpress.com/​2009/​08/​10/​samba-logging-user-activity/​|Samba:​ Logging User Activity]] !!! аудит можно настроить глобально или, на конкретном ресурсе !!!
Line 275: Line 281:
         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 = connect, ​open, mkdir, rmdir, unlink, write, rename
         full_audit:​failure = none         full_audit:​failure = none
         full_audit:​priority = NOTICE         full_audit:​priority = NOTICE
файловый_сервер_samba.1711623811.txt.gz · Last modified: 2024/03/28 14:03 by val