La autenticación ldap de LightSquid falla

La autenticación ldap de LightSquid falla

Tengo un servidor Lightsquid para generar informes sobre el uso de Internet.

Está integrado con el servidor LDAP.

No puedo iniciar sesión en la página web de Lightsquid.

cat /var/log/apache2/error.log

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

El navegador web muestra la página "Error 500".

Configuración de calamar ligero de Apache:

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 192.168.0.0/255.255.255.0

</Location>

Respuesta1

Agregué esta línea en el archivo /etc/ldap/ldap.conf:

REFERRALS off

para deshabilitar el estado de búsqueda de referencias del SDK subyacente y ahora ¡Lightsquid funciona!

información relacionada