Execute SQL command after Authentication
Arran Cudbard-Bell
a.cudbardb at freeradius.org
Fri Jan 9 14:40:36 CET 2015
>
> and also… i am getting a log error after any login:
> Fri Jan 9 10:49:45 2015 : Auth: Login OK: [teste1] (from client Auth_PPPOE_T1 port 15728650 cli C4:6E:1F:98:1D:4F)
> Fri Jan 9 10:49:45 2015 : Info: rlm_sql (sql): Attempting to connect rlm_sql_mysql #118
> Fri Jan 9 10:49:45 2015 : Info: rlm_sql_mysql: Starting connect to MySQL server for #118
> Fri Jan 9 10:49:45 2015 : Info: rlm_sql (sql): Connected new DB handle, #118
> Fri Jan 9 10:49:45 2015 : Info: Allocated IP: 131.0.120.0 from db_pool (did pppoe-1 cli C4:6E:1F:98:1D:4F port 15728650 user teste1)
> Fri Jan 9 10:49:45 2015 : Info: rlm_sql (sql): Attempting to connect rlm_sql_mysql #117
> Fri Jan 9 10:49:45 2015 : Info: rlm_sql_mysql: Starting connect to MySQL server for #117
> Fri Jan 9 10:49:45 2015 : Info: rlm_sql (sql): Connected new DB handle, #117
> Fri Jan 9 10:49:45 2015 : Info: rlm_sql (sql): Attempting to connect rlm_sql_mysql #116
> Fri Jan 9 10:49:45 2015 : Info: rlm_sql_mysql: Starting connect to MySQL server for #116
> Fri Jan 9 10:49:45 2015 : Info: rlm_sql (sql): Connected new DB handle, #116
> Fri Jan 9 10:49:45 2015 : Error: rlm_sql_mysql: MYSQL Error: No Fields
> Fri Jan 9 10:49:45 2015 : Error: rlm_sql_mysql: MYSQL error:
>
> MYSQL ERROR: No Fields ——— What is it ?
A MySQL error, indicating there were no fields... In what, I have no idea,
as you've not posted the output of radiusd -X just the global log output.
-Arran
Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS development team
FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
More information about the Freeradius-Users
mailing list