Re: [squid-users] squid_ldap_auth special character in password

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 12 Dec 2003 19:29:31 +0100 (CET)

On Fri, 12 Dec 2003, Frank Fegert wrote:

> Though i'm not a C wizard, i had a look at squid_ldap_auth.c,
> but couldn't find any character escaping and/or UTF8 conversion.
> Hence the question, is the character escaping and/or UTF8
> conversion done in the OpenLDAP functions/libraries, or has
> this to be provided by the squid_ldap_auth helper?

It is the responsibility of the helper to translate whatever format was
sent by the browser to whatever format is expected by the backend used by
the helper.

Unfortunately the specifications on all parts are very vague on what
happens on non-ascii characters so it is a bit of a mess currently. For
example some browsers send you the data encoded in their local code page,
some send it in UTF8.

If you find a reasonable way to deal with this then I would be very glad
to know. Even better if you patch up squid_ldap_auth to do it "correcly".

Regards
Henrik
Received on Fri Dec 12 2003 - 11:29:33 MST

This archive was generated by hypermail pre-2.1.9 : Thu Jan 01 2004 - 12:00:11 MST