/[smecontribs]/rpms/smeserver-password/contribs9/smeserver-password-1.2.0-fix_expire_field.patch
ViewVC logotype

Annotation of /rpms/smeserver-password/contribs9/smeserver-password-1.2.0-fix_expire_field.patch

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


Revision 1.1 - (hide annotations) (download)
Wed Feb 11 08:28:30 2015 UTC (9 years, 9 months ago) by stephdl
Branch: MAIN
CVS Tags: smeserver-password-1_2_0-8_el6_sme, smeserver-password-1_2_0-9_el6_sme, smeserver-password-1_2_0-10_el6_sme, smeserver-password-1_2_0-7_el6_sme, HEAD
* Tue Feb 10 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2.0-7
- Fix the expire field error [SME: 8823]
- code done by Stefano Zamboni <zamboni@mind-at-work.it>

1 stephdl 1.1 diff -Nur smeserver-password-1.2.0_old/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/passwordopt.pm smeserver-password-1.2.0_new/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/passwordopt.pm
2     --- smeserver-password-1.2.0_old/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/passwordopt.pm 2015-02-09 16:42:08.823218548 +0100
3     +++ smeserver-password-1.2.0_new/root/usr/share/perl5/vendor_perl/esmith/FormMagick/Panel/passwordopt.pm 2015-02-09 16:43:24.064154300 +0100
4     @@ -123,7 +123,7 @@
5     $star = $self->localise('ACCOUNT_LOCKED');
6     }
7     my $key = $user->key;
8     - my $cmd = "chage -l $key | grep -i 'password expires' | cut -d ':' -f 2";
9     + my $cmd = "chage -l $key | grep 'Password expires' | cut -d ':' -f 2";
10     my $expiration = `$cmd 2>/dev/null`;
11     $cmd = "chage -l $key | grep -i 'last' | cut -d ':' -f 2";
12     my $lastchange = `$cmd 2>/dev/null`;

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