27 Sep
2012
27 Sep
'12
2:54 p.m.
ok.. I do some testing about new sql... and with your unlang if idea.. could be thanxs to all 2012/9/27 alan buxey <A.L.M.Buxey@lboro.ac.uk>
Hi,
key = User-Name <---- use the if { your patch} ???
either change this to Stripped-User-Name instead....or if you ONLY want this to be the full realm when its NOT the realm of interest, then create a new SQL query and then wrap unlang around it eg
if ("%{User-Name}" =~ /\@realm.you.want$/i ){ monthlycounter1 } else { monthlycounter2 }
alan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- Antonio Peña Secure email with PGP 0x8B021001 available at http://pgp.mit.edu Fingerprint: 74E6 2974 B090 366D CE71 7BB2 6476 FA09 8B02 1001