On Friday 04 July 2003 03.35, James Wang wrote: > Hi, > > Here is the config lines I add for ldap auth: > > auth_param basic program /usr/local/squid/libexec/squid_ldap_auth > -u cn -b cn=Users,dc=test,dc=com,dc=cn localhost
Looks fine, assuming you have a flat directory structure with all users below cn=Users,dc=test,dc=com,dc=cn, using cn in the DN of your users, and want to use the cn value as login name. cn=Some User,dc=cn=Users,dc=test,dc=com,dc=cn Login : Some User Password: ******* If any of the above conditions are false then you need to use a search filter to locate the user (-f argument to the helper). Regards Henrik -- Donations welcome if you consider my Free Squid support helpful. https://www.paypal.com/xclick/business=hno%40squid-cache.org If you need commercial Squid support or cost effective Squid or firewall appliances please refer to MARA Systems AB, Sweden http://www.marasystems.com/, [EMAIL PROTECTED]
