On Tue, 7 Sep 2004, Pierluigi Frullani wrote: > Hi all, > for a custom application I need to add some personal attribute in the > reply I get from radius server, but can't find anywhere info on how to do > that. > > I've then create an attribute in dictionary, using an identifier marked as > free ( # Range: 1800-2999 Free ) in this way: > > ATTRIBUTE MyOwnAttribute 1900 string
Valid attributes have an id up to 255. The rest are just attributes used by the radius server internally. > > and in users file I've defined an entry like that: > steve Auth-Type := Local, User-Password == "testing" > Framed-IP-Address = 172.16.3.33, > Framed-IP-Netmask = 255.255.255.0, > MS-Primary-DNS-Server = 130.0.2.12 , > MyOwnAttribute = "this", > Framed-Compression = Van-Jacobsen-TCP-IP > > Then when using the radtest to check for work my attribute does not appear > in reply. > > Is it possible to achieve what I'm asking or the code need to be modified ? Create a vendor specific attribute. The easiest way is to add another attribute in the dictionary.freeradius. > > Pigi > > - > List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html > -- Kostas Kalevras Network Operations Center [EMAIL PROTECTED] National Technical University of Athens, Greece Work Phone: +30 210 7721861 'Go back to the shadow' Gandalf - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

