On Fri, Mar 03, 2000 at 10:16:16AM +1100, Hugh Irvine wrote:
> >     Is the Reject:Message feature working on ver. 2.14.1? i had set 
> > it up for some users, and i can see the message in radiators log at 
> > trace 3, but radiator allways sends 'Request Denied' as the value 
> > for the reply-message attribute.
> > 
> > Here is a quote of the log at trace level 4, for a reject with a custom 
> > message:
> > 
> > Wed Mar  1 18:36:00 2000: DEBUG: Radius::AuthSQL looks for 
> > match with avd
> > Wed Mar  1 18:36:01 2000: DEBUG: Radius::AuthSQL 
> > REJECT_IMMEDIATE: Segui participando
> > Wed Mar  1 18:36:01 2000: INFO: Access rejected for avd: Segui 
> > participando
> > 
> > Wed Mar  1 18:36:01 2000: DEBUG: Packet dump:
> > *** Sending to 127.0.0.1 port 3016 ....
> > Code:       Access-Reject
> > Identifier: 194
> > Authentic:  1234567890123456
> > Attributes:
> >         Reply-Message = "Request Denied"
> > 
> 
> What is the corresponding configuration? Could you send me the configuration
> file (no secrets) so I can see what should be happening?
> 

Just a 'me too' on that. This is with the built in stuff too - from 
AuthGeneric.pm:

                || &main::my_crypt($password, $value) ne $value)
            {
                &main::log($main::LOG_INFO,
                           "LOG: Bad Encrypted-Password,$username is trying '$pa
ssword'");      
                $p->{Handler}->logPassword($username, $password, 'ENCRYPTED', 0)
;
                return ($main::REJECT_IMMEDIATE, "Bad Encrypted-Password");
            }

This is what happens when it's triggered:

Fri Mar  3 11:57:22 2000: DEBUG: Radius::AuthDBFILE REJECT_IMMEDIATE: Bad Encryp
ted-Password
Fri Mar  3 11:57:22 2000: INFO: LOG: Access-Request (Reject): cmjh || 62610222 |
| 262544720 || 203.23.1.182 || 132
Fri Mar  3 11:57:22 2000: INFO: Access rejected for cmjh: Bad Encrypted-Password
Fri Mar  3 11:57:22 2000: DEBUG: Packet dump:
*** Sending to 203.23.1.182 port 1645 ....
Code:       Access-Reject
Identifier: 185
Authentic:  <152>pT<25><1>7E<226><21><239><179><131>h<187><153>%
Attributes:
        Reply-Message = "Request Denied"

[EMAIL PROTECTED]

===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to