multiOTP / multiOTPCredentialProvider

multiOTP Credential Provider is a V2 Credential Provider for Windows 7/8/8.1/10/2012(R2)/2016 with options like RDP only and UPN name support
Apache License 2.0
232 stars 77 forks source link

NTP error #38

Closed jonathanmmm closed 3 years ago

jonathanmmm commented 3 years ago

Hi,

I have the newest release from github installed 5.6.1.5.

If my time from system changes (sometimes this happens, around an hour earlier) I have to change the time on my phone manually to also the wrong time to get the right code.

I saw that in the config there is a time server pool.ntp.org, I live in Germany, maybe I have to change this to de.pool.ntp.org or something like that? On the login screen I can see my Laptop is connected via wifi, so this shouldn't be a problem.

multiOTP commented 3 years ago

Hello, By default, the "max_time_window=600" is set to 300 seconds, that's why you will have to change the time on your phone to be syncrhonized with the time of your server (+/- 300 seconds). You can also change your multiOTP setup by putting "max_time_window=3900" in order to allow 1 hour +/- 300 seconds of time window (in this case, please note that you can never type a token generated BEFORE the last accepted token). Time servers give always the same time based on UTC, pool.ntp.org or de.pool.ntp.org or any others will always give the same time. The only thing that you have to be sure is to set correctly your timezone in your OS. Regards,