Are you referring to backticks? Outside that, I couldn't find a hint in "man unlang" (after reading it front to back three times) that made reference to external shell scripts. Also, what's the method for passing the array into unlang - the equivalent to ARGV? On 06/06/2016 11:46 AM, Alan DeKok wrote:
On Jun 6, 2016, at 2:40 PM, Mike Ely <me@mikeely.org> wrote:
What I'm wondering is how to get the group membership from the OS into a radius packet. Is there some kind of command from unlang that can execute a shell command? I'm hoping for something along the lines of "exec mycommand.sh username" that returns an array of variables, in this case the list of group names. $ man unlang
This is documented.
Alan DeKok.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html