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

Contents of /rpms/smeserver-shared-folders/contribs8/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 - (show annotations) (download)
Sun Mar 3 22:04:39 2013 UTC (11 years, 8 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-shared-folders-0_1-80_el5_sme, smeserver-shared-folders-0_1-83_el5_sme, smeserver-shared-folders-0_1-84_el5_sme, smeserver-shared-folders-0_1-82_el5_sme, smeserver-shared-folders-0_1-87_el5_sme, smeserver-shared-folders-0_1-86_el5_sme, smeserver-shared-folders-0_1-81_el5_sme, smeserver-shared-folders-0_1-85_el5_sme, smeserver-shared-folders-0_1-79_el5_sme, HEAD
Initial import

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