20 Nov
2006
20 Nov
'06
11:15 a.m.
Marat Rysbekov wrote:
I do have "sql" enabled in the post-auth section of <radiusd.conf> (and not in the authorization section). I use the default postauth_query in the <sql.conf>. So I guess the problem is that radpostauth table of the radius database does not accept NULL values. Blank usernames are accepted when I disable "sql" in the post-auth section.
So... update the SQL query to replace the blank username with some default.
So, another question: should it be safe to change the provided radius database schema and make the radpostauth tables accept NULL values for the user field?
It's your system. Alan DeKok. -- http://deployingradius.com - The web site of the book http://deployingradius.com/blog/ - The blog