Le lundi 03 mai 2010 à 18:29 +0100, Alexander Clouter a écrit : > 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 >
Great ! Thanks a lot for your suggestion, it fits very well to my needs. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html