suffix not work for me
Tony Peña
emperor.cu at gmail.com
Thu Sep 27 20:54:14 CEST 2012
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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20120927/afc333f4/attachment.html>
More information about the Freeradius-Users
mailing list