(RADIATOR) PostAuthHook

Jeje jeje at jeje.org
Wed Jul 31 07:56:21 CDT 2002


This has nothing to see, but in the last release, there is an annoying:

AuthGeneric.pm:743:     print "checking '$check_name', '$value'\n";

with no debug or logging condition, it just prints.  So that whenever you 
start Radiator you see that line on every request. I personally commented 
this line.

--On Wednesday, July 31, 2002 07:49:04 PM +1000 Hugh Irvine 
<hugh at open.com.au> wrote:

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



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