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