Hello All,

I have a script that run with every Access-Request Message. I'm using
freeradius 0.9.3 over Fedora Core 2. This is part of my radius.conf:

exec myauth {
  wait = yes
  program = '/usr/local/bin/myauth.pl'
  input_pairs = request
  output_pairs =reply
  packet_type = Access-Request
}

authorize {
  sql
  myauth
}

For normaly authenticated user, myauth.pl returns:

Session-Timeout := 14400, Idle-Timeout := 3600
And the exit code is 0

This is successfullt added to reply attributes pairs !

To reject users:

Reply-Message := 'You can not login now'
And the exit code is 1

PROBLEM: 

BUT, Reply-Message on Access-Reject is not modified.
The Reject Message does not contain any attributes.

I want to know what i�m doing wrong, and what do I need to change ?

Thanks
Alejandro.



-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to