The script its a loop, it never finish ... it send an ERR or OK mess and
wait for another answer ...
It waits for: username pass (user pass) like the squid_auth_ldap ... mmm yes
it can auth one at time ...
I'm write my own script because I'have some problems with the built-in
helper ...
(The script sends ERR\n or OK\n, its ok?)
Regards,
_________________________________________
Sebasti�n Arias
Infraestructure & Technologies
AT&T Lat�n Am�rica, Argentina
Phone: [5411]5288-0524 - Fax: [5411]5288-0408
-----Mensaje original-----
De: Adam Aube [mailto:aaube@firstindependent.net]
Enviado el: Martes, 26 de Agosto de 2003 12:32 p.m.
Para: squid-users@squid-cache.org
Asunto: RE: [squid-users] MY own squid auth ldap under perl
> I writed my own ldap auth script under perl, my script gives ERR or
>OK after the authentication proccess was finished ...
> When I run the squid under a bash shell it works fine, but if I try
>to use the same script under squid (at the auth_param)
> I received every time a denied access ... and the following message:
>WARNING: basicauthenticator #1 (FD 7) exited
When you tested from the bash shell, did the script exit after
printing OK
or ERR, or did it wait for more input? The authenticator needs to loop
so
that it can accept any number of username/password pairs, one at a
time.
Also, why did you write your own? Why not use the built-in helper?
Adam
Este mensaje es confidencial. El mismo contiene informaci�n reservada
y que no puede ser difundida. Si usted ha recibido este e-mail
por error, por favor av�senos inmediatamente v�a e-mail y tenga la
amabilidad de eliminarlo de su sistema; no deber� copiar el mensaje
ni divulgar su contenido a ninguna persona. Muchas gracias.
This message is confidential. It contains information that is privileged and
legally exempt from disclosure. If you have received this e-mail by mistake,
please let us know immediately by e-mail and delete it from your system;
you should also not copy the message nor disclose its contents to anyone.
Thank You.
Received on Tue Aug 26 2003 - 09:48:01 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:19:07 MST