Fred MAISON <fred.mai...@gmail.com> wrote: > > [snipped[ > > For example : > dictionnary : > ATTRIBUTE My-Nas-Type 3000 string > > clients.conf : > > client c1 { > ipaddress = 10.1.1.1 > My-Nas-Type = cisco > nastype = cisco > } > It is only available from unlang, however what you want is: ---- authorized { ...
update request { #NAS-Identifier := "%{client:shortname}" #NAS-Vendor := "%{client:vendor}" My-Nas-Type := "%{client:My-Nas-Type}" } ... files ... } ---- I personally recommend you give it a nicer name, I use 'vendor' as you can see in the commented out section above :) Cheers -- Alexander Clouter .sigmonster says: You may get an opportunity for advancement today. Watch it! - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html