On Mon, 2003-02-17 at 15:39, Alan DeKok wrote:
Ramprasad A Padmanabhan <[EMAIL PROTECTED]> wrote:
> I can use authentication with System or  LDAP without problems
> and when I check accounting using something like
> 
> cat acctcheck2  | radclient  192.168.2.212 acct abc
> where acctcheck2 contains accnt packet I am able to see the accounting 
> packets processed too

  That sounds OK.

> but I am not able to get radius do the simple job of sending accounting 
> packets to itself

  Huh?  You're confused.  The server NEVER sends accounting packets to
itself.  That doesn't make any sense.

> in acct_users i have put
> 
> DEFAULT NAS-IP-Address == 192.168.2.212, Replicate-To-Realm := NULL

  That makes no sense whatsoever.

> I start radiusd in the debug mode
> When I run radtest this way
> 
> "radtest lab1 lab1  192.168.2.212 0 abc "
..

> Mon Feb 17 18:47:19 2003 : Auth: Login OK: [lab1/lab1] (from client 
> 192.168.2.212 port 0)

> But this entry does not figure in any accounting.

  Yes, that's because you sent it an authentication packet, not an
accounting packet.

> Please do not give me the same "read the docs" , I swear I have done 
> that and I admit I havent understood much. This is my first attempt at 
> radius ...

  I would say read the docs, but obviously they haven't helped.

  You're sending the server authentication requests, and are wondering
why it's not doing accounting.  That's not a problem I'm capable of
solving.

  Alan DeKok.

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

So does that mean that I can use the radius server for authentication and I must use another server for accounting. Well to me it makes sense if I could have one server that will not only authenticate but also maintain a track of who is logged in and since when.



-- 
Ramprasad A Padmanabhan
Sr Software Engineer
Netcore Solns Pvt Ltd
Mumbai
ph - (022) 4628000

----------------------------------------------------------------
NETCORE SOLUTIONS *** Ph: +91 22 5662 8000 Fax: +91 22 5662 8134

MailServ: Email, IM, Proxy, Firewall, Anti-Virus, LDAP
Fleximail: Mail Storage, Management and Relaying 
http://www.netcore.co.in 

Emergic Freedom: Linux-based Thin Client-Thick Server Computing
http://www.emergic.com

BlogStreet: Top Blogs, Neighborhoods, Search and Utilities
http://www.blogstreet.com

Rajesh Jain's Weblog on Technology:http://www.emergic.org
----------------------------------------------------------------

Reply via email to