RE: How use tagged atrributes?

2009-06-05 Thread Santiago Balaguer García

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

Ha: RE: How use tagged atrributes?

2009-06-05 Thread R . Filatov
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:167  integer 
has_tag # --- Added for test 

Work =) 




Best Regards 
Filatov Ruslan 

freeradius-users-bounces+r.filatov=ttk...@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@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
 Charlas más divertidas con el nuevo Windows Live Messenger-
 List info/subscribe/unsubscribe? See 
http://www.freeradius.org/list/users.html
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html