----- Message d'origine ----
De : Alan DeKok <aland@deployingradius.com>
À : FreeRadius users mailing list <freeradius-users@lists.freeradius.org>
Envoyé le : Lundi, 19 Mars 2007, 9h31mn 22s
Objet : Re: Authentication against an executable and mysql
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
-
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html