Renaming during Machine Authentication

Phil Mayers p.mayers at imperial.ac.uk
Sat May 14 10:48:16 CEST 2011


On 05/13/2011 11:21 PM, Mark Jones wrote:
> That sounds good...where exactly do I put that in the config files?

Well, since you didn't explain why you wanted to rename it (for what 
purpose) I can't say for sure.

Usually, a lot of what goes on in FreeRADIUS is done with string 
expansions - for example you might have an SQL query defined in sql.conf:

  some_query = "select something from table where 
username='%{SQL-User-Name}"

In this case, you're replace that with:

  some_query = "select something from table where 
username='%{mschap:User-Name}"

But this is just an example. You need to be more specific about the 
problem(s) you're having if you want people to give you advice.



More information about the Freeradius-Users mailing list