Creating templates for users

2011-10-20 Thread Krzysztof Grobelak
Hello, I am having some troubles creating templates with wimax attributes for users. I created files with atributes in them in the form: Alvarion-R3-IF-Name += CPEL3Mgmt, Alvarion-PDFID += 1,

Re: Creating templates for users

2011-10-20 Thread Fred
extracted from templates.conf : # For now, you can use templates only for sections in # radiusd.conf, not sub-sections. So you still have to use # the $INCLUDE file.. method for things like defining # multiple sql modules, each with similar

Re: Creating templates for users

2011-10-20 Thread Krzysztof Grobelak
Thank you for the reply. I understand why $template didn't work but I am not sure why the $INCLUDE file is not working or is its usage also limited to radiusd.conf Kind regards, Krzysztof On 20/10/11 17:20, Fred wrote: extracted from templates.conf : # For now, you can use

Re: Creating templates for users

2011-10-20 Thread Fred
Hello, You are trying to update reply in user.conf ; this is ok for static. If you want to go further, may be you could do the same using unlang (see man unlang) you could create a template doing the right update reply ... for example in template.conf : updateWimax1 { update reply {

Re: Creating templates for users

2011-10-20 Thread Phil Mayers
On 10/20/2011 05:05 PM, Krzysztof Grobelak wrote: Hello, I am having some troubles creating templates with wimax attributes for users. I created files with atributes in them in the form: Alvarion-R3-IF-Name += CPEL3Mgmt, Alvarion-PDFID += 1, WiMAX-Packet-Data-Flow-Id += 1,

Re: Creating templates for users

2011-10-20 Thread Alan DeKok
Krzysztof Grobelak wrote: and then in the users file I use: 30001020 Cleartext-Password := 30001020 $INCLUDEcpe_mgmt, $INCLUDEethcs_1_vlan_sf, That's wrong. You can use $INCLUDE. It MUST be