3 May
2010
3 May
'10
2:31 p.m.
Le lundi 03 mai 2010 à 18:29 +0100, Alexander Clouter a écrit :
Fred MAISON <fred.maison@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.