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@gowifi.in> wrote:
root@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@deployingradius.com> wrote:
On Feb 5, 2018, at 8:08 AM, Javed Akhtar <javed@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