Exec-Program-Wait not working

Alan DeKok aland at deployingradius.com
Wed Jun 19 17:26:50 CEST 2019


On Jun 19, 2019, at 11:16 AM, Gianni Costanzi <gianni.costanzi at gmail.com> wrote:
> I was using the following syntax on Freeradius 2.x to determine if a user
> could connect to a particular IP address, even if the authentication
> succeeds, based on some parameters passed to a script:
> 
> XXX747 Auth-Type = System, Realm == imp
>        Service-Type := Login-User,
>        cisco-avpair = "shell:priv-lvl=2",
>        Exec-Program-Wait =
> "/opt/script/radius/bin/check_operator_access.sh %{NAS-IP-Address}
> %{User-Name} %{Realm}"

  Exec-Program-Wait goes in the first line.  It's a check attribute, and isn't a reply attribute.

  Alan DeKok.




More information about the Freeradius-Users mailing list