FR 2.1.6 add realm to User-Name before Proxy by listening port

Alan DeKok aland at deployingradius.com
Thu Feb 17 16:17:22 CET 2011


Mika wrote:
> Do i need to use the queries/definitions in dialup.conf?

  No.

> Does the User-Name need to exist in the SQL database to be able to add a
> realm to it?

  No.

> server SERVER-21000 {
> authorize {
>         preprocess
>         pap
> sql

  Why is "sql" here?  You can probably just delete that line, and it
will work.

> [sql]   expand: %{User-Name} -> testuser
> [sql] sql_set_user escaped user --> 'testuser'
> rlm_sql (sql): Reserving sql socket id: 4
> [sql]   expand:  -> 
> [sql] Error generating query; rejecting user

  You deleted the default SQL queries.  Don't do that.

  Alan DeKok.



More information about the Freeradius-Users mailing list