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@lists.freeradius.org
Subject: How use tagged atrributes?
From: r.fila...@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
_________________________________________________________________
Chatea sin límites en Messenger con la tarifa plana de Orange
http://serviciosmoviles.es.msn.com/messenger/orange.aspx
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to