variable expansion of check item in users file

Alexandre Chapellon alexandre.chapellon at mana.pf
Wed Nov 5 22:51:32 CET 2008


Hello,

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!)?



More information about the Freeradius-Users mailing list