7 Jul
2007
7 Jul
'07
9:40 a.m.
On Fri, 2007-07-06 at 19:47 +0100, A.L.M.Buxey@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?