Ha: RE: How use tagged atrributes?

R.Filatov at ttk.ru R.Filatov at ttk.ru
Fri Jun 5 10:08:35 CEST 2009


RTFS save me =) 

PE1950:~ # cat /usr/local/share/freeradius/dictionary.erx | grep 
ERX-Service-Volume
ATTRIBUTE       ERX-Service-Volume                      67      integer 
has_tag
ATTRIBUTE       ERX-Service-Volume:1                    67      integer 
has_tag # <--- Added for test 

Work =) 




Best Regards 
Filatov Ruslan 

freeradius-users-bounces+r.filatov=ttk.ru at lists.freeradius.org написано 
05.06.2009 11:49:49:

> 1) The name os the rewrite name is wrong: try with add_service_volume
> 2) Do you have in your dictionary the 'ERX-Service-Volume:1' 
> attribute. Unlass try only with 'ERX-Service-Volume'
> 
> To: freeradius-users at lists.freeradius.org
> Subject: How use tagged atrributes?
> From: R.Filatov at ttk.ru
> Date: Thu, 4 Jun 2009 15:39:12 +0400
> 
> 
> Hello! 
> 
> This construction don't work 
> 
> # radiusd -X 
> FreeRADIUS Version 2.1.6, for host x86_64-unknown-linux-gnu, built 
> on Jun  2 2009 at 23:23:03 
> Copyright (C) 1999-2009 The FreeRADIUS server project and contributors. 
> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A 
> PARTICULAR PURPOSE. 
> You may redistribute copies of FreeRADIUS under the terms of the 
> GNU General Public License v2. 
> Starting - reading configuration files ... 
> including configuration file /usr/local/etc/raddb/radiusd.conf 
> including configuration file /usr/local/etc/raddb/proxy.conf 
> including configuration file /usr/local/etc/raddb/clients.conf 
> 
> ..... 
> 
>  attr_rewrite add.service-volume { 
>         attribute = "ERX-Service-Volume:1" 
>         searchfor = "" 
>         searchin = "packet" 
>         replacewith = "1000" 
>         append = no 
>         ignore_case = yes 
>         new_attribute = no 
>         max_matches = 1 
>   } 
> rlm_attr_rewrite: No such attribute ERX-Service-Volume:1 
> /usr/local/etc/raddb/modules/attr_rewrite[48]: Instantiation failed 
> for module "add.service-volume" 
> /usr/local/etc/raddb/sites-enabled/default[482]: Failed to find 
> module "add.service-volume". 
> /usr/local/etc/raddb/sites-enabled/default[480]: Errors parsing pre-
> proxy section. 
> Errors initializing modules 
> 
> May be trouble in my /dev/hands? 
> 
> Best Regards 
> Filatov Ruslan
> Charlas más divertidas con el nuevo Windows Live Messenger-
> List info/subscribe/unsubscribe? See 
http://www.freeradius.org/list/users.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20090605/2651d885/attachment.html>


More information about the Freeradius-Users mailing list