Re: [squid-users] LDAP AUTH

From: Squid Support (Henrik Nordstrom) <[email protected]>
Date: Tue, 16 Apr 2002 15:34:32 +0200

Can you give a example of what is returned by ldapsearch?

You can also try manually binding to the users DN by the -D and -w options to
ldapsearch.

Regards
Henrik

Garc�a Garc�a, Alberto wrote:
> Hi, finally the ldapsearch is sucesfull, but when i try with
> squid_ldap_auth the message is ERR.
>
> My command line:
>
> ldapsearch -x -b
> CN=ENDUSR-ESPMAD-GPOU-HTTP,OU=ESPMAD,OU=ENDUSR,DC=esp,DC=lab2000,DC=net -D
> CN=AdminUser,CN=Users,DC=esp,DC=lab2000,DC=ne
> t -w XXXX -h 172.22.1.6 (the result is OK, i can see the user list of the
> group)
>
> ./squid_ldap_auth -p -R -b CN=ENDUSR-ESPMAD-GPOU-HTTP,CN=U
> ser,OU=ESPMAD,OU=ENDUSR,DC=esp,DC=lab2000,DC=net -D
> CN=AdminUser,CN=Users,DC=es
> p,DC=lab2000,DC=net -w XXXX -u cn -f cn=%S 172.22.1.6
> User(listed in previous ldapsearch) Password
> (ERR)
>
>
> The LDAD is a WINDOWS 2000 Active Directory.
>
> Whats�s wrong? Thank�s.
>
> Este mensaje de correo electr�nico y sus documentos adjuntos est�n
> dirigidos EXCLUSIVAMENTE a los destinatarios especificados. La informaci�n
> contenida puede ser CONFIDENCIAL y/o estar LEGALMENTE PROTEGIDA y no
> necesariamente refleja la opini�n de ENDESA. Si usted recibe este mensaje
> por ERROR, por favor comun�queselo inmediatamente al remitente y ELIM�NELO
> ya que usted NO ESTA AUTORIZADO al uso, revelaci�n, distribuci�n, impresi�n
> o copia de toda o alguna parte de la informaci�n contenida. Gracias.
>
> This e-mail message and any attached files are intended SOLELY for the
> addressee/s identified herein. It may contain CONFIDENTIAL and/or LEGALLY
> PRIVILEGED information and may not necessarily represent the opinion of
> ENDESA. If you receive this message in ERROR, please immediately notify the
> sender and DELETE it since you ARE NOT AUTHORIZED to use, disclose,
> distribute, print or copy all or part of the contained information. Thank
> you.

-- 
Basic free Squid support provided thanks to MARA Systems AB
Your source of advanced reverse proxy solutions or customized
Squid solutions. http://www.marasystems.com/products/
Received on Tue Apr 16 2002 - 07:34:45 MDT

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