/[smeserver]/rpms/e-smith-samba/sme9/e-smith-samba-2.4.0-audit_param.patch
ViewVC logotype

Annotation of /rpms/e-smith-samba/sme9/e-smith-samba-2.4.0-audit_param.patch

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


Revision 1.1 - (hide annotations) (download)
Thu Sep 3 15:26:00 2015 UTC (9 years, 2 months ago) by vip-ire
Branch: MAIN
CVS Tags: e-smith-samba-2_4_0-17_el6_sme, e-smith-samba-2_4_0-24_el6_sme, e-smith-samba-2_4_0-15_el6_sme, e-smith-samba-2_4_0-20_el6_sme, e-smith-samba-2_4_0-16_el6_sme, e-smith-samba-2_4_0-22_el6_sme, e-smith-samba-2_4_0-21_el6_sme, e-smith-samba-2_4_0-18_el6_sme, e-smith-samba-2_4_0-27_el6_sme, e-smith-samba-2_4_0-19_el6_sme, e-smith-samba-2_4_0-26_el6_sme, e-smith-samba-2_4_0-23_el6_sme, e-smith-samba-2_4_0-25_el6_sme, HEAD
* Thu Sep 3 2015 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-15.sme
- Fix samba audit parameters [SME: 9037]
  Patch from Jorge Gonzalez

1 vip-ire 1.1 diff -Nur e-smith-samba-2.4.0/root/etc/e-smith/templates/etc/smb.conf/50homesVFS e-smith-samba-2.4.0_bz9037/root/etc/e-smith/templates/etc/smb.conf/50homesVFS
2     --- e-smith-samba-2.4.0/root/etc/e-smith/templates/etc/smb.conf/50homesVFS 2015-09-03 13:58:11.409749847 +0200
3     +++ e-smith-samba-2.4.0_bz9037/root/etc/e-smith/templates/etc/smb.conf/50homesVFS 2015-09-03 14:19:30.653797299 +0200
4     @@ -1,9 +1,14 @@
5     {
6     return "" unless scalar keys %$vfs;
7    
8     + my $vfs_module_prefix_map = {
9     + shadow_copy2 => 'shadow',
10     + posix_eadb => 'posix'
11     + };
12     +
13     $OUT = "vfs objects = " . (join " ", keys %$vfs) . "\n";
14     foreach $mod (keys %$vfs) {
15     - ($mod2) = $mod =~ m{^([^_]+)};
16     + $mod2 = $vfs_module_prefix_map->{$mod} || $mod;
17     foreach $opt (keys %{$vfs->{$mod}}) {
18     $OUT .= " $mod2:$opt=$vfs->{$mod}->{$opt}\n";
19     }
20     diff -Nur e-smith-samba-2.4.0/root/etc/e-smith/templates/etc/smb.conf/ibays/90vfs e-smith-samba-2.4.0_bz9037/root/etc/e-smith/templates/etc/smb.conf/ibays/90vfs
21     --- e-smith-samba-2.4.0/root/etc/e-smith/templates/etc/smb.conf/ibays/90vfs 2015-09-03 13:58:11.410749847 +0200
22     +++ e-smith-samba-2.4.0_bz9037/root/etc/e-smith/templates/etc/smb.conf/ibays/90vfs 2015-09-03 14:19:56.981799082 +0200
23     @@ -1,9 +1,14 @@
24     {
25     return "" unless scalar keys %$ibay_vfs;
26    
27     + my $vfs_module_prefix_map = {
28     + shadow_copy2 => 'shadow',
29     + posix_eadb => 'posix'
30     + };
31     +
32     $OUT = "vfs objects = " . (join " ", keys %$ibay_vfs) . "\n";
33     foreach $mod (keys %$ibay_vfs) {
34     - ($mod2) = $mod =~ m{^([^_]+)};
35     + $mod2 = $vfs_module_prefix_map->{$mod} || $mod;
36     foreach $opt (keys %{$ibay_vfs->{$mod}}) {
37     $OUT .= " $mod2:$opt=$ibay_vfs->{$mod}->{$opt}\n";
38     }

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