Blank usernames

Alan DeKok aland at deployingradius.com
Mon Nov 20 17:15:24 CET 2006


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



More information about the Freeradius-Users mailing list