Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I use freeradius and ldap and openvpn in my project. when user disconnect from openvpn,radacct table does not update. I need that acctstoptime updated immediately. please guide me.

share|improve this question

1 Answer 1

We can not easily answer your question in its current form. You need to provide more information.

To help you debugging the issue, you need first to make sure radius accounting is enabled using the appropriate module (ldap, database, etc..).

One other option is to start freeradius server in the foreground in full debug mode using:

$ sudo freeradius -X

This can be done on a testing machine and watching for possible errors when you are making radius requests.

share|improve this answer
    
thanks @khaled.sorry for my bad english.i connect via openvpn from my win7 client to freeradius server that is in the ubuntu os.my external database for authentication is ldap.i use mysql for freeradius accounting information.when user connected to freeradius server,one record with the correct acctstarttime is added to radacct but my problem is that when my user disconnect from win7,its acctstoptime remains null and after a period another record is added to radacct with both acctstarttime and acctstoptime.Times in the both of them are correct but my problem is its update time. –  Bahareh Sep 2 '12 at 6:50

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.