/[smecontribs]/rpms/smeserver-shared-folders/contribs10/smeserver-shared-folders-0.3-bz12515-audit-def-off.patch
ViewVC logotype

Annotation of /rpms/smeserver-shared-folders/contribs10/smeserver-shared-folders-0.3-bz12515-audit-def-off.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Wed Mar 20 12:01:04 2024 UTC (7 months, 4 weeks ago) by terryfage
Branch: MAIN
CVS Tags: smeserver-shared-folders-0_3-23_el7_sme, HEAD
* Wed Mar 20 2024 Zsolt Vasarhelyi <vasarhelyizsolt@hotmail.com> 0.3-23.sme
- NFR: have samba audit off by default for shared-folders  [SME: 12515]

1 terryfage 1.1 diff -urN smeserver-shared-folders-0.3.old/root/etc/e-smith/templates/etc/smb.conf/shares/45audit smeserver-shared-folders-0.3/root/etc/e-smith/templates/etc/smb.conf/shares/45audit
2     --- smeserver-shared-folders-0.3.old/root/etc/e-smith/templates/etc/smb.conf/shares/45audit 2024-03-20 12:54:34.581433278 +0200
3     +++ smeserver-shared-folders-0.3/root/etc/e-smith/templates/etc/smb.conf/shares/45audit 2024-03-20 12:56:15.226319592 +0200
4     @@ -1,6 +1,6 @@
5     {
6     $OUT = "";
7     - return unless (($share->prop('Audit') || 'enabled') eq 'enabled');
8     + return unless (($share->prop('Audit') || 'disabled') eq 'enabled');
9    
10     $share_vfs->{full_audit}->{prefix} = "%u|%I|%m|%S";
11     $share_vfs->{full_audit}->{failure} = "mkdir rmdir chdir open close rename unlink connect disconnect";

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed