Hello Samantha -

At 9:01 +0600 01/2/16, Samantha Naleendra Senaratna wrote:
>Dear Hugh,
>
>What I need to know is how I could extract the REJECT reason from the
>reply packet passed to the PostAuthHook by default. Is there a method that
>I could extract this ?
>

You would use something like this:

        my $message = $rp->get_attr('Reject-Reason');

You should do a trace 4 debug first of all to ascertain what 
attribute contains the information you are interested in. YOu may 
also need to set "RejectHasReason" in the Handler or Realm.

hth

Hugh

-- 

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.

Reply via email to