/[smecontribs]/rpms/smeserver-phpki/contribs9/smeserver-phpki-0.2.bz10267.updatetktauth.patch
ViewVC logotype

Contents of /rpms/smeserver-phpki/contribs9/smeserver-phpki-0.2.bz10267.updatetktauth.patch

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


Revision 1.1 - (show annotations) (download)
Wed May 3 19:50:22 2017 UTC (7 years, 7 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-phpki-0_2-3_el6_sme, smeserver-phpki-0_2-2_el6_sme, HEAD
* Wed May 03 2017 Jean-Philipe Pialasse <tests@pialasse.com> -.sme
- update TKT auth parameter for SME 9.2 update [SME: 10267]

1 diff -Nur smeserver-phpki-0.2.old/root/etc/e-smith/templates/etc/httpd/pki-conf/httpd.conf/19AuthTKT smeserver-phpki-0.2/root/etc/e-smith/templates/etc/httpd/pki-conf/httpd.conf/19AuthTKT
2 --- smeserver-phpki-0.2.old/root/etc/e-smith/templates/etc/httpd/pki-conf/httpd.conf/19AuthTKT 2008-08-15 12:12:15.000000000 -0400
3 +++ smeserver-phpki-0.2/root/etc/e-smith/templates/etc/httpd/pki-conf/httpd.conf/19AuthTKT 2017-05-03 15:45:39.928000000 -0400
4 @@ -3,5 +3,6 @@
5
6 my $secret = ${'httpd-admin'}{TKTAuthSecret} || "34322500-7330-4400-423A-3A00434F5245";
7 $OUT .= "TKTAuthSecret \"$secret\"\n";
8 + $OUT .= "TKTAuthDigestType SHA256\n";
9 }
10
11 diff -Nur smeserver-phpki-0.2.old/root/etc/e-smith/templates/etc/httpd/pki-conf/httpd.conf/90phpki smeserver-phpki-0.2/root/etc/e-smith/templates/etc/httpd/pki-conf/httpd.conf/90phpki
12 --- smeserver-phpki-0.2.old/root/etc/e-smith/templates/etc/httpd/pki-conf/httpd.conf/90phpki 2013-11-11 12:05:11.000000000 -0500
13 +++ smeserver-phpki-0.2/root/etc/e-smith/templates/etc/httpd/pki-conf/httpd.conf/90phpki 2017-05-03 15:46:41.142000000 -0400
14 @@ -24,7 +24,14 @@
15 AuthType Basic
16 TKTAuthLoginURL /server-common/cgi-bin/login
17 require user admin {getUsersList("phpki");}
18 - SetEnv IMGHDR_SRC "/server-common/server-manager.jpg"
19 +{
20 + my $ManagerTimeout = ${'httpd-admin'}{ManagerTimeout} || "30m";
21 + $OUT = " TKTAuthTimeout $ManagerTimeout\n";
22 + my $Cookie = ${'httpd-admin'}{Cookie} || "disabled";
23 + $OUT .= " TKTAuthCookieExpires $ManagerTimeout\n" if "$Cookie" eq "enabled";
24 + my $ManagerTimeoutReset = ${'httpd-admin'}{ManagerTimeoutReset} || "0.66";
25 + $OUT .= " TKTAuthTimeoutRefresh $ManagerTimeoutReset\n";
26 +}
27 Satisfy all
28 </Location>
29

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