[squid-users] ldap_auth works from command line, not when in squid.conf

From: <Theresa.hilding@dont-contact.us>
Date: Wed, 16 Jul 2003 14:35:44 -0700

I have a new squid-2.4.STABLE6-6.7.3 installation. I would like for my users
to authenticate against NDS using LDAP. The squid_ldap_auth program works
correctly from the command line:

/usr/lib/squid/squid_ldap_auth -b "ou=blah,ou=blah,o=blah" -u cn xx.xx.xx.xx
username password
OK

I added the following lines to squid.conf in the appropriate places and
although I am prompted to enter a username/password, authentication fails
every time with an ERR_CACHE_ACCESS_DENIED error.

acl AuthorizedUsers proxy_auth REQUIRED

http_access allow AuthorizedUsers

authenticate_program /usr/lib/squid/squid_ldap_auth -b
"ou=blah,ou=blah,o=blah" -u cn xx.xx.xx.xx

I enabled log_mime_hdrs in squid.conf and verified that the username and
password entered were correctly received by squid. Am I missing something
obvious here? This is my first attempt to muck with squid and I am afraid I
have overlooked a configuration parameter.

Thanks,

Theresa
Received on Wed Jul 16 2003 - 15:34:56 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:18:01 MST