Hi, I tried to configure my freeradius with EAP-PEAP auth with accounting. My aim is to have unique account, in other words only one user can access with the same user and password. I read that there are two method for accounting the first is using the radutmp file and the second is using the sql accounting. I configured my radius.conf file in this way: preacct { preprocess acct_uninque suffix } accounting { acct_unique detail unix radutmp } seassion { radutmp sql (??) } In my sql.conf file I had uncomment the simul_count_query. In this way I suppose that I have enabled both account types. When I try to connect 2 laptop with the same user and password, both are authenticated and if I see the radacct table or I write in console radwho I can find the accounting of the same user two times. What is wrong in my configuration? It is possible to do accounting without the sql database? Does Anyone know a guide for configure accountig? Thanks a lot. Bye Antonio
Antonio Matera <antonio.matera@create-net.it> wrote:
Hi, I tried to configure my freeradius with EAP-PEAP auth with accounting. My aim is to have unique account, in other words only one user can access with the same user and password.
doc/Simultaneous-Use
In this way I suppose that I have enabled both account types. When I try to connect 2 laptop with the same user and password, both are authenticated and if I see the radacct table or I write in console radwho I can find the accounting of the same user two times.
What is wrong in my configuration?
You didn't tell the server to limit simultaneous access.
It is possible to do accounting without the sql database?
Yes. Alan DeKok.
on 12/06/2006 18.21 Alan DeKok said the following:
doc/Simultaneous-Use
ok now I read the document
It is possible to do accounting without the sql database?
Yes.
how do I have to configure the radiusd.conf to do accounting without sql db? thanks a lot Bye Antonio
participants (2)
-
Alan DeKok -
Antonio Matera