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 |
|
|
} |