> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of > Alan DeKok > Sent: Wednesday, July 16, 2003 7:31 AM > To: [EMAIL PROTECTED] > Subject: Re: Handling of the 'Class' attribute > > > "Alex Chen" <[EMAIL PROTECTED]> wrote: > > Because the client app. takes the output from 'radclient' directly, > > the 'Class' value always starts with '0x' prefix and following by > > the hex numbers representation of the octets. When it sends it back > > to the server, it is no the same raw data as the one stored in DB > > (in its binary form). > > Then the client APP is wrong. > > Is it a FreeRADIUS-based app? If so, then it should work, and you > need to say *exactly* how you're using the Class attribute, including > REAL examples. > > If it's not based on the FreeRADIUS code, then why are you > complaining to the FreeRADIUS list that your client app is broken? > There's nothing we can do to fix it. >
I am not asking for any fix in the radius server or client. I am just pointing out my observation and see what I can do to get the result I need. > Write a dumb "perl" script which converts the hex "0x41..." to a > string, and pass that string back to the broken client app. > That is what I want to hear. I indicated in my previous mail saying exactly that. I said 'something' has to do the conversion from this '0x41....' hex string spit out by 'radclient' back to the original octets so they can be send back to the server. Maybe I did not read it right, but the impression I got from the mail exchange was that I should not do anything at all and just pass the string printed out by 'radclient' right back to the server. > > The server works. The code is correct. It Does The Right Thing. > I do not dispute that at all. It is the interpretation of the output printed out by 'radclient' that caused my confusion. Anyway, I think we had enough discussion on this and should let it rest. Case closed. > Alan DeKok. > > - > List info/subscribe/unsubscribe? See > http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
