Authentication against an executable and mysql

Alan DeKok aland at deployingradius.com
Mon Mar 19 09:31:22 CET 2007


Kenneth Penza wrote:

>      I am trying to get user authenticated against a
> shell script. I have added the following configuration
> to freeradius:
> 
> under the modules section i have added
>         exec myauth {
>                 wait = yes
>                 program =
> "/etc/raddb/myscripts/auth.sh %{User-Name}"
>                 input_pairs = request
>                 output_pairs = reply
>                 packet_type = Access-Request
>         }
> and under the authorize section I have added 
>       myauth

  And what's in the "authenticate" section?  You say you want to
authenticate, but you haven't touched any of the "authenticate"
configuration.

  If you're just executing a shell script, see "Exec-Program-Wait", it's
in the documentation.

  Alan DeKok.
--
  http://deployingradius.com       - The web site of the book
  http://deployingradius.com/blog/ - The blog



More information about the Freeradius-Users mailing list