6 May
2017
6 May
'17
2:54 p.m.
On May 6, 2017, at 12:48 PM, Dudás Péter <peter.pdudas@gmail.com> wrote:
for running external script I have to quote the content of the User-Name (via the Exec module). So in case User-Name is John Doe (received from NPS) I want to have it like "John Doe".
Tried: User-Name := "%{User-Name}" # this is not working.
Is there a way to do this?
Don't edit the User-Name in FreeRADIUS. Instead, change the User-Name passed to the script. Execute the program as: /path/to/progran \"%{User-Name}\" But saying what you've tried (NOT just one line), and providing the debug log would be useful, too. Alan DeKok.