AW: Since 2 Month noone any idea how to do this ? Stripping Username Question *important*

Phil Mayers p.mayers at imperial.ac.uk
Mon Jul 24 18:53:32 CEST 2006


Armin Krämer wrote:
> Okay i tried a little and my result is now that my attr_rewirite looks like:
> 
> 
> search_string = "(host/)"
> replace_string = ""
> 
> 
> 
> That works to delete the "host/" part. But i need a "$" appended to the
> User-Name. How can i do this?
> 


You should use the mschap module and a version of FreeRadius >= 1.1.0, 
set "with_ntdomain_hack = yes" and it will do the correct thing for you.

You will as previously mentioned need to use:

%{mschap:User-Name}

...as your variable



More information about the Freeradius-Users mailing list