Help!

Mordor Networks mordor.networks at gmail.com
Mon May 29 12:56:29 CEST 2006


Hi again
I added this to radcheck

insert into radcheck (UserName, Attribute, Op, Value) values
('user','Session-Octets-Limit',':=','100');
but when i start radius -X it says rlm_sql : Failed to creat the pair
unknow attributes
Session-Octets-Limit
rlm_sql : error getting data from database..!


On 5/29/06, Mordor Networks <mordor.networks at gmail.com> wrote:
>
> Hi edvin
> sorry for asking too much but do i think i can add fieldsin sql "radreply"
> so i can make it works with mysql since i use radius + mysql? and if so how
> i do that
> thanks a lot
>
>
>
> On 5/29/06, Seferovic Edvin <edvin.seferovic at kolp.at> wrote:
> >
> >   Hi,
> >
> >
> >
> > yes – the reply attributes should be in the dictionary file ! The
> > freeradius should sent a value ( integer value = bytes count ) to your pppoe
> > server which uses radius client. Look at the debug output of the freeradius
> > server to see if those attributes are in the reply message !
> >
> >
> > Regards,
> >
> >
> >
> > Edvin
> >
> >
> >  ------------------------------
> >
> > *From:* Mordor Networks [mailto:mordor.networks at gmail.com]
> > *Sent:* Montag, 29. Mai 2006 10:14
> > *To:* edvin.seferovic at kolp.at; freeradius-users at lists.freeradius.org
> > *Subject:* Re: Help!
> >
> >
> >
> > Hello!
> >
> > If you just want to send reply attributes of type Session-Octets-Limit
> >
> > add this to your dictionary
> >
> > file (located probably in /usr/local/share/freeradius):
> >
> >
> > # Limit session traffic
> >
> >
> >
> > ATTRIBUTE       Session-Octets-Limit    227     integer
> >
> > # What to assume as limit - 0 in+out, 1 in, 2 out, 3 max(in,out)
> >
> > ATTRIBUTE       Octets-Direction        228     integer
> >
> >
> > i tried this and its not working can u please tell me what i doing wrong?
> >
> >
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20060529/82c4eed8/attachment.html>


More information about the Freeradius-Users mailing list