<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
1) The name os the rewrite name is wrong: try with <FONT face=Arial>add_service_volume</FONT><BR>
<FONT face=Arial>2) Do you have in your dictionary the 'ERX-Service-Volume:1' attribute. Unlass try only with 'ERX-Service-Volume'</FONT><BR> <BR>
<HR id=stopSpelling>
To: freeradius-users@lists.freeradius.org<BR>Subject: How use tagged atrributes?<BR>From: R.Filatov@ttk.ru<BR>Date: Thu, 4 Jun 2009 15:39:12 +0400<BR><BR><BR><FONT face=sans-serif size=2>Hello! </FONT><BR><BR><FONT face=sans-serif size=2>This construction don't work </FONT><BR><BR><FONT face=sans-serif size=2># radiusd -X </FONT><BR><FONT face=sans-serif size=2>FreeRADIUS Version 2.1.6, for host x86_64-unknown-linux-gnu, built on Jun  2 2009 at 23:23:03</FONT> <BR><FONT face=sans-serif size=2>Copyright (C) 1999-2009 The FreeRADIUS server project and contributors.</FONT> <BR><FONT face=sans-serif size=2>There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A</FONT> <BR><FONT face=sans-serif size=2>PARTICULAR PURPOSE.</FONT> <BR><FONT face=sans-serif size=2>You may redistribute copies of FreeRADIUS under the terms of the</FONT> <BR><FONT face=sans-serif size=2>GNU General Public License v2.</FONT> <BR><FONT face=sans-serif size=2>Starting - reading configuration files ...</FONT> <BR><FONT face=sans-serif size=2>including configuration file /usr/local/etc/raddb/radiusd.conf</FONT> <BR><FONT face=sans-serif size=2>including configuration file /usr/local/etc/raddb/proxy.conf</FONT> <BR><FONT face=sans-serif size=2>including configuration file /usr/local/etc/raddb/clients.conf</FONT> <BR><BR><FONT face=sans-serif size=2>.....</FONT> <BR><BR><FONT face=sans-serif size=2> attr_rewrite add.service-volume {</FONT> <BR><FONT face=sans-serif size=2>        attribute = "ERX-Service-Volume:1"</FONT> <BR><FONT face=sans-serif size=2>        searchfor = ""</FONT> <BR><FONT face=sans-serif size=2>        searchin = "packet"</FONT> <BR><FONT face=sans-serif size=2>        replacewith = "1000"</FONT> <BR><FONT face=sans-serif size=2>        append = no</FONT> <BR><FONT face=sans-serif size=2>        ignore_case = yes</FONT> <BR><FONT face=sans-serif size=2>        new_attribute = no</FONT> <BR><FONT face=sans-serif size=2>        max_matches = 1</FONT> <BR><FONT face=sans-serif size=2>  }</FONT> <BR><FONT face=sans-serif size=2>rlm_attr_rewrite: No such attribute ERX-Service-Volume:1</FONT> <BR><FONT face=sans-serif size=2>/usr/local/etc/raddb/modules/attr_rewrite[48]: Instantiation failed for module "add.service-volume"</FONT> <BR><FONT face=sans-serif size=2>/usr/local/etc/raddb/sites-enabled/default[482]: Failed to find module "add.service-volume".</FONT> <BR><FONT face=sans-serif size=2>/usr/local/etc/raddb/sites-enabled/default[480]: Errors parsing pre-proxy section.</FONT> <BR><FONT face=sans-serif size=2>Errors initializing modules</FONT> <BR><BR><FONT face=sans-serif size=2>May be trouble in my /dev/hands? </FONT><BR><BR><FONT face=sans-serif size=2>Best Regards</FONT> <BR><FONT face=sans-serif size=2>Filatov Ruslan</FONT><br /><hr />Charlas más divertidas con el nuevo <a href='http://download.live.com' target='_new'>Windows Live Messenger</a></body>
</html>