sqlcounter and dialup admin issue

Georgi Alexandrov georgi.alexandrov at gmail.com
Tue Feb 7 10:08:17 CET 2006


hello list,

i'm using freeradius 1.1.0 with mysql 5.0.x and dialup_admin

i want to use the monthly counter function of the sqlcounter module.
I've added
"checkItem	MaxMonthlySession	MaxMonthlySession" to sql.attrmap
also added: MaxMonthlySession to user_edit.attrs

in the radiusd.conf added "monthlycounter" in the authorize section.
freeradius loading the module: http://pastebin.com/542929

I add a user from dialup_admin with a maxmonthlysession = 14400 for
example and when the user tries to log in radius says:
"   1.
      Tue Feb  7 10:47:14 2006 : Info: rlm_sql (sql): No matching entry
in the database for request from user [het]
   2.
      Tue Feb  7 10:47:14 2006 : Auth: Login incorrect: [het/het] (from
client pppoe-as port 0 cli 00:0A:EB:40:9F:FD) "

if i don't specify maxmonthlysession the user logs fine.

any idea?



-- 
regards,
Georgi Alexandrov

Key Server = http://pgp.mit.edu/ :: KeyID = 37B4B3EE
Key Fingerprint = E429 BF93 FA67 44E9 B7D4  F89E F990 01C1 37B4 B3EE

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20060207/d440ea5e/attachment.pgp>


More information about the Freeradius-Users mailing list