Add $ to end of machine account uid
Phil Mayers
p.mayers at imperial.ac.uk
Sat Jul 7 15:40:52 CEST 2007
On Fri, 2007-07-06 at 19:47 +0100, A.L.M.Buxey at lboro.ac.uk wrote:
> Hi,
>
> > I've about got it, but now I am getting an eap error about the username
> > isn't correct.
> >
> > I added this about preprocess:
> > attr_rewrite add-dollar-sign {
> > attribute = User-Name
> > searchfor = "^host/(.*)"
> > searchin = packet
> > new_attribute = no
> > replacewith = "%{1}$"
> > }
>
> you cannot play with User-Name - that is returned in the EAP
> conversation and if it has changed then the auth wont work.
> copy the value to eg Stripped-User-Name and then use that variable
> to do the auth with (as per that example page)
Shouldn't he be using %{mschap:User-Name} rather than attr_rewrite
hacks?
More information about the Freeradius-Users
mailing list