14 Feb
2006
14 Feb
'06
9:12 a.m.
Pezhman Lali wrote:
how I can send Username,password,.... to exec program, and in php script, how return access-accept back to freeradius.
Each of the attributes in the request will be available in an environment variable. You could look at the following example: http://freeradius.org/radiusd/scripts/exec-program-wait FreeRADIUS is using the exit status of the script. If the script returns a non-zero exit status, access will be denied to the user. With a zero-exit status, access is granted. -- Nicolas Baradakis