Private attribute assigned in clients.conf and checked in huntgroups ?
Fred MAISON
fred.maison at gmail.com
Mon May 3 20:31:30 CEST 2010
Le lundi 03 mai 2010 à 18:29 +0100, Alexander Clouter a écrit :
> 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
>
Great !
Thanks a lot for your suggestion, it fits very well to my needs.
More information about the Freeradius-Users
mailing list