Hello Samantha -
I think you may need Radiator 2.18 (now in beta testing) to do this,
unless you want to get into the code yourself. There have been some
discussions on the mailing list about doing more advanced logging,
and we have added additional capabilities to 2.18 in response to
these requests.
You can have a look on the archive site and do a search:
http://www.starport.net/~radiator
you can also look in the goodies directory in the Radiator 2.17.1
distribution to see if there is anything there that has been
contributed.
regards
Hugh
At 13:16 +0600 01/2/19, Samantha Naleendra Senaratna wrote:
>Hello Hugh,
>
>Yes, I have ...here is part of my configuration file.
>
><Handler User-Name=/^icz\d{5}/ >
> RewriteUsername s/^([^@]+).*/$1/
> AuthByPolicy ContinueWhileAccept
> # Show any rejection reason to the end user
> RejectHasReason
>
>
>On Mon, 19 Feb 2001, Hugh Irvine wrote:
>
>>
>> Hello Samantha -
>>
>> Have you put RejectHasReason in your Handler (or Realm) clause?
>>
>> regards
>>
>> Hugh
>> > At 10:25 +0600 01/2/19, Samantha Naleendra Senaratna wrote:
>> >Dear Hugh,
>> >
>> >I still couldn't get the Reject reason. I also did a trace 4 but couldn't
>> >find the attribute. I have attached the part of the log, could you please
>> >go through this and help me out. I want to trap the reason where it says
>> >"Expiration date has passed" .
>> >
>> >Mon Feb 19 10:13:27 2001: DEBUG: Handling request with Handler
>> >'User-Name=/^icz\d{5}/ '
>> >Mon Feb 19 10:13:27 2001: DEBUG: Rewrote user name to icz00001
>> >Mon Feb 19 10:13:27 2001: DEBUG: Deleting session for
>> >icz00001,192.168.0.1 ,29
>> >Mon Feb 19 10:13:28 2001: DEBUG: Handling with Radius::AuthSQL
>> >Mon Feb 19 10:13:28 2001: DEBUG: Handling with Radius::AuthSQL
>> >Mon Feb 19 10:13:28 2001: DEBUG: Query is: select PASSWORD, CHECKATTR,
>> >REPLYATTR
>> > from SUBSCRIBERS where ((USERNAME = 'icz00001') and ((STATUS = 1) OR
>> >(STATUS =0
>> >)))
>> >
>> >Mon Feb 19 10:13:28 2001: DEBUG: Radius::AuthSQL looks for match with
>> >icz00001
>> >Mon Feb 19 10:13:28 2001: DEBUG: Expiration date converted to: 979581600
>> >Mon Feb 19 10:13:28 2001: DEBUG: Radius::AuthSQL REJECT: Expiration date
>> >has passed
>> >Mon Feb 19 10:13:28 2001: DEBUG: Query is: select PASSWORD, CHECKATTR,
>> >REPLYATTR
>> > from SUBSCRIBERS where ((USERNAME = 'DEFAULT') and ((STATUS = 1) OR
>> >(STATUS =0)
>> >))
>> >
>> >Mon Feb 19 10:13:28 2001: INFO: Access rejected for icz00001: Expiration
>
>Samantha Naleendra Senaratna
>Systems Engineer
>Lanka Internet Services Ltd. Sri Lanka.
>
>Tel: +94 1 565071
>Fax: +94 75 535637
--
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.