/[smeserver]/rpms/e-smith-samba/sme8/e-smith-samba-2.2.0-audit_param.patch
ViewVC logotype

Annotation of /rpms/e-smith-samba/sme8/e-smith-samba-2.2.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:31:01 2015 UTC (8 years, 9 months ago) by vip-ire
Branch: MAIN
CVS Tags: e-smith-samba-2_2_0-62_el5_sme, e-smith-samba-2_2_0-61_el5_sme, e-smith-samba-2_2_0-63_el5_sme, e-smith-samba-2_2_0-66_el5_sme, e-smith-samba-2_2_0-65_el5_sme, e-smith-samba-2_2_0-64_el5_sme, HEAD
* Thu Sep 3 2015 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-61.sme
- Fix samba audit parameters [SME: 9026]
  Patch from Jorge Gonzalez

1 vip-ire 1.1 diff -Nur e-smith-samba-2.2.0/root/etc/e-smith/templates/etc/smb.conf/50homesVFS e-smith-samba-2.2.0_bz9026/root/etc/e-smith/templates/etc/smb.conf/50homesVFS
2     --- e-smith-samba-2.2.0/root/etc/e-smith/templates/etc/smb.conf/50homesVFS 2015-09-03 17:27:26.529279544 +0200
3     +++ e-smith-samba-2.2.0_bz9026/root/etc/e-smith/templates/etc/smb.conf/50homesVFS 2015-09-03 17:28:55.005263787 +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.2.0/root/etc/e-smith/templates/etc/smb.conf/ibays/90vfs e-smith-samba-2.2.0_bz9026/root/etc/e-smith/templates/etc/smb.conf/ibays/90vfs
21     --- e-smith-samba-2.2.0/root/etc/e-smith/templates/etc/smb.conf/ibays/90vfs 2015-09-03 17:27:26.530279543 +0200
22     +++ e-smith-samba-2.2.0_bz9026/root/etc/e-smith/templates/etc/smb.conf/ibays/90vfs 2015-09-03 17:29:31.405257273 +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