<div class="gmail_quote"><div><div>hi, i'm trying to migrate freeradius 1.3.1 to 2.1.12. 1.3.1 works very fine but I need upgrades</div><div><br></div><div>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?</div>
<div><br></div><div>check some lines in debug mode:</div><div><br></div><div>User-Name = "emperor" radius packet, .. </div><div><br></div><div>in radiusd -X using just username without Hints</div><div><br></div>
<div>[radutmp] expand: %{User-Name} -> emperor </div><div>[radutmp] expand: %{Stripped-User-Name:-%{User-Name}} -> emperor, </div><div><br></div><div>and sql module -> </div><div>[sql] Improperly nested variable; %{User-Name}} </div>
<div>[sql] expand: %{%{Stripped-User-Name}:-%{%{User-Name}}:-DEFAULT} -> ''</div><div><br></div><div>Using <a href="mailto:Hints@my.domain.com" target="_blank">Hints@my.domain.com</a></div><div><br></div><div>
User-Name = "<a href="mailto:emperor@my.domain.com" target="_blank">emperor@my.domain.com</a>" </div>
<div>[suffix] No '@' in User-Name = "emperor", looking up realm NULL</div></div><div><br></div><div>why not see the @ realm for check hint? </div><div><br></div><div>my hints conf</div><div><div>DEFAULT Suffix == "@<a href="http://my.domain.com" target="_blank">my.domain.com</a>", Strip-User-Name = Yes</div>
<div> Hint = "userdefault",</div><div> Service-Type = Framed-User,</div><div> Framed-Protocol = PPP,</div></div><div><br></div><div>in my auth seccion i type suffix to can check it.</div><div>
<br></div><div>with just emperor, at sql not insert emperor just blank and with realm @<a href="http://my.domain.com" target="_blank">my.domain.com</a> insert emperor into sql...</div><div>should be works.. in both case ...... insert emperor. to can checkval mountlycounter for both case the acct-session-time.</div>
<div><br></div><div>if need more conf files to can help please i can send more info.. </div><div><br></div><div>thanxs for all</div><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><font color="#888888"><font color="#888888">Antonio Pe</font><span><font color="#888888">ñ</font></span><font color="#888888">a</font><span></span><br>
<font color="#888888">Secure email with PGP 0x8B021001 available at <a href="http://pgp.mit.edu" target="_blank">http://pgp.mit.edu</a><br></font></font><font color="#888888">
<font color="#888888">Fingerprint: 74E6 2974 B090 366D CE71 7BB2 6476 FA09 8B02 1001</font></font><br>
</font></span></div><br><br clear="all"><div><br></div>-- <br><font color="#888888"><font color="#888888">Antonio Pe</font><span><font color="#888888">ñ</font></span><font color="#888888">a</font><span></span><br><font color="#888888">Secure email with PGP 0x8B021001 available at <a href="http://pgp.mit.edu" target="_blank">http://pgp.mit.edu</a><br>
</font></font><font color="#888888">
<font color="#888888">Fingerprint: 74E6 2974 B090 366D CE71 7BB2 6476 FA09 8B02 1001</font></font><br>