freeradius and php

Nicolas Baradakis nbk at sitadelle.com
Tue Feb 14 15:12:03 CET 2006


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




More information about the Freeradius-Devel mailing list