Monday, November 19, 2012

how to view who create which files in samba

Just add these lines below in your smb.conf file:

vfs objects = full_audit
full_audit:prefix = %u|%I|%m|%S
full_audit:success = mkdir rename unlink rmdir pwrite
full_audit:failure = none
full_audit:facility = LOCAL7
full_audit:priority = NOTICE

0 comments:

Post a Comment