Hi All, I just went from FreeRADIUS 0.5 to 0.6, only to find all my users being rejected... A quick run in debug mode & looking at the changelog/cvs - I found that the '/' character in our usernames was being escaped into a 'mime encoded' equivalent.
I'll confess to not knowing if '/' is special to SQL servers or not - but this change broke our previously working FreeRADIUS 0.5/MySQL 3.23.49 setup. Simply adding '/' into the strchr() call in rlm_sql.c / sql_escape_func() did the trick (the attached patch does this). I've posted this more as a 'in case it bites you' thing, rather than a 'I think this should be comitted/fixed' thing - as our use of '/' in usernames could be dodgy in the first place :) Regards, -Karl
freeradius-0.6.patch
Description: Binary data
