time limit seems to apply to all users

Asked by Kim

another problem/bug

when i set a time limit 10 minute and a expiry of 1 day it seems to be applied for all connecting users.
is this a bug or am i missing something here?

Question information

Language:
English Edit question
Status:
Solved
For:
AuthPuppy Edit question
Assignee:
No assignee Edit question
Solved by:
Kim
Solved:
Last query:
Last reply:
Revision history for this message
gbastien (gbastien02) said :
#1

Are you using the apConnectionPoliciesPlugin? And yes, all users will be concerned by the policy, at least those connecting with the auth type you specified in the policy.

Revision history for this message
Kim (kpm) said :
#2

yes i am. But what good is timing a connection if one duration affects all users.

example; i log in with my laptop and after 10 minutes my account gets blocked. Any other connection (my tablet for example) will also be blocked.
i assumed every MAC address of User would get his own 10 minutes....shouldn't it be like that?

Revision history for this message
gbastien (gbastien02) said :
#3

Yes that's how it is supposed to be...

What authenticators have you enabled? Check the statistics (either with the apStatisticsPlugin or in the database Connection table) and make sure all connected users have a different 'identity' value.

Revision history for this message
Kim (kpm) said :
#4

but then it's totally useless. If i want to facilitate splash only login for guests they can only use it for the first 10 minutes of each day??

eg. the first customer comes in at 9am an uses internet for 10 minutes (our identity limit). After that all other splash users can;t use internet anymore????

this can't be right?? can you confirm

Revision history for this message
Kim (kpm) said :
#5

they have different identies, i have selected te option of using a MAC address as identiy but i am still refused access.

Revision history for this message
gbastien (gbastien02) said :
#6

If what you want to do is give 10 minutes of access every day, you should use the time window of 1 day instead of the expiration.

Expiration will expire you from the very first connection your machine ever made on the network, so you will never be able to connect again after 10 minutes of access. That is useful when you create an account that will be used for x time and expires after. For splash-only uses like the one you wish to do, I think, the time window makes more sense.

Revision history for this message
Kim (kpm) said :
#7

expiration is set to 2 minutes
surftime set to 10 minutes per day (just for testing, eventually it will be 1 hour a day).

both authenticators are on, local user and splash but i am testing with splash only since that will be the one used.

now all users are kicked when one user reaches 10 minutes....

Revision history for this message
gbastien (gbastien02) said :
#8

Did you try by setting the time window on the policy instead of expiration?

Revision history for this message
Kim (kpm) said :
#9

i will give that a try on monday, thanks for your response :)

Revision history for this message
Kim (kpm) said :
#10

thanks your advice did the trick :-)