/[smeserver]/rpms/e-smith-manager/sme10/e-smith-manager-2.8.0-newTKTsyntax.patch
ViewVC logotype

Annotation of /rpms/e-smith-manager/sme10/e-smith-manager-2.8.0-newTKTsyntax.patch

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


Revision 1.2 - (hide annotations) (download)
Mon Jun 13 15:13:37 2016 UTC (8 years, 4 months ago) by unnilennium
Branch: MAIN
CVS Tags: e-smith-manager-2_8_0-35_el7_sme, e-smith-manager-2_8_0-24_el7_sme, e-smith-manager-2_8_0-21_el7_sme, e-smith-manager-2_8_0-28_el7_sme, e-smith-manager-2_8_0-13_el7_sme, e-smith-manager-2_8_0-29_el7_sme, e-smith-manager-2_8_0-31_el7_sme, e-smith-manager-2_8_0-12_el7_sme, e-smith-manager-2_8_0-19_el7_sme, e-smith-manager-2_8_0-20_el7_sme, e-smith-manager-2_8_0-30_el7_sme, e-smith-manager-2_8_0-27_el7_sme, e-smith-manager-2_8_0-8_el7_sme, e-smith-manager-2_8_0-25_el7_sme, e-smith-manager-2_8_0-26_el7_sme, e-smith-manager-2_8_0-16_el7_sme, e-smith-manager-2_8_0-37_el7_sme, e-smith-manager-2_8_0-32_el7_sme, e-smith-manager-2_8_0-15_el7_sme, e-smith-manager-2_8_0-9_el7_sme, e-smith-manager-2_8_0-38_el7_sme, e-smith-manager-2_8_0-11_el7_sme, e-smith-manager-2_8_0-14_el7_sme, e-smith-manager-2_8_0-22_el7_sme, e-smith-manager-2_8_0-17_el7_sme, e-smith-manager-2_8_0-18_el7_sme, e-smith-manager-2_8_0-33_el7_sme, e-smith-manager-2_8_0-10_el7_sme, e-smith-manager-2_8_0-34_el7_sme, e-smith-manager-2_8_0-36_el7_sme, HEAD
Changes since 1.1: +1 -1 lines
* Mon Jun 13 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.8.0-8.sme
- fix 307 redirection to http when https is used [SME: 8825] [SME: 9583]
- update syntaxe for TKT Auth
- bump 8 for typo

1 unnilennium 1.1 diff -Nur e-smith-manager-2.6.0.old/root/etc/e-smith/templates/etc/e-smith/web/common/cgi-bin/AuthTKT.cfg/manager_access e-smith-manager-2.6.0/root/etc/e-smith/templates/etc/e-smith/web/common/cgi-bin/AuthTKT.cfg/manager_access
2     --- e-smith-manager-2.6.0.old/root/etc/e-smith/templates/etc/e-smith/web/common/cgi-bin/AuthTKT.cfg/manager_access 2007-01-26 20:51:30.000000000 -0500
3     +++ e-smith-manager-2.6.0/root/etc/e-smith/templates/etc/e-smith/web/common/cgi-bin/AuthTKT.cfg/manager_access 2016-06-13 03:22:49.254000000 -0400
4     @@ -1,5 +1,6 @@
5     {
6     my $secret = ${'httpd-admin'}{TKTAuthSecret} || "34322500-7330-4400-423A-3A00434F5245";
7     $OUT .= "TKTAuthSecret $secret\n";
8     - $OUT .= "TKTAuthTimeoutMin 5";
9     + $OUT .= "TKTAuthTimeout 5m\n";
10     + $OUT .= "TKTAuthCookieExpires 5m";
11     }
12     diff -Nur e-smith-manager-2.6.0.old/root/etc/e-smith/templates/etc/httpd/admin-conf/httpd.conf/90e-smithAccess15common e-smith-manager-2.6.0/root/etc/e-smith/templates/etc/httpd/admin-conf/httpd.conf/90e-smithAccess15common
13     --- e-smith-manager-2.6.0.old/root/etc/e-smith/templates/etc/httpd/admin-conf/httpd.conf/90e-smithAccess15common 2014-03-23 22:15:04.000000000 -0400
14     +++ e-smith-manager-2.6.0/root/etc/e-smith/templates/etc/httpd/admin-conf/httpd.conf/90e-smithAccess15common 2016-06-13 03:17:30.372000000 -0400
15     @@ -28,6 +28,8 @@
16     AuthType basic
17    
18     TKTAuthLoginURL /server-common/cgi-bin/login
19     + TKTAuthTimeout 5m
20     + TKTAuthCookieExpires 5m
21     require valid-user
22     Satisfy all
23     </Directory>
24     diff -Nur e-smith-manager-2.6.0.old/root/etc/e-smith/templates/etc/httpd/admin-conf/httpd.conf/90e-smithAccess20manager e-smith-manager-2.6.0/root/etc/e-smith/templates/etc/httpd/admin-conf/httpd.conf/90e-smithAccess20manager
25     --- e-smith-manager-2.6.0.old/root/etc/e-smith/templates/etc/httpd/admin-conf/httpd.conf/90e-smithAccess20manager 2014-03-23 22:15:04.000000000 -0400
26     +++ e-smith-manager-2.6.0/root/etc/e-smith/templates/etc/httpd/admin-conf/httpd.conf/90e-smithAccess20manager 2016-06-13 03:16:57.027000000 -0400
27     @@ -11,6 +11,8 @@
28     allow from { $localAccess }
29     AuthType Basic
30     TKTAuthLoginURL /server-common/cgi-bin/login
31     + TKTAuthTimeout 5m
32     + TKTAuthCookieExpires 5m
33    
34     require user admin
35     Satisfy all
36     @@ -24,6 +26,8 @@
37     allow from { $localAccess }
38     AuthType Basic
39     TKTAuthLoginURL /server-common/cgi-bin/login
40     + TKTAuthTimeout 5m
41     + TKTAuthCookieExpires 5m
42    
43     require user admin
44     Satisfy all
45     diff -Nur e-smith-manager-2.6.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/27ManagerProxyPass e-smith-manager-2.6.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/27ManagerProxyPass
46     --- e-smith-manager-2.6.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/27ManagerProxyPass 2016-06-13 04:18:01.130000000 -0400
47     +++ e-smith-manager-2.6.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/27ManagerProxyPass 2016-06-13 04:23:46.597000000 -0400
48     @@ -14,6 +14,11 @@
49     $OUT .= ' RewriteCond %{REMOTE_ADDR} !^127\.0\.0\.1$' . "\n";
50     $OUT .= " RewriteRule ^/$place(/.*|\$) https://%{HTTP_HOST}/$place\$1 [L,R]\n";
51     }
52     + if ($port eq $sslPort)
53     + {
54     + # mod_auth_tkt needs to know the protocol to write 307 redirection
55 unnilennium 1.2 + $OUT .= " RequestHeader set X-Forwarded-Proto \"https\"\n";
56 unnilennium 1.1 + }
57     $OUT .= " ProxyPass /$place http://127.0.0.1:${'httpd-admin'}{TCPPort}/$place\n";
58     $OUT .= " ProxyPassReverse /$place http://127.0.0.1:${'httpd-admin'}{TCPPort}/$place\n";
59    

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