Exec-Program-Wait

2007-06-23 Thread Michael Alexeev
Hi all, I am having trouble with macro substitution in Exec-Program-Wait attribute. For some reason %C{User-Name} is expanded to localhost{User-Name} string instead of real user name. Here is an excerpt from the users config file: jsullivan User-Password == mypass

Re: Exec-Program-Wait

2007-06-24 Thread Michael Alexeev
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

Multiple Replay-Message attributes in the ACCESS-ACCEPT message

2007-07-12 Thread Michael Alexeev
Hi all, The script which is invoked by Exec-Program-Wait attribute produces the output similar to the following: Reply-Message=c5|c3|c14|, Reply-Message=ci5|c14|, Reply-Message=done So I expect to see three Replay-Message attributes in the ACCESS-ACCEPT message. According to the FreeRadius docs