Add $ to end of machine account uid

A.L.M.Buxey at lboro.ac.uk A.L.M.Buxey at lboro.ac.uk
Fri Jul 6 20:47:17 CEST 2007


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)

alan



More information about the Freeradius-Users mailing list