"bharani" <[EMAIL PROTECTED]> wrote: > With the request packet i want to add some user defined attributes also > and sent the packet...how it should be done? Do i need to create a > seperate dictionary file for that?
Yes, and yes. The safest thing to do is to create another vendor-specific dictionary. If your company doesn't have a private enterprise code, you can get one from www.iana.org. If your dictionary is local to your site, you probably don't need a private enterprise code, as you can just pick a large number (say 50000), and use that. > What i have done is > 1. i have created the attributes and added to radius.h. You don't need to do this. The server will send/receive any attributes defined in the dictionary. > 2. I am sending the attributes by reading from file where radclient will > read user-name and password. That will work. > 3.I tried to retieve value-pair on the server side but i could'nt get > the value-pairs? I have no idea what you mean by that. The 'users' file on the server uses EXACTLY the same code as used by radclient to read attributes from a file. So if radclient can read the attributes, you can put them in the 'users' file. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
