add quote to User-Name

Dudás Péter peter.pdudas at gmail.com
Sat May 6 18:48:05 CEST 2017


Hi,

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?

Thank you!

Peter Dudas


More information about the Freeradius-Users mailing list