25 Apr
2015
25 Apr
'15
7:39 a.m.
On Apr 25, 2015, at 6:28 AM, Amit Butere <amitbutere64@gmail.com> wrote:
I am trying to write external Php script and return module codes and match those module codes using unlang .
There's a sample script in scripts/exec-program-wait in the distribution "tar" file.
My script is being called and I can see that in debug. The error I get here is .
Failed parsing output from script.php attributes : expecting operator
So... what is the output? Is it a secret?
I am returning values as 1 for success and 0 for fail Ultimately radius says module fail.
I would be checking what operators to return value from Php script.
This is documented, with examples. http://networkradius.com/doc/3.0.8/raddb/mods-available/exec.html Alan DeKok.