hi, i'm trying to migrate freeradius 1.3.1 to 2.1.12. 1.3.1 works very fine but I need upgrades
and my freeradius server auth in ldap and accounting on mysql.. and the new file configuration have a little change for me.. all fine but not work for me.. the stripped-user-name properly. if i use user-name. i can see in freeradiusd -X the username to can do account into mysql... but in my system i use hints too.. so when i auth with user@domain.. in mysql insert user@domain.. if i use stripped-user-name.. in mysql just insert username as i need.... BUT not happend.. username stay in blank :| i change something in somewhere because before works.. but right now don't know what i change in .confs :S any idea?
check some lines in debug mode:
User-Name = "emperor" radius packet, ..
in radiusd -X using just username without Hints
[radutmp] expand: %{User-Name} -> emperor
[radutmp] expand: %{Stripped-User-Name:-%{User-Name}} -> emperor,
and sql module ->
[sql] Improperly nested variable; %{User-Name}}
[sql] expand: %{%{Stripped-User-Name}:-%{%{User-Name}}:-DEFAULT} -> ''
[suffix] No '@' in User-Name = "emperor", looking up realm NULL
in my auth seccion i type suffix to can check it.
should be works.. in both case ...... insert emperor. to can checkval mountlycounter for both case the acct-session-time.