\000 in "octets" attribute?

Erik Bolsø erik at linpro.no
Thu Jun 15 14:19:14 CEST 2006


On 2006-06-15 14:00, Bjørn Mork <bjorn at mork.no> wrote:
> Erik Bolsø <erik at linpro.no> writes:
> 
> > So I must do source-level hacks to be able to send a 1-octet \000
> > attribute, with current FreeRADIUS? Have I understood you correctly?
> 
> Seems to work here, as long as the attribute is of type "octets".
> Calling-Station-Id is a FreeRADIUS "string", not to be confused with
> a RFC2865 "string".  MS-CHAP-Challenge is a FreeRADIUS "octets" type.

Actually, it's the response from the server that needs to be single-byte
0x00 - if the ldap attribute in question is 0. Do tell if you find out
how :)

--
Erik Bolsø
Linpro AS







More information about the Freeradius-Users mailing list