(RADIATOR) PostAuthHook

Hugh Irvine hugh at open.com.au
Wed Jul 31 04:49:04 CDT 2002


Hello -

The "print ..." statement writes output to stdout, not the Radiator log 
file.

To see how to log messages to the log file, have a look at 
"goodies/hooks.txt".

regards

Hugh



On Wednesday, July 31, 2002, at 01:03 PM, Radius Admin wrote:

> Dear Hugh,
>  
> I have ammended the configuration to look as follows:
>
>  </AuthBy>
>         PostAuthHook sub { print 
> "*************************************\n";}
> </Realm>
>
> I have set "trace 4" and I do not see the out put of the above function 
> when
> an authentication request is made in the log file. Is it being called?
>
> I am running Radiator 3.1
>
> Thanks
>
> ----- Original Message -----
> From: Hugh Irvine
> To: Radius Admin
> Cc: radiator at open.com.au
> Sent: Wednesday, July 31, 2002 7:40 AM
> Subject: Re: (RADIATOR) PostAuthHook
>
> Hello -
>
> The PostAuthHook is a Realm (or Handler) parameter.
>
> <Realm ....>
> <AuthBy SQL>
> .....
> </AuthBy>
> PostAuthHook file:"%D/SetActive.txt"
> </Realm>
>
> There are some example hooks in the file "goodies/hooks.txt" in the 
> distribution.
>
> regards
>
> Hugh
>
>
> On Tuesday, July 30, 2002, at 11:41 PM, Radius Admin wrote:
>
> I am trying to implement a PostAuthHook.
>  
> I have added the following line in my configuration file
>  
> <Realm ......>
>  
>     <AuthBy SQL>
>  
>     blah
>     blah
>  
>     PostAuthHook file:"%D/SetActive.txt"
>     </AuthBy>
> </Realm>
>  
> When I start Radiator I get the following error: ERR: Unknown keyword 
> 'PostAuthHook' in
>  
> I am not using Handler's as described in the hooks.txt file. Have I 
> defined it in the wrong place?
>  
> Thanks
>  
>
> --
> Radiator: the most portable, flexible and configurable RADIUS server
> anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
> Platypus, Freeside, TACACS+, PAM, external, Active Directory etc etc
> on Unix, Win95/8, 2000, NT, MacOS 9, MacOS X etc etc
>
>
--
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, TACACS+, PAM, external, Active Directory etc etc
on Unix, Win95/8, 2000, NT, MacOS 9, MacOS X etc etc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 2458 bytes
Desc: not available
URL: <http://www.open.com.au/pipermail/radiator/attachments/20020731/359232d6/attachment.bin>


More information about the radiator mailing list