how to save binary values in MySQL radreply table

2004-06-25 Thread Dave Mason
Hi, My apologies if this has been answered before but I didn't see anything. This is basically a MySQL question. I need to save MS-MPPE attributes in the radreply table. Those have a binary value. According to the schema, Value is a varchar(253). Can I just copy the binary value to a

Re: how to save binary values in MySQL radreply table

2004-06-25 Thread Alan DeKok
Dave Mason [EMAIL PROTECTED] wrote: My apologies if this has been answered before but I didn't see anything. This is basically a MySQL question. I need to save MS-MPPE attributes in the radreply table. Those have a binary value. Which is why they're of type octets in the dictionary.

Re: how to save binary values in MySQL radreply table

2004-06-25 Thread Dave Mason
True - I need to figure out how to reverse the process. That is, I need to send something like 0xed5e as my attribute value. For now I'll just use VSA as the attribute because it's not encrypted. If I set the value in radreply to ed5e, the server returns 65643565 to the client, as you would

Re: how to save binary values in MySQL radreply table

2004-06-25 Thread Gary McKinney
values in MySQL radreply table True - I need to figure out how to reverse the process. That is, I need to send something like 0xed5e as my attribute value. For now I'll just use VSA as the attribute because it's not encrypted. If I set the value in radreply to ed5e, the server returns