(RADIATOR) Question about differences with getUserName() in PostAuthHook and PreProcessingHook

Terry Simons galimore at mac.com
Mon Feb 16 01:44:13 CST 2004


I tried the following:

my $username         = Radius::Util::format_special('%u', $p);

But I got an error:

Mon Feb 16 00:40:57 2004: ERR: Error in PostAuthHook(): Not a HASH 
reference at /Library/Perl/5.8.1/Radius/Util.pm line 331.

I looked at the format_special() function, which is a little over my 
head, but this seemed correct.

Did I do something wrong?

Thanks,

- Terry


On Feb 15, 2004, at 11:22 PM, Hugh Irvine wrote:

>
> Hello Terry -
>
> You can use any of the "special characters" by calling 
> format_special().
>
> Have a look at the example hooks in "goodies/hooks.txt".
>
> regards
>
> Hugh
>
>
> On 15 Feb 2004, at 20:24, Terry Simons wrote:
>

===
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