/[smecontribs]/rpms/smeserver-freepbx/contribs9/smeserver-freepbx-13.bz10268.updatetktauth.patch
ViewVC logotype

Annotation of /rpms/smeserver-freepbx/contribs9/smeserver-freepbx-13.bz10268.updatetktauth.patch

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


Revision 1.1 - (hide annotations) (download)
Wed May 3 20:03:42 2017 UTC (7 years ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-freepbx-13-15_el6_sme, smeserver-freepbx-13-14_el6_sme, HEAD
* Wed May 03 2017 Jean-Philipe Pialasse <tests@pialasse.com> -14.sme
- update TKT auth parameter for SME 9.2 [SME: 10268]

1 unnilennium 1.1 diff -Nur smeserver-freepbx-13.old/root/etc/e-smith/templates/etc/httpd/fpbx-conf/httpd.conf/19AuthTKT smeserver-freepbx-13/root/etc/e-smith/templates/etc/httpd/fpbx-conf/httpd.conf/19AuthTKT
2     --- smeserver-freepbx-13.old/root/etc/e-smith/templates/etc/httpd/fpbx-conf/httpd.conf/19AuthTKT 2008-08-04 09:17:11.000000000 -0400
3     +++ smeserver-freepbx-13/root/etc/e-smith/templates/etc/httpd/fpbx-conf/httpd.conf/19AuthTKT 2017-05-03 15:56:50.158000000 -0400
4     @@ -3,4 +3,5 @@
5    
6     my $secret = ${'httpd-admin'}{TKTAuthSecret} || "34322500-7330-4400-423A-3A00434F5245";
7     $OUT .= "TKTAuthSecret \"$secret\"\n";
8     + $OUT .= "TKTAuthDigestType SHA256\n";
9     }
10     diff -Nur smeserver-freepbx-13.old/root/etc/e-smith/templates/etc/httpd/fpbx-conf/httpd.conf/90FreePBX30Admin smeserver-freepbx-13/root/etc/e-smith/templates/etc/httpd/fpbx-conf/httpd.conf/90FreePBX30Admin
11     --- smeserver-freepbx-13.old/root/etc/e-smith/templates/etc/httpd/fpbx-conf/httpd.conf/90FreePBX30Admin 2016-06-13 08:03:08.000000000 -0400
12     +++ smeserver-freepbx-13/root/etc/e-smith/templates/etc/httpd/fpbx-conf/httpd.conf/90FreePBX30Admin 2017-05-03 15:57:52.432000000 -0400
13     @@ -18,7 +18,14 @@
14     AuthType Basic
15     TKTAuthLoginURL /server-common/cgi-bin/login
16     require user admin {getUsersList('freepbx');}
17     - SetEnv IMGHDR_SRC "/server-common/server-manager.jpg"
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     Satisfy all
27     </Location>
28    

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