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

This is a discussion on Re: [squid-users] squid_ldap_auth special character in password within the Squid Users forums, part of the Web Server and Related Forums category; On Fri, 12 Dec 2003, Frank Fegert wrote: > Though i'm not a C wizard, i had a look ...


Go Back   Usenet Forums > Web Server and Related Forums > Squid Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-12-2003
Henrik Nordstrom
 
Posts: n/a
Default Re: [squid-users] squid_ldap_auth special character in password

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

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:09 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0