Problem using exec module

Fernando Brito fbrito at lq.com.ar
Mon Nov 14 22:37:53 CET 2005


Hi, I'm trying to use the next exec module:

radius.conf -------------------

modules {
	exec {
		wait = yes
		input_pairs = request
	}
	exec echo {
		wait = yes
		program = "/bin/echo %{Autz-Type}"
		input_pairs = request
		output_pairs = reply
	}
}

authorize {
	suffix
	echo
	files
	sql
	auth_log
}

-------------------------------


And the Radiusd gave me the next output:

radiusd -X --------------------

WARNING: Attempt to use unknown xlat function, or non-existent attribute
in string %{Autz-Type}
radius_xlat:  '/bin/echo '
Exec-Program: /bin/echo
Exec-Program output:
Exec-Program-Wait: plaintext:
Exec-Program: returned: 0

-------------------------------


I hope someone can help me. Thanks and bye,


NanO




More information about the Freeradius-Users mailing list