Sunil Kulkarni" <[EMAIL PROTECTED]> wrote:
> Please help me define the dictionary entry for a vendor
> specific attribute of following format:
> > [1 byte type] [1 byte total length] [4 bytes vendor Id] [N bytes vendor > string]
That's the format for attribute 26 which is defined in the RFC's.
> vendor string is some encoded octets.
> > I am able to define an entry only if the vendor string is structured as
> [1 byte type] [1 byte total vendor string length] [some value]
Yes. It's difficult to handle other formats.
> In my case vendor string is in some unknown format.
So find out what it is.
Unfortunately, this data comes out of a program that I do not know anything about. Given the well structured freeradius code, it was simpler for me to add a new type "raw" that just copies the given octets immediatly after the vendor-id in the RADIUS send packet. It solved my problem. Would this "raw" type be useful to anybody else ? If it is not a stupid idea, I could attempt writing a patch.
Thanks, Sunil
_________________________________________________________________
Help protect your PC. Get a FREE computer virus scan online from McAfee. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
