Accounting - barring negative accounts

Use this forum to post questions relating to WinGate, feature requests, technical or configuration problems

Moderator: Qbik Staff

Accounting - barring negative accounts

Postby Jens » Nov 29 04 12:58 pm

Hi,
I am trying out WG facilities for accounting and especially barring a user when the account goes negative which we would use for prepaid accounts. However, it seems from my observations that if I set the rules to bar if account goes negative it does not bar the user before the account is below -1. If I try to set the limit to +1 it seems to bar when the account is just below +1 (as it should). From my limited tests so far it seems there is a bug in the calculation so that the user will not be barred before he is below -1 rather than 0 as wanted. If the account f.ex. is at -0.5 you can still initiate a new Internet session that will eventually be blocked when account falls below -1.
???
Jens
 
Posts: 38
Joined: Jul 01 04 4:29 am

Postby Pascal » Dec 01 04 8:27 am

Where / how did you set this up? Through Policies?
Pascal

Qbik New Zealand
pascalv@qbik.com
http://www.qbik.com
Pascal
Qbik Staff
 
Posts: 2623
Joined: Sep 08 03 8:19 pm
Location: Auckland, New Zealand

Postby Jens » Dec 01 04 12:20 pm

Yes,
www proxy server - policies - Advanced: Not User, account balance less than 0.
Jens
 
Posts: 38
Joined: Jul 01 04 4:29 am

Postby Pascal » Dec 01 04 12:40 pm

Okay - that does look like a bug. The code will currently work only with absolute integer values. This has been added to the list of fixes for the next maintenance release.
Pascal

Qbik New Zealand
pascalv@qbik.com
http://www.qbik.com
Pascal
Qbik Staff
 
Posts: 2623
Joined: Sep 08 03 8:19 pm
Location: Auckland, New Zealand


Return to WinGate

Who is online

Users browsing this forum: No registered users and 12 guests

cron