Squid mit ldap-Authentifizierung: Unterschied zwischen den Versionen

Aus xinux.net
Zur Navigation springen Zur Suche springen
Zeile 5: Zeile 5:
 
=squid.conf anpassen=
 
=squid.conf anpassen=
  
*ldap-authentifizierung konfiguerieren
+
*ldap-authentifizierung konfigurieren
  
 
<pre>
 
<pre>

Version vom 10. Mai 2016, 12:31 Uhr

Vorraussetzungen:

  • eingerichteter ldap-Server
  • squid 3

squid.conf anpassen

  • ldap-authentifizierung konfigurieren
auth_param basic program /usr/lib/squid3/basic_ldap_auth -b "dc=xinux,dc=de" -f "uid=%s" -h 192.168.240.69
auth_param basic children 50
auth_param basic realm Web-Proxy
auth_param basic credentialsttl 1 minute
auth_param basic casesensitive off
  • acl anlegen
####
acl ldap_users proxy_auth REQUIRED

acl SSL_ports port 443
  • acl anwenden
http_access allow ldap_users

http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports