Problem with Exec-Program-Wait Parameter

Alan DeKok aland at deployingradius.com
Fri Mar 16 02:09:27 CET 2007


Peter Urban wrote:
> i want to pass the username and password to an external program.
> i already tried the following code but i didnt work:
> 
> DEFAULT Auth-Type ?= External
>     Exec-Program-Wait = "/etc/raddb/mytestprogram %u %w,
>     Fall-Through = Yes
> 
> I found the %u placeholder in the doc/variable.txt document but i couldnt 
> found anything
> about a placeholder for the password. The %w doesnt not work. (only in 
> xtradius-version)

  How about %{User-Password} ?  The documentation is relatively clear
about referencing any attribute.

> Other Question: is %u the same as %{User-Name} ?

  Yes.

  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