1 |
unnilennium |
1.1 |
diff -up smeserver-dansguardian-2.9/root/etc/e-smith/templates/etc/squid/squid.conf/15AuthProgramNCSA.lib64 smeserver-dansguardian-2.9/root/etc/e-smith/templates/etc/squid/squid.conf/15AuthProgramNCSA |
2 |
|
|
--- smeserver-dansguardian-2.9/root/etc/e-smith/templates/etc/squid/squid.conf/15AuthProgramNCSA.lib64 2005-11-05 19:54:27.000000000 -0500 |
3 |
|
|
+++ smeserver-dansguardian-2.9/root/etc/e-smith/templates/etc/squid/squid.conf/15AuthProgramNCSA 2013-11-01 13:13:51.000000000 -0400 |
4 |
|
|
@@ -1,10 +1,17 @@ |
5 |
|
|
{ |
6 |
|
|
return "" unless ( ($squid{RequireAuth} || "no") eq "ncsa"); |
7 |
|
|
|
8 |
|
|
+my $usrpath='/usr/lib'; |
9 |
|
|
+ |
10 |
|
|
+if ( -d "/usr/lib64/squid" ) |
11 |
|
|
+{ |
12 |
|
|
+ $usrpath='/usr/lib64'; |
13 |
|
|
+} |
14 |
|
|
+ |
15 |
|
|
$OUT .= " |
16 |
|
|
-auth_param basic program /usr/lib/squid/ncsa_auth /etc/proxyusers |
17 |
|
|
+auth_param basic program $usrpath/squid/ncsa_auth /etc/proxyusers |
18 |
|
|
auth_param basic children 5 |
19 |
|
|
auth_param basic realm squid proxy server |
20 |
|
|
auth_param basic credentialsttl 2 hours |
21 |
|
|
auth_param basic casesensitive off |
22 |
|
|
-";} |
23 |
|
|
\ Pas de fin de ligne à la fin du fichier. |
24 |
|
|
+";} |
25 |
|
|
diff -up smeserver-dansguardian-2.9/root/etc/e-smith/templates/etc/squid/squid.conf/15AuthProgramPamAuth.lib64 smeserver-dansguardian-2.9/root/etc/e-smith/templates/etc/squid/squid.conf/15AuthProgramPamAuth |
26 |
|
|
--- smeserver-dansguardian-2.9/root/etc/e-smith/templates/etc/squid/squid.conf/15AuthProgramPamAuth.lib64 2006-03-11 20:05:32.000000000 -0500 |
27 |
|
|
+++ smeserver-dansguardian-2.9/root/etc/e-smith/templates/etc/squid/squid.conf/15AuthProgramPamAuth 2013-11-01 13:13:45.000000000 -0400 |
28 |
|
|
@@ -1,10 +1,17 @@ |
29 |
|
|
{ |
30 |
|
|
return "" unless ( ($squid{RequireAuth} || "no") eq "pam"); |
31 |
|
|
|
32 |
|
|
+my $usrpath='/usr/lib'; |
33 |
|
|
+ |
34 |
|
|
+if ( -d "/usr/lib64/squid" ) |
35 |
|
|
+{ |
36 |
|
|
+ $usrpath='/usr/lib64'; |
37 |
|
|
+} |
38 |
|
|
+ |
39 |
|
|
$OUT .= " |
40 |
|
|
-auth_param basic program /usr/lib/squid/pam_auth |
41 |
|
|
+auth_param basic program $usrpath/squid/pam_auth |
42 |
|
|
auth_param basic children 5 |
43 |
|
|
-auth_param basic realm SME_Server_Proxy |
44 |
|
|
+auth_param basic realm SME_Server_Proxy |
45 |
|
|
auth_param basic credentialsttl 2 hours |
46 |
|
|
auth_param basic casesensitive off |
47 |
|
|
-";} |
48 |
|
|
\ Pas de fin de ligne à la fin du fichier. |
49 |
|
|
+";} |