1 |
brianr |
1.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 |
|
|
|