String Validation
    Neville 
    nev at itsnev.co.uk
       
    Sun Aug 16 01:24:16 CEST 2009
    
    
  
Hi,
If a connection that comes in with a GROUP NAME from SQL of "USUK-XX" or "WUK-XX" and I want to strip of the "-XX", how would I do this with ulang so I only validate the following?
if(SQL-GROUP == "USUK") {
             ok
}
elsif(NAS-IP-Address == AAA.BBB.CCC.DDD && SQL-GROUP == "WUK") {
             ok
}
else {
            reject
}
Thx in advance
Nev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20090816/2cd9dbbf/attachment.html>
    
    
More information about the Freeradius-Users
mailing list