/[smecontribs]/rpms/smeserver-isoqlog/contribs9/smeserver-isoqlog-2.2.1.bz10509.updatetktauth.patch
ViewVC logotype

Annotation of /rpms/smeserver-isoqlog/contribs9/smeserver-isoqlog-2.2.1.bz10509.updatetktauth.patch

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


Revision 1.1 - (hide annotations) (download)
Wed Feb 7 16:15:55 2018 UTC (6 years, 9 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-isoqlog-2_2_1-4_el6_sme, HEAD
* Wed Feb 07 2018 Jean-Philipe Pialasse <tests@pialasse.com> 2.2.1-4.sme
- new tkt options [SME: 1509]

1 jpp 1.1 diff -Nur smeserver-isoqlog-2.2.1.old/root/etc/e-smith/templates/etc/httpd/isoqlog-conf/httpd.conf/19AuthTKT smeserver-isoqlog-2.2.1/root/etc/e-smith/templates/etc/httpd/isoqlog-conf/httpd.conf/19AuthTKT
2     --- smeserver-isoqlog-2.2.1.old/root/etc/e-smith/templates/etc/httpd/isoqlog-conf/httpd.conf/19AuthTKT 2012-08-21 00:32:34.000000000 -0400
3     +++ smeserver-isoqlog-2.2.1/root/etc/e-smith/templates/etc/httpd/isoqlog-conf/httpd.conf/19AuthTKT 2018-02-07 11:11:19.351000000 -0500
4     @@ -3,6 +3,7 @@
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    
12     diff -Nur smeserver-isoqlog-2.2.1.old/root/etc/e-smith/templates/etc/httpd/isoqlog-conf/httpd.conf/90isoqlog smeserver-isoqlog-2.2.1/root/etc/e-smith/templates/etc/httpd/isoqlog-conf/httpd.conf/90isoqlog
13     --- smeserver-isoqlog-2.2.1.old/root/etc/e-smith/templates/etc/httpd/isoqlog-conf/httpd.conf/90isoqlog 2012-08-21 03:29:39.000000000 -0400
14     +++ smeserver-isoqlog-2.2.1/root/etc/e-smith/templates/etc/httpd/isoqlog-conf/httpd.conf/90isoqlog 2018-02-07 11:13:02.360000000 -0500
15     @@ -21,7 +21,14 @@
16     AuthType Basic
17     TKTAuthLoginURL /server-common/cgi-bin/login
18     require user admin {getUsersList("isoqlog");}
19     - SetEnv IMGHDR_SRC "/server-common/server-manager.jpg"
20     +{
21     + my $ManagerTimeout = ${'httpd-admin'}{ManagerTimeout} || "30m";
22     + $OUT = " TKTAuthTimeout $ManagerTimeout\n";
23     + my $Cookie = ${'httpd-admin'}{Cookie} || "disabled";
24     + $OUT .= " TKTAuthCookieExpires $ManagerTimeout\n" if "$Cookie" eq "enabled";
25     + my $ManagerTimeoutReset = ${'httpd-admin'}{ManagerTimeoutReset} || "0.66";
26     + $OUT .= " TKTAuthTimeoutRefresh $ManagerTimeoutReset\n";
27     +}
28     Satisfy all
29     </Location>
30    

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