> > On 4/17/05, Alex <[EMAIL PROTECTED]> wrote:
> > > Hi all
> > >
> > > finally i have everything working , freeradius + radiusclient with mysql
> > > the only one thing is missing :
> > >
> > > I will add Simultaneous-Use := 1 in my radgroupcheck table in order to
> > > give permissions only for 1 user to connect.
> > >
> > > the other problem is what i am using radwho and it's empty,
> > > because the file /usr/local/var/log/radius/radutmp is empty.
> > >
> > > how i can fix that in order to run radwho.
> > >
> > > thanks for help.
> On 4/17/05, Scott Edwards <[EMAIL PROTECTED]> wrote:
> >
> > Someone has to be logged in to show up.  You weren't thinking radlast
> > were you? Either that, or your config needs work.
> >
> > Thank you,
> >
> > Scott Edwards

On 4/17/05, Alex <[EMAIL PROTECTED]> wrote:
> radlast not working too, i have mine user logged in , and it's pass
> the authentication, but it's not exist in the files, i just see the
> logs of the radius.
> when i run radius -A -X
> 
> i see radutmp: filename = "/usr/local/var/log/radius/radutmp"
> but the file is empty (btw it's ser users which authenticates through radius).

There's also a snippet that says "this is not a log file." so it's not
unusual to be 0 bytes.  If it's working correctly, chances are it'll
wipe out the unused blocks and rewrite the file.  It's not unusual to
think the file would be more the 0 bytes if users had logged in, but
nothing is reported. (trivial database semantics)

> 
> maybe my configurations is wrong. but like i understand each user who
> pass the authentication should be in radutmp file:

Stuff to look at:
radiusd.conf
modules -> unix -> radwtmp
modules -> radutmp
accounting -> unix 
accounting -> radutmp (or sradutmp)
session -> radutmp (consider sql instead)

>
> should i use "radutmp" in authenticate or authorize blocks ??

Based on the context of your present issue, this question is confusing.

> 
> Thanks for the help.

No problem.  As a retorical statement, I hope you spent as much time
studying your config as I wrote this email.  I'm personally neutral
about it today, but you may find yourself on hardtimes if you can't
demonstrate what you have done to resolve it before hand.  (and no, my
intent is not to be condesending in any way. If it's still upsetting
to say this, sleep on it atleast a day before you reply to me.)

Enjoy,


Scott Edwards
-- 
Daxal Communications - http://www.daxal.com
Surf the USA - http://www.surfthe.us

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

Reply via email to