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

Contents of /rpms/smeserver-BackupPC/contribs10/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)
Mon Oct 26 14:35:59 2020 UTC (4 years, 1 month ago) by brianr
Branch: MAIN
CVS Tags: smeserver-BackupPC-0_2-8_el7_sme, smeserver-BackupPC-0_2-5_el7_sme, smeserver-BackupPC-0_2-9_el7_sme, smeserver-BackupPC-0_2-6_el7_sme, smeserver-BackupPC-0_2-4_el7_sme, smeserver-BackupPC-0_2-7_el7_sme, smeserver-BackupPC-0_2-10_el7_sme, smeserver-BackupPC-0_2-15_el7_sme, smeserver-BackupPC-0_2-13_el7_sme, smeserver-BackupPC-0_2-14_el7_sme, smeserver-BackupPC-0_2-11_el7_sme, smeserver-BackupPC-0_2-12_el7_sme, HEAD
Error occurred while calculating annotation data.
Initial import

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