|
Home > Archive > Squid > July 2004 > Squid 2.5 and LDAP Authentication
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Squid 2.5 and LDAP Authentication
|
|
| Nicolargo 2004-05-05, 1:38 pm |
| Hi all, i have a little problem with my LDAP authentication with this
new squid version (SQUID 2.5 STABLE 5 on FreeBSD 4.9 OS).
Here is my configuration:
....
auth_param basic program /usr/local/libexec/squid/squid_ldap_auth -b
"dc=foo,dc=com" -v 3 -f '(&(uid=%s)(objectClass=person))' ldap.foo.com
acl authusers proxy_auth REQUIRED
http_access allow authusers all
http_access deny all
....
The Squid process is running without error message, but no LDAP
requests are sent to my LDAP server...
The auth program work fine i run it from my cache server:
# /usr/local/libexec/squid/squid_ldap_auth -b "dc=foo,dc=com" -v 3 -f
'(&(uid=%s)(objectClass=person))' ldap.foo.com
usertest passtest
OK
Any idea ?
Thanks in advance
| |
|
| quote: Originally posted by Nicolargo
Hi all, i have a little problem with my LDAP authentication with this
new squid version (SQUID 2.5 STABLE 5 on FreeBSD 4.9 OS).
Here is my configuration:
.....
auth_param basic program /usr/local/libexec/squid/squid_ldap_auth -b
"dc=foo,dc=com" -v 3 -f '(&(uid=%s)(objectClass=person))' ldap.foo.com
acl authusers proxy_auth REQUIRED
http_access allow authusers all
http_access deny all
.....
The Squid process is running without error message, but no LDAP
requests are sent to my LDAP server...
The auth program work fine i run it from my cache server:
# /usr/local/libexec/squid/squid_ldap_auth -b "dc=foo,dc=com" -v 3 -f
'(&(uid=%s)(objectClass=person))' ldap.foo.com
usertest passtest
OK
Any idea ?
Thanks in advance
hi
you must write like this in your .conf:
auth_param basic program /usr/local/libexec/squid/squid_ldap_auth -b
"dc=foo,dc=com" -v 3 -f ''(&(uid=%s)(objectClass=person))'' ldap.foo.com | |
|
| quote: Originally posted by jtr
hi
you must write like this in your .conf:
auth_param basic program /usr/local/libexec/squid/squid_ldap_auth -b
"dc=foo,dc=com" -v 3 -f ''(&(uid=%s)(objectClass=person))'' ldap.foo.com
sorry
like this:
auth_param basic program /usr/local/libexec/squid/squid_ldap_auth -b
"dc=foo,dc=com" -v 3 -f "(&(uid=%s)(objectClass=person))" ldap.foo.com |
|
|
|
|