Problem with regular expression in huntgroups
Angel L. Mateo
amateo at um.es
Tue Apr 21 11:05:14 CEST 2015
Hello,
I'm migrating my current freeradius2 configuration to freeradius3. In
my current FR2 configuration I have rules to check for huntgroups like:
test_huntgroup NAS-IP-Address =~ ^10\.57\.1\.[0-9]+$
This same rule is not working in my FR3 configuration. Running FR in
debug mode shows:
....
(0) NAS-IP-Address = 10.57.1.50
(0) NAS-Identifier = 'RADIUS-PRUEBAS'
(0) # Executing section authorize from file
/etc/freeradius/sites-enabled/eduroam
(0) authorize {
(0) preprocess: EXPAND /10\.57\.1\.[0-9]+$/
(0) preprocess: --> /10\.57\.1\.[0-9]+$/
(0) preprocess: EXPAND ^10\.57\.8\.[0-9]+$
(0) preprocess: --> ^10\.57\.8\.[0-9]+$
(0) preprocess: EXPAND ^10\.57\.14\.[0-9]+$
(0) preprocess: --> ^10\.57\.14\.[0-9]+$
...
(0) [preprocess] = ok
...
but no huntgroup is assigned.
I have tried putting the RE inside // with the same result.
Any help? Thank you.
--
Angel L. Mateo Martínez
Sección de Telemática
Área de Tecnologías de la Información
y las Comunicaciones Aplicadas (ATICA)
http://www.um.es/atica
Tfo: 868887590
Fax: 868888337
More information about the Freeradius-Users
mailing list