/[smecontribs]/rpms/smeserver-shared-folders/contribs7/smeserver-shared-folders-0.1-fix_unencrypted_shares_modify.patch
ViewVC logotype

Annotation of /rpms/smeserver-shared-folders/contribs7/smeserver-shared-folders-0.1-fix_unencrypted_shares_modify.patch

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


Revision 1.1 - (hide annotations) (download)
Fri Jul 8 08:55:47 2011 UTC (13 years, 4 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-shared-folders-0_1-71_el4_sme, smeserver-shared-folders-0_1-61_el4_sme, smeserver-shared-folders-0_1-70_el4_sme, smeserver-shared-folders-0_1-66_el4_sme, smeserver-shared-folders-0_1-65_el4_sme, smeserver-shared-folders-0_1-51_el4_sme, smeserver-shared-folders-0_1-59_el4_sme, smeserver-shared-folders-0_1-56_el4_sme, smeserver-shared-folders-0_1-60_el4_sme, smeserver-shared-folders-0_1-77_el4_sme, smeserver-shared-folders-0_1-74_el4_sme, smeserver-shared-folders-0_1-78_el4_sme, smeserver-shared-folders-0_1-62_el4_sme, smeserver-shared-folders-0_1-58_el4_sme, smeserver-shared-folders-0_1-63_el4_sme, smeserver-shared-folders-0_1-75_el4_sme, smeserver-shared-folders-0_1-76_el4_sme, smeserver-shared-folders-0_1-68_el4_sme, smeserver-shared-folders-0_1-69_el4_sme, smeserver-shared-folders-0_1-57_el4_sme, smeserver-shared-folders-0_1-54_el4_sme, smeserver-shared-folders-0_1-52_el4_sme, smeserver-shared-folders-0_1-72_el4_sme, smeserver-shared-folders-0_1-73_el4_sme, smeserver-shared-folders-0_1-64_el4_sme, smeserver-shared-folders-0_1-67_el4_sme, smeserver-shared-folders-0_1-79_el4_sme, smeserver-shared-folders-0_1-55_el4_sme, smeserver-shared-folders-0_1-53_el4_sme, HEAD
* Fri Jul 08 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-51.sme
- Fix modification of unencrypted shares

1 vip-ire 1.1 diff -Nur smeserver-shared-folders-0.1/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/shares.pm smeserver-shared-folders-0.1_mod/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/shares.pm
2     --- smeserver-shared-folders-0.1/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/shares.pm 2011-07-08 10:52:54.000000000 +0200
3     +++ smeserver-shared-folders-0.1_mod/root/usr/lib/perl5/site_perl/esmith/FormMagick/Panel/shares.pm 2011-07-08 10:54:04.000000000 +0200
4     @@ -264,7 +264,7 @@
5     return undef if ($action eq 'modify' && $encryption ne 'enabled');
6    
7     my $inactivity = (($sharename ne '') && ($accountdb->get($sharename))) ?
8     - ($accountdb->get($sharename)->prop('Inactivity') || '30'):'30';
9     + ($accountdb->get($sharename)->prop('InactivityTimeOut') || '30'):'30';
10    
11     print_section_bar();
12    
13     @@ -576,7 +576,7 @@
14     if (my $acct = $accountdb->new_record($name, {
15     Name => $self->cgi->param('description'),
16     Encryption => $self->cgi->param('encryption'),
17     - InactivityTimeOut => $self->cgi->param('inactivity'),
18     + InactivityTimeOut => ($self->cgi->param('inactivity') || ''),
19     WriteGroups => $WriteGroups,
20     ReadGroups => $ReadGroups,
21     RecycleBin => $self->cgi->param('recyclebin'),
22     @@ -648,7 +648,7 @@
23    
24     $acct->merge_props(
25     Name => $self->cgi->param('description'),
26     - InactivityTimeOut => $self->cgi->param('inactivity'),
27     + InactivityTimeOut => ($self->cgi->param('inactivity') || ''),
28     WriteGroups => $WriteGroups,
29     ReadGroups => $ReadGroups,
30     RecycleBin => $self->cgi->param('recyclebin'),

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