/[smecontribs]/rpms/smeserver-ajaxterm/contribs9/smeserver-ajaxterm-1.0.5-auth.patch
ViewVC logotype

Contents of /rpms/smeserver-ajaxterm/contribs9/smeserver-ajaxterm-1.0.5-auth.patch

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


Revision 1.1 - (show annotations) (download)
Mon Jun 13 15:43:46 2016 UTC (7 years, 11 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-ajaxterm-1_0_5-7_el6_sme, HEAD
* Mon Jun 13 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.5-7.sme
- fix [SME: 8899]
-  smeserver-ajaxterm-1.0.5-auth.patch

1 diff -Nur smeserver-ajaxterm-1.0.5.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/26ajaxterm smeserver-ajaxterm-1.0.5/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/26ajaxterm
2 --- smeserver-ajaxterm-1.0.5.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/26ajaxterm 2016-06-13 11:33:19.015000000 -0400
3 +++ smeserver-ajaxterm-1.0.5/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/26ajaxterm 2016-06-13 11:41:44.364000000 -0400
4 @@ -10,14 +10,14 @@
5 $OUT .= " # Ajaxterm\n";
6 $OUT .= " ProxyPass /$webalias/ http://127.0.0.1:$port/\n";
7 $OUT .= " ProxyPassReverse /$webalias/ http://127.0.0.1:$port/\n";
8 - $OUT .= " AddExternalAuth pwauth $fileauth\n";
9 - $OUT .= " SetExternalAuthMethod pwauth pipe\n";
10 + $OUT .= " DefineExternalAuth pwauth pipe /usr/bin/pwauth\n";
11 $OUT .= " <Location /$webalias>\n";
12 $OUT .= " order deny,allow\n";
13 $OUT .= " deny from all\n";
14 $OUT .= " allow from all\n";
15 $OUT .= " AuthName \"$webalias\"\n";
16 $OUT .= " AuthType Basic\n";
17 + $OUT .= " AuthBasicProvider external\n";
18 $OUT .= " AuthExternal pwauth\n";
19 $OUT .= " require user $users\n";
20 $OUT .= " Satisfy all\n";

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