Run sql Module after exec in radpostauth

Alan DeKok aland at deployingradius.com
Sun Oct 4 02:25:10 CEST 2020


On Oct 3, 2020, at 4:07 PM, Muhammed Buvaydani via Freeradius-Users <freeradius-users at lists.freeradius.org> wrote:
> 
> many thanks for your reply , actually this is my  post auth config

  That's good...

> and this the log when I do this configuration it is not run the SQL module after exec  in reject type

  OK...


> (0)   post-auth {
> (0) exec: Executing: /usr/bin/php /var/www/html/cloudradius/captiveportal/auth_new.php "abhibose" "1234" "4e:f9:5e:77:0c:9a" "102" "103.200.57.138" "PPP"  "192.168.0.1"  "" "nas" :
> (0) exec: ERROR: Program returned code (1) and output 'Reply-Message :="Your Account has been expired."'
> (0)     [exec] = reject
> (0)   } # post-auth = reject
> (0) Delaying response for 1.000000 seconds

  You're running a _very_ old version of v3.  As in more than 6 years old.

  Upgrade to the latest release, and it will work.

  Alan DeKok.




More information about the Freeradius-Users mailing list