[squid-users] authentication

From: Victor Souza Menezes <victor@dont-contact.us>
Date: Wed, 17 Dec 2003 16:27:34 -0300

Hello everybody, I can't solve my problems with squid_ldap_auth. I followed
the manual instructions and putted the following line in squid.conf:

auth_param basic program /usr/lib/squid/squid_ldap_auth -p -R -b "dc=tre-pb,
dc=gov, dc=br" -D "cn=victor,cn=users,dc=tre-pb,dc=gov,dc=br" -w cl3500vsm -f
(&(userPrincipalName=%s)objectClass=Person)) -h ip_address

where victor and cl3500vsm is, respectively, a user DN and a password to
perform the searches.

the problem is that i can't authenticate at all. I've already tried everything
that is in the manual. I have no idea of what i'm doing wrong.I just have some
users in the domain tre-pb.gov.br in the win2K/ActiveDirectory server and i
want to authenticate their access to the internet through squid_ldap_auth.

the following error message appears in /var/log/squid/access.log:

2003/12/12 09:53:39| 0 Swapfile clashes avoided.
2003/12/12 09:53:39| Took 5.8 seconds ( 0.0 objects/sec).
2003/12/12 09:53:39| Beginning Validation Procedure
2003/12/12 09:53:39| Completed Validation Procedure
2003/12/12 09:53:39| Validated 0 Entries
2003/12/12 09:53:39| store_swap_size = 0k
2003/12/12 09:53:40| storeLateRelease: released 0 objects
squid_ldap_auth: WARNING, could not bind to binddn 'Invalid credentials'
squid_ldap_auth: WARNING, could not bind to binddn 'Invalid credentials'
squid_ldap_auth: WARNING, could not bind to binddn 'Invalid credentials'

please help me with this

I'me sure the credentials are correct

also i try to use ldapsearch and i get:

ldap_sasl_interactive_bind_s: Can't contact LDAP server

regards, Victor Souza Menezes
Received on Wed Dec 17 2003 - 12:25:47 MST

This archive was generated by hypermail pre-2.1.9 : Thu Jan 01 2004 - 12:00:16 MST