Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a lightsquid server to generate reports about Internet use.

It is integrated with LDAP server.

I cant login in lightsquid web page.

cat /var/log/apache2/error.log

Thu Dec 26 13:54:04 2013] [info] [client] [29087] auth_ldap authenticate: user john.doe authentication failed; URI /lightsquid/ [ldap_search_ext_s() for user failed][Operations error]

The web browser shows the "Error 500" page.

Apache lightsquid conf:

Alias /lightsquid /usr/lib/cgi-bin/lightsquid/
<Location "/lightsquid/">
 AddHandler cgi-script .cgi

 AuthType Basic
 AuthName "Dominio ACME"
 AuthzLDAPAuthoritative on
 AuthBasicProvider ldap
 AuthUserFile /dev/null
 require ldap-user john.doe jane.doe

 AuthLDAPBindDN "CN=SquidUser,OU=IT,OU=ACME,DC=acme,DC=local"
 AuthLDAPBindPassword "squiduserp@$$"
 AuthLDAPURL "ldap://domcontro1.acme.local/DC=acme,DC=local?sAMAccountName?sub?(objectClass=*)"

 Order deny,allow
 Deny from all
 Allow from

share|improve this question
up vote 0 down vote accepted

I added this line on /etc/ldap/ldap.conf file:


to disable the underlying SDK's referral chasing state and now lightsquid works!

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.