Private attribute assigned in clients.conf and checked in huntgroups ?
Alexander Clouter
alex at digriz.org.uk
Mon May 3 19:29:30 CEST 2010
Fred MAISON <fred.maison at 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!
More information about the Freeradius-Users
mailing list