/[smeserver]/rpms/e-smith-manager/sme9/e-smith-manager-2.4.0-pwauth.patch
ViewVC logotype

Annotation of /rpms/e-smith-manager/sme9/e-smith-manager-2.4.0-pwauth.patch

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


Revision 1.1 - (hide annotations) (download)
Wed Mar 6 20:20:26 2013 UTC (11 years, 8 months ago) by slords
Branch: MAIN
CVS Tags: e-smith-manager-2_4_0-7_el6_sme, e-smith-manager-2_4_0-9_el6_sme, e-smith-manager-2_4_0-6_el6_sme, e-smith-manager-2_4_0-8_el6_sme
* Wed Mar 6 2013 Shad L. Lords <slords@mail.com> 2.4.0-6.sme
- Correct path to pwauth [SME: 7319]

1 slords 1.1 diff -up e-smith-manager-2.4.0/root/etc/e-smith/web/common/cgi-bin/login.pwauth e-smith-manager-2.4.0/root/etc/e-smith/web/common/cgi-bin/login
2     --- e-smith-manager-2.4.0/root/etc/e-smith/web/common/cgi-bin/login.pwauth 2013-03-06 12:51:07.465028386 -0700
3     +++ e-smith-manager-2.4.0/root/etc/e-smith/web/common/cgi-bin/login 2013-03-06 12:53:07.291390174 -0700
4     @@ -53,8 +53,7 @@ my $BACK_REFERER = 0;
5     sub validate
6     {
7     my ($username, $password) = @_;
8     - my $pwauth = -f "/usr/lib64/httpd/modules/pwauth" ? "/usr/lib64/httpd/modules/pwauth" : "/usr/lib/httpd/modules/pwauth";
9     - unless (open(PWAUTH, "|$pwauth"))
10     + unless (open(PWAUTH, "|/usr/bin/pwauth"))
11     {
12     warn "Could not open pipe to pwauth: $!";
13     return 0;

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