[squid-users] Squid Authentication + ldap/samba

From: Duarte Lázaro <duarte.lazaro@dont-contact.us>
Date: Thu, 10 May 2007 11:17:34 +0100

Hi there

I´m trying to set up squid whit authentication, but i would need it
asking the user the credencials.

Allrdy set up an "squid_ldap_auth" but a login prompt comes, every time.

trying now with "squid_ldap_group", but still nothing, from the Unix
prompt i can authenticate a user whit some filter. where some info :

Squid.conf
-------
*external_acl_type InetGroup %LOGIN
/usr/local/libexec/squid/squid_ldap_group -R -b "dc=pnp,dc=com" -f
"(&(uid=%u)(gidNumber=%g)(homePhone=1))" -v 3

acl InetAccess external InetGroup 513
http_access allow InetAccess
-------
*Ldap info
-----
ldapsearch -vLx -b "dc=pnp,dc=com" "(uid=duarte)"

result :
# duarte, Users, pnp.com
dn: uid=duarte,ou=Users,dc=pnp,dc=com
objectClass: top
objectClass: person
...

sn: duarte
givenName: duarte
uid: duarte
uidNumber: 1002
gidNumber: 513
...

# numResponses: 2
# numEntries: 1
------
 From the prompt on Unix :
/usr/local/libexec/squid/squid_ldap_group -R -b "dc=pnp,dc=com" -f
"(&(uid=%u)(gidNumber=%g))" -v 3
duarte 513
OK

so my question is.. whit the browser not authenticating whit squid ?

Thanks in advance.
Received on Thu May 10 2007 - 04:19:14 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Jun 01 2007 - 12:00:04 MDT