Hi,

I have freeradius 0.9.3 running with Postgresql database backend.
The only thing the radius checks is the password and then executes an
external script if authentication is ok.

The section in the users file is:

DEFAULT         Auth-Type = Local
                Exec-Program-Wait = "/opt/radius1/bin/auth.pl"


Everything runs fine, except the attributes output by the script (attr =
value seperated by newlines) are not added to the reply as you can see in
this debugging output:

auth: type Local
auth: user supplied User-Password matches local User-Password
radius_xlat:  '/opt/radius1/bin/auth.pl'
Exec-Program: /opt/radius1/bin/auth.pl
Exec-Program output: Acct-Interim-Interval = 600 Idle-Timeout = 3600
Session-Timeout = 171454526
Exec-Program-Wait: plaintext: Acct-Interim-Interval = 600 Idle-Timeout =
3600 Session-Timeout = 171454526
Exec-Program: returned: 0
Login OK: [thor] (from client x port 0 cli 00:30:00:04:A5:22)
Sending Access-Accept of id 112 to 192.168.250.105:32780
Finished request 0
Going to the next request

Any idea what might be wrong?

Thor.


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

Reply via email to