On 01/11/2013 08:32 PM, Arran Cudbard-Bell wrote:
Have you added nostrip for all the realms? The only way I can see it clobbering username is if stripping is enabled.
Isn't the problem the special request->username attribute? AFAICT the pairmove code handles this specially ("fixup") but I'm not sure rlm_perl does the same?
If that is the case, OP may find that putting the new username in an interim / temp variable then forcing update via unlang works:
authorize { ... myperl update request { User-Name := "%{The-Var}" } ... } This is a WAG though... - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html