Translate characters

Xbert_badstuber lijo09jj at gmail.com
Mon May 7 14:45:41 CEST 2012


I followed your advice by configure both the files, default and inner tunnel.
Unfortunally, a fail comes with a restart of the service. This is what the
log tells us:

Error: Consecutive conditions at (.)/(.):(.*)$/)
Error: /etc/freeradius/sites-enabled/inner-tunnel[47]: Errors parsing
authorize section.
Error: Failed to load virtual server inner-tunnel

This it what i put in the availabile-sites/default under the authorize
section:

 preprocess
          
 if (NAS-Port-Id =~ /^(.)/(.)/(.):(.*)$/) { 
                update request { 
                        NAS-Port-Id := "%1_%2_%3_%4" 
                } 
        } 



And this is what i put in the availabile-site/inner-tunnel, under the
authorize section:

if (NAS-Port-Id =~ /^(.)/(.)/(.):(.*)$/) { 
                update request { 
                        NAS-Port-Id := "%1_%2_%3_%4" 
                } 
        } 

Any ideas?

Regards, Badstuber.


--
View this message in context: http://freeradius.1045715.n5.nabble.com/Translate-characters-tp5685645p5690962.html
Sent from the FreeRadius - User mailing list archive at Nabble.com.


More information about the Freeradius-Users mailing list