Custom php module error in v3

Javed Akhtar javed at gowifi.in
Mon Feb 5 16:53:41 CET 2018


i just used this
authorize {
    update control {
Auth-Type := `/bin/echo Accept`
        }
}

and its working but form php echo its not


On Mon, Feb 5, 2018 at 9:20 PM, Javed Akhtar <javed at gowifi.in> wrote:

> root at selfcare:/etc/freeradius/3.0# freeradius -X
> FreeRADIUS Version 3.0.12
>
> (0)   authorize {
> (0)     update control {
> (0)       Executing: /usr/bin/php -f /var/www/rad_check.php':
> (0)       Program returned code (0) and output 'Accept'
> (0)     } # update control = invalid
> (0)   } # authorize = invalid
>
> the version is 3.0.12
> one difference i noticed here is  your update control is noop and mine is
> Invalid
>
> can you tell what wrong  am doing
> better can you send me your authorize section code for checking
>
>
> On Mon, Feb 5, 2018 at 9:01 PM, Alan DeKok <aland at deployingradius.com>
> wrote:
>
>> On Feb 5, 2018, at 8:08 AM, Javed Akhtar <javed at gowifi.in> wrote:
>> >
>> > this is what i am getting in radius debug
>>
>>   I get this:
>>
>> (0)     update control {
>> (0)       Executing: /bin/echo Accept:
>> (0)       Program returned code (0) and output 'Accept'
>> (0)       Auth-Type := Accept
>> (0)     } # update control = noop
>>
>>   So it works for me.  Please check that you're running 3.0.16, and not a
>> version that's 3-4 years old.
>>
>>   Alan DeKok.
>>
>>
>> -
>> List info/subscribe/unsubscribe? See http://www.freeradius.org/list
>> /users.html
>>
>
>
>
> --
> Md Javed Akhtar
> Managing Director
> Go WiFi Networking Solutions Pvt. Ltd.
> 217, Purusottampur
> Jajpur  Town-755001, Odisha
> 0091-9437545260
>



-- 
Md Javed Akhtar
Managing Director
Go WiFi Networking Solutions Pvt. Ltd.
217, Purusottampur
Jajpur  Town-755001, Odisha
0091-9437545260


More information about the Freeradius-Users mailing list