Exec-Program-Wait

Michael Alexeev michael.alexeev at gmail.com
Mon Jun 25 00:22:19 CEST 2007


>
>   What led you to believe %C{User-Name} would be the user name?  The
> documentation says it's %{User-Name}.  Where did the extra 'C' come from"?
>

I found it on the following site:
http://ftp.wayne.edu/pub/gnu/Manuals/radius-0.95/html_node/radius_182.html

<quote>
Example

Suppose the `users' file contains the following entry:

    DEFAULT Auth-Type = System,
                    Simultaneous-Use = 1
            Exec-Program-Wait = "/usr/local/sbin/telauth \
                                 %C{User-Name} \
                                 %C{Calling-Station-Id}"

Then, upon successful matching, the program `/usr/local/sbin/telauth'
will be executed. It will get as its arguments the values of User-Name
and Calling-Station-Id attributes from the request pairs.

<end of quote>

Anyway, after removing the extra 'C' evrything works like fine. Thanks
for the help.

Mike



More information about the Freeradius-Users mailing list