Hi

thanx for your help with previous questions ive had.;)

Freeradius: 0.9.3 running the experimental sql module with Postgres.


We have a problem related to the attribute Max-All-Session. If this
attribute is set pr user, in the radcheck table, freeradius fails to get
this attribute from the radcheck table during authorize, see log below. 

On the other hand, as long as this attribute is set pr group, the
radgroupcheck table, it works as expected.

The documentation states it should work in either tables.

Wed Jan 21 14:41:44 2004 : Debug: rlm_sql (sql): Reserving sql socketid:
4
Wed Jan 21 14:41:44 2004 : Debug: rlm_sql_postgresql: query: SELECT id,
UserName, Attribute, Value, Op ??FROM radcheck ??WHERE Username = 'otto'
??ORDER BY id
Wed Jan 21 14:41:44 2004 : Debug: rlm_sql_postgresql: Status:
PGRES_TUPLES_OK
Wed Jan 21 14:41:44 2004 : Debug: rlm_sql_postgresql: affected rows =
Wed Jan 21 14:41:44 2004 : Error: rlm_sql: unknown attribute
Max-All-Session
Wed Jan 21 14:41:44 2004 : Error: rlm_sql (sql): Error getting data from
database
Wed Jan 21 14:41:44 2004 : Error: rlm_sql (sql): SQL query error;
rejecting user
Wed Jan 21 14:41:44 2004 : Debug: rlm_sql (sql): Released sql socket id:
4

And yes, i know this module is experimental and might have bugs, but im 
curious if anyone else have seen the same issues and if its not fixed in
CVS-snapshots.


Regards,
Jon Arne Hegge
-- 
Jon Arne Hegge <[EMAIL PROTECTED]>


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

Reply via email to