At 10:18 AM 11/10/2001 -0500, you wrote:
>Nathan Miller <[EMAIL PROTECTED]> wrote:
> > Otherwise, I do believe it may still be a bug or the data is being mangled
> > when passing Chap-Password and Chap-Challenge to a script, somebody may
> > want to look into this.
>
>   The CHAP attributes have non-printable values escaped, when printed
>to a string.  i.e. hex 0x03 becomes "\003".  THis may be the source of
>the problem.
>
>   If you want the raw data to be passed in the environment variables,
>that won't work for binary attributes.  The embedded '\0' will cause
>problems.
>
>   Alan DeKok.


Alan,

In that case, does it mean the values are being passed in HEX and not 
Binary?  Looking at the data more closely, it does appear they are.  But if 
it's getting mangled because of the conversion pre-env then perhaps we can 
just pass them as binary and let perl do the binary -> hex conversion?


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to