Re: \000 in "octets" attribute?

2006-06-15 Thread Erik Bolsø
On 2006-06-15 14:00, Bjørn Mork <[EMAIL PROTECTED]> wrote: > Erik Bolsø <[EMAIL PROTECTED]> 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 wo

Re: \000 in "octets" attribute?

2006-06-15 Thread Erik Bolsø
o send a 1-octet \000 attribute, with current FreeRADIUS? Have I understood you correctly? No criticism implied, of course. Thanks for the help so far. -- Erik Bolsø Linpro AS - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: \000 in "octets" attribute?

2006-06-15 Thread Erik Bolsø
On 2006-06-15 11:09, Stefan Winter <[EMAIL PROTECTED]> wrote: > > Essentially, the vendor-specific attribute value is a 1-byte > > unsigned > > integer, not a string. Haven't done a live test yet, so I do not > > know > > how it handles the empty value. Perhaps all goes well. I'll let you > > know.

Re: \000 in "octets" attribute?

2006-06-15 Thread Erik Bolsø
oded 10646 [8] characters and String contains 8-bit binary data. Servers and servers and clients MUST be able to deal with embedded nulls. RADIUS implementers using C are cautioned not to use strcpy() when handling strings. -- Erik Bolsø Linpro AS - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html