plpgsql freeradius authentication function
Alan DeKok
aland at deployingradius.com
Tue Oct 19 07:18:23 CEST 2010
Kafui Akyea wrote:
> This is what the freeradius debug looks like when i try to authenticate
> a user who is not valid.
...
> rlm_sql: The 'Attribute' field is empty or NULL, skipping the entire row.
> rlm_sql (sql): Error getting data from database
> rlm_sql (sql): SQL query error; rejecting user
> rlm_sql (sql): Released sql socket id: 1
> modcall[authorize]: module "sql" returns fail for request 3
The answer is the same as last time: ensure that your function returns
the same values as the default queries.
If you're going to modify the default queries, it helps to understand
what they do and how they work.
Alan DeKok.
More information about the Freeradius-Users
mailing list