/[smecontribs]/rpms/smeserver-dansguardian-panel/contribs9/smeserver-dansguardian-panel-2.11-x64sup.patch
ViewVC logotype

Contents of /rpms/smeserver-dansguardian-panel/contribs9/smeserver-dansguardian-panel-2.11-x64sup.patch

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


Revision 1.1 - (show annotations) (download)
Tue May 17 15:01:45 2016 UTC (8 years, 5 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-dansguardian-panel-2_11-15, smeserver-dansguardian-panel-2_11-14, smeserver-dansguardian-panel-2_11-17, smeserver-dansguardian-panel-2_11-16, smeserver-dansguardian-panel-2_11-10, smeserver-dansguardian-panel-2_11-13, smeserver-dansguardian-panel-2_11-12, smeserver-dansguardian-panel-2_11-9, smeserver-dansguardian-panel-2_11-8, smeserver-dansguardian-panel--, smeserver-dansguardian-panel-2_11-7, smeserver-dansguardian-panel-2_11-6, HEAD
Initial import

1 diff -up smeserver-dansguardian-panel-2.11/root/etc/e-smith/templates/etc/squid/squid.conf/15AuthProgramLdap.x64sup smeserver-dansguardian-panel-2.11/root/etc/e-smith/templates/etc/squid/squid.conf/15AuthProgramLdap
2 --- smeserver-dansguardian-panel-2.11/root/etc/e-smith/templates/etc/squid/squid.conf/15AuthProgramLdap.x64sup 2008-10-24 07:49:48.000000000 -0400
3 +++ smeserver-dansguardian-panel-2.11/root/etc/e-smith/templates/etc/squid/squid.conf/15AuthProgramLdap 2013-09-25 12:01:49.000000000 -0400
4 @@ -3,11 +3,18 @@ return "" unless ( ($squid{RequireAuth}
5
6 my $dn = $squid{dn} || "dc=232,dc=net";
7 my $host = $squid{host} || "k8.232.net";
8 +my $usrpath='/usr/lib';
9 +
10 +if ( -d "/usr/lib64/squid" )
11 +{
12 + $usrpath='/usr/lib64';
13 +}
14 +
15
16 $OUT .= "
17 -auth_param basic program /usr/lib/squid/squid_ldap_auth -b $dn -f uid=%s -h $host
18 +auth_param basic program $usrpath/squid/squid_ldap_auth -b $dn -f uid=%s -h $host
19 auth_param basic children 5
20 auth_param basic realm squid proxy server
21 auth_param basic credentialsttl 2 hours
22 auth_param basic casesensitive off
23 -";}
24 \ Pas de fin de ligne à la fin du fichier.
25 +";}

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