LightSquid LDAP 인증 실패

LightSquid LDAP 인증 실패

인터넷 사용에 대한 보고서를 생성하는 Lightsquid 서버가 있습니다.

LDAP 서버와 통합되어 있습니다.

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]

웹 브라우저에 "오류 500" 페이지가 표시됩니다.

아파치 lightquid 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 192.168.0.0/255.255.255.0

</Location>

답변1

/etc/ldap/ldap.conf 파일에 다음 줄을 추가했습니다.

REFERRALS off

기본 SDK의 추천 추적 상태를 비활성화하면 이제 lightquid가 작동합니다!

관련 정보