[squid-users] Re: Re: Character conversion between authentication and authorisation

From: Markus Moeller <huaraz_at_moeller.plus.com>
Date: Wed, 8 Aug 2012 11:26:30 +0100

Hi Amos,

   What is the rule for squid regarding rfc1738 escaping/unescaping ?
Should the auth helpers return a rfc1738_escaped username and expect the
same as input for the authorisation helper ? I don't do that at the moment
in squid_kerb_auth nor in squid_kerb_ldap .

Markus

"Amos Jeffries" <squid3_at_treenet.co.nz> wrote in message
news:61820e9d911d198441ff3778b6f10111_at_treenet.co.nz...
> On 01.08.2012 06:37, Markus Moeller wrote:
>> Hi Amos,
>>
>> Does squid have an inverse function ? I need UTF-8 encoded strings
>> for ldap matches and squid_kerb_auth gives me that (as far as I
>> recall) . Would the ldap_group external helper deal with this case ?
>>
>
> The version built with Squid has access to
> $(top_builddir)/lib/libmiscencoding.la where rfc1738_unescape(char*) is
> available (might need libmiscutil.la from the same location).
>
> For versions built outside Squid or without decoding the external_acl_type
> option "protocol=2.5" would probably get them going.
>
> Amos
>
Received on Wed Aug 08 2012 - 10:51:23 MDT

This archive was generated by hypermail 2.2.0 : Wed Aug 08 2012 - 12:00:03 MDT