(RADIATOR) Expanding Radius::Util::conversions ...

Hugh Irvine hugh at open.com.au
Tue Feb 12 01:18:21 CST 2008


Hello Bjorn, Hello Jose -

There is now a patch for Radiator 4.0 that implements "%{Special:...}":


Patched Util.pm to now use, for example %{Special:a} instead of
just %a. Now new multichar special chars could be added to the  
conversions
table such as:

# Existing
	.......
      'p', sub { return unless $ptime; @ptime = localtime($ptime);  
$ptime[0] },

# multi-char conversions follow
  'multichar', sub {return 'what ever you like';},
	);


regards

Hugh


On 12 Feb 2008, at 05:21, Bjoern A. Zeeb wrote:

> On Mon, 11 Feb 2008, Jose Borges Ferreira wrote:
>
> Hi,
>
>> I was considering expanding  Radius::Util::conversions ..., but it  
>> just run
>> out of letters.
>>
>> Any idea where to go besides the  alphabet ?
>
> I was already going to say use %{foo} like people have speced for
> printf(3) but Radiator of course already uses that along with other
> %{XXX:...}. So why not simply going to add a %{Conv:...} ?
>
> /bz
>
> -- 
> Dipl. Ing. (BA) Bjoern A. Zeeb          Research & Development
> CK Software GmbH                        http://www.cksoft.de/
> Schwarzwaldstr. 31                      Phone: +49 7452 889 135
> D-71131 Jettingen                       Fax: +49 7452 889 136
> HRB245288, Amtsgericht Stuttgart        Geschaeftsfuehrer:  
> Christian Kratzer
>
> --
> Archive at http://www.open.com.au/archives/radiator/
> Announcements on radiator-announce at open.com.au
> To unsubscribe, email 'majordomo at open.com.au' with
> 'unsubscribe radiator' in the body of the message.



NB:

Have you read the reference manual ("doc/ref.html")?
Have you searched the mailing list archive (www.open.com.au/archives/ 
radiator)?
Have you had a quick look on Google (www.google.com)?
Have you included a copy of your configuration file (no secrets),
together with a trace 4 debug showing what is happening?
Have you checked the RadiusExpert wiki:
http://www.open.com.au/wiki/index.php/Main_Page

-- 
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows, MacOS X.
Includes support for reliable RADIUS transport (RadSec),
and DIAMETER translation agent.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
-
CATool: Private Certificate Authority for Unix and Unix-like systems.


--
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list