variable expansion of check item in users file

tnt at kalik.net tnt at kalik.net
Thu Nov 6 00:40:31 CET 2008


>I have several accounts stored in users files for which i have set set
>the Pool-Name controll attribute based on the Huntgoup-Name.
>So i tried something like this:
>
>account1   Cleartext-Password := "passwd1", Pool-Name :=
>"%{Huntgroup-Name}_suffix"
>
>Unfortunatly the expansion of the variable doesn't happen and all i get
>is '=25=7BHuntgroup-Name=7D_suffix'
>If i put exactly the same thing in the reply item expansion is done
>correctly...
>
>account1   Cleartext-Password := "passwd1"
>    IP-Address-Pool-Name := "%{Huntgroup-Name}_suffix"
>
>
>Is it a normal behaviour? How else can I achieve it (I would appreciate
>not to duplicate users entries for each of my huntgroup!)?
>-

Unlang:

update control {
     Pool-Name := whatever
}

Ivan Kalik
Kalik Informatika ISP




More information about the Freeradius-Users mailing list