/[smecontribs]/rpms/smeserver-BackupPC/contribs9/smeserver-BackupPC-0.2.bz10266.updatetktauth.patch
ViewVC logotype

Contents of /rpms/smeserver-BackupPC/contribs9/smeserver-BackupPC-0.2.bz10266.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:35:41 2017 UTC (7 years, 6 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-BackupPC-0_2-2_el6_sme, smeserver-BackupPC-0_2-3_el6_sme, HEAD
* Wed May 03 2017 Jean-Philipe Pialasse <tests@pialasse.com> 0.2-2.sme
- update TKT auth parameter for SME 9.2 update [SME: 10266]

1 diff -Nur smeserver-BackupPC-0.2.old/root/etc/e-smith/templates/etc/httpd/bkpc-conf/httpd.conf/19AuthTKT smeserver-BackupPC-0.2/root/etc/e-smith/templates/etc/httpd/bkpc-conf/httpd.conf/19AuthTKT
2 --- smeserver-BackupPC-0.2.old/root/etc/e-smith/templates/etc/httpd/bkpc-conf/httpd.conf/19AuthTKT 2008-08-15 12:12:15.000000000 -0400
3 +++ smeserver-BackupPC-0.2/root/etc/e-smith/templates/etc/httpd/bkpc-conf/httpd.conf/19AuthTKT 2017-05-03 15:19:57.369000000 -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-BackupPC-0.2.old/root/etc/e-smith/templates/etc/httpd/bkpc-conf/httpd.conf/90BackupPC smeserver-BackupPC-0.2/root/etc/e-smith/templates/etc/httpd/bkpc-conf/httpd.conf/90BackupPC
12 --- smeserver-BackupPC-0.2.old/root/etc/e-smith/templates/etc/httpd/bkpc-conf/httpd.conf/90BackupPC 2008-10-06 10:27:12.000000000 -0400
13 +++ smeserver-BackupPC-0.2/root/etc/e-smith/templates/etc/httpd/bkpc-conf/httpd.conf/90BackupPC 2017-05-03 15:28:46.500000000 -0400
14 @@ -19,8 +19,15 @@
15 AuthName "BackupPC"
16 AuthType Basic
17 TKTAuthLoginURL /server-common/cgi-bin/login
18 +{
19 + my $ManagerTimeout = ${'httpd-admin'}{ManagerTimeout} || "30m";
20 + $OUT = " TKTAuthTimeout $ManagerTimeout\n";
21 + my $Cookie = ${'httpd-admin'}{Cookie} || "disabled";
22 + $OUT .= " TKTAuthCookieExpires $ManagerTimeout\n" if "$Cookie" eq "enabled";
23 + my $ManagerTimeoutReset = ${'httpd-admin'}{ManagerTimeoutReset} || "0.66";
24 + $OUT .= " TKTAuthTimeoutRefresh $ManagerTimeoutReset\n";
25 +}
26 require valid-user
27 - SetEnv IMGHDR_SRC "/server-common/server-manager.jpg"
28 Satisfy all
29 </Directory>
30

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