diff options
Diffstat (limited to 'docs/services')
-rw-r--r-- | docs/services/webproxy.rst | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/docs/services/webproxy.rst b/docs/services/webproxy.rst index 096a80cd..75f9993a 100644 --- a/docs/services/webproxy.rst +++ b/docs/services/webproxy.rst @@ -90,11 +90,11 @@ Directory as authentication backend. Queries are done via LDAP. children 5 credentials-ttl 60 ldap { - base-dn DC=rgtest,DC=local - bind-dn CN=proxyuser,CN=Users,DC=rgtest,DC=local + base-dn DC=example,DC=local + bind-dn CN=proxyuser,CN=Users,DC=example,DC=local filter-expression (cn=%s) password Qwert1234 - server 192.168.188.201 + server ldap.example.local username-attribute cn } method ldap @@ -105,6 +105,12 @@ Directory as authentication backend. Queries are done via LDAP. listen-address 192.168.188.103 { disable-transparent } + +* ``base-dn`` set the base directory for the search +* ``bind-dn`` and ``password``: set the user, which is used for the ldap search +* ``filter-expression``: set the exact filter which a authorized user match in a ldap-search. In this example every User is able to authorized. + +You can find more about the ldap authentication `here <http://www.squid-cache.org/Versions/v3/3.2/manuals/basic_ldap_auth.html>`_ Adjusting cache size ^^^^^^^^^^^^^^^^^^^^ |