1 |
unnilennium |
1.1 |
diff -Nur smeserver-shared-folders-0.1/root/etc/e-smith/templates/etc/smb.conf/shares/45audit smeserver-shared-folders-0.1_mod/root/etc/e-smith/templates/etc/smb.conf/shares/45audit |
2 |
|
|
--- smeserver-shared-folders-0.1/root/etc/e-smith/templates/etc/smb.conf/shares/45audit 1970-01-01 01:00:00.000000000 +0100 |
3 |
|
|
+++ smeserver-shared-folders-0.1_mod/root/etc/e-smith/templates/etc/smb.conf/shares/45audit 2011-06-29 09:30:44.000000000 +0200 |
4 |
|
|
@@ -0,0 +1,10 @@ |
5 |
|
|
+{ |
6 |
|
|
+ $OUT = ""; |
7 |
|
|
+ return unless (($share->prop('Audit') || 'enabled') eq 'enabled'); |
8 |
|
|
+ |
9 |
|
|
+ $share_vfs->{full_audit}->{prefix} = "%u|%I|%m|%S"; |
10 |
|
|
+ $share_vfs->{full_audit}->{failure} = "connect"; |
11 |
|
|
+ $share_vfs->{full_audit}->{success} = "opendir mkdir rmdir open write rename unlink"; |
12 |
|
|
+ $share_vfs->{full_audit}->{facility} = "local5"; |
13 |
|
|
+ $share_vfs->{full_audit}->{priority} = "notice"; |
14 |
|
|
+} |