Switch to full style
Use this forum to post questions relating to WinGate, feature requests, technical or configuration problems
Post a reply

Accounting - barring negative accounts

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.
???

Dec 01 04 8:27 am

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

Dec 01 04 12:20 pm

Yes,
www proxy server - policies - Advanced: Not User, account balance less than 0.

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.
Post a reply