FreeRadius with AD

Phil Mayers p.mayers at imperial.ac.uk
Thu Jun 16 13:26:14 CEST 2011


On 16/06/11 11:45, Javier Lidó Fernandez wrote:
> Hi Phil,
>
> Thanks for the reply.
>
> I needed another hour to find out I had to use
> --username=%{Stripped-User-Name:-None} instead of
> --username=%{mschap:User-Name:-None}
>

That will work, assuming you have the "suffix" realm module and the user 
definitely supplies user at domain

You might try:

--username=%{Stripped-User-Name:-%{mschap:User-Name}}

...but if it's working for you, maybe don't fiddle!

Really the mschap module should handle user at domain - I should knock 
together a patch.



More information about the Freeradius-Users mailing list