Malcolm Caldwell <[EMAIL PROTECTED]> wrote:
> At the moment the server crashes multiple times a day.
> 
> I *think* I have tracked down the problem.
> 
> If a user logs in with a username > 32 characters we have problems.  The
> column is VARCHAR2 32, and so the insert/update fails (fair enough).

  So increase the size of the column in the SQL table.  That should
help in the short term.

> First bug:
> rlm_sql_oracle.c returns SQL_DOWN.
> 
> I believe it should return -1.  SQL_DOWN should be for when the
> connection fails.

  It should return "failed to do SQL query", which is semantically not
that different from "unable to contact SQL server"

  Alan DeKok.

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to