Hello Robert -
Many thanks for this - I have forwarded it to Mike.
regards
Hugh
At 20:16 +0200 01/4/9, Robert Kiessling wrote:
>Content-Type: text/plain; charset=us-ascii
>Content-Description: message body text
>Content-Transfer-Encoding: 7bit
>
>Hi,
>
>while writing a PostAuthHook, I found the wish to be able to access
>the reject reason in that handler. The appended little patch does it.
>
>The documentation to PostAuthHook could then contain something like:
>
>The fourth argument is a reference to a string variable
>holding the reason for a reject, or undefined if none is
>available.
>
>It would be nice to see something like this in the next version.
>
>Robert
>
>
>diff -r Radiator-2.18/Radius/Handler.pm
>Radiator-2.18.rejectreason/Radius/Handler.pm
>491c491
>< eval{ &{$self->{PostAuthHook}}(\$p, \$rp, \$handled); };
>---
>> eval{ &{$self->{PostAuthHook}}(\$p, \$rp, \$handled, \$reason); };
--
NB: I am travelling this week, so there may be delays in our correspondence.
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, Interbiller, TACACS+, PAM, external, etc, etc.
Available on Unix, Linux, FreeBSD, Windows 95/98/2000, NT, MacOS X.
===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.