You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by Delvain Mbina <De...@savemart.com> on 2023/09/01 20:18:15 UTC
RE: TOTP Verification Failed During MFA Enrollment
Hi Daniel,
Attached are my current NTP and local time settings. Do you think I should change the NTP synchronized flag to "yes"?
Best,
Delvain Mbina
Security Operations Engineer
M: (209) 305-0215
The Save Mart Companies
1600 Yosemite Blvd., Modesto, CA 95354
-----Original Message-----
From: Daniel Carroll <ap...@defiant.coloradomesa.edu>
Sent: Wednesday, August 30, 2023 10:57 AM
To: user@guacamole.apache.org
Subject: Re: TOTP Verification Failed During MFA Enrollment
Hi Delvain,
Have you checked to confirm that your server and TOTP app times are within a second of each other (e.g. synced to NTP)?
If they differ by by ~15 seconds, I would expect about half of the TOTP verifications to fail.
Regards,
- Daniel
-----Original Message-----
From: Delvain Mbina <De...@savemart.com>
Sent: Wed Aug 30 2023 11:47:23 MDT
Subject: Re: TOTP Verification Failed During MFA Enrollment
Hi there,
Does anyone have an idea of what causes this random and persistent "Verification Failed" issue?
Best,
Delvain Mbina
Security Operations Engineer
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org
Re: TOTP Verification Failed During MFA Enrollment
Posted by Daniel Carroll <ap...@defiant.coloradomesa.edu>.
Hi Delvain,
If it's a setting that you can change, setting it to "yes" is advisable.
However, I'm guessing that "no" refers to the state of the system (that it's currently not in sync with whatever it considers the NTP servers).
Regardless, check and see how much the server's time differs from your phone's time (estimate how much they're out of sync). This is what is most important.
Use the 'date' command from the server CLI to get it's current time, and compare that with your phone's time (if you can't see how many seconds past the minute your phone is, then check the server time when your phone rolls over to a new minute).
Also, if you have the ntpdate command available to you, look for output similar to the following (the IPs will differ, but the stratums should be 1, 2, or 3, and the offsets should be well under 1/10th of a second).
$ ntpdate -q pool.ntp.org
server 217.180.209.214, stratum 1, offset -0.008099, delay 0.08443
server 129.250.35.251, stratum 2, offset -0.003139, delay 0.04790
server 73.239.145.47, stratum 2, offset -0.002151, delay 0.07530
server 108.61.73.244, stratum 2, offset 0.000496, delay 0.08293
1 Sep 15:55:51 ntpdate[1407038]: adjust time server 217.180.209.214 offset -0.008099 sec
Regards,
- Daniel
-----Original Message-----
From: Delvain Mbina
Sent: Fri Sep 01 2023 14:18:15 MDT
Subject: Re: TOTP Verification Failed During MFA Enrollment
Hi Daniel,
Attached are my current NTP and local time settings. Do you think I should change the NTP synchronized flag to "yes"?
Best,
-----Original Message-----
From: Daniel Carroll
Sent: Wed Aug 30 2023 10:57:00 MDT
Subject: Re: TOTP Verification Failed During MFA Enrollment
Hi Delvain,
Have you checked to confirm that your server and TOTP app times are within a second of each other (e.g. synced to NTP)?
If they differ by by ~15 seconds, I would expect about half of the TOTP verifications to fail.
-----Original Message-----
From: Delvain Mbina
Sent: Wed Aug 30 2023 11:47:23 MDT
Subject: Re: TOTP Verification Failed During MFA Enrollment
Hi there,
Does anyone have an idea of what causes this random and persistent "Verification Failed" issue?
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
For additional commands, e-mail: user-help@guacamole.apache.org
Re: TOTP Verification Failed During MFA Enrollment
Posted by Nick Couchman <vn...@apache.org>.
In the screenshot you attached the local and UTC clocks are off from the
RTC by about 35 seconds. Since tokens are usually timed for 30 seconds, my
suspicion is that this is what is causing TOTP logins to fail consistently.
Forcing a sync of the time, and then making sure that it is configured to
keep synchronized may be a solution to your issue.
# timedatectl
Local time: Fri 2023-09-01 18:21:53 EDT
Universal time: Fri 2023-09-01 22:21:53 UTC
RTC time: Fri 2023-09-01 22:21:53
Time zone: America/New_York (EDT, -0400)
NTP enabled: yes
NTP synchronized: yes
RTC in local TZ: no
DST active: yes
Last DST change: DST began at
Sun 2023-03-12 01:59:59 EST
Sun 2023-03-12 03:00:00 EDT
Next DST change: DST ends (the clock jumps one hour backwards) at
Sun 2023-11-05 01:59:59 EDT
Sun 2023-11-05 01:00:00 EST
-Nick
On Fri, Sep 1, 2023 at 4:19 PM Delvain Mbina <De...@savemart.com>
wrote:
> Hi Daniel,
>
> Attached are my current NTP and local time settings. Do you think I should
> change the NTP synchronized flag to "yes"?
>
> Best,
>
> Delvain Mbina
> Security Operations Engineer
>
> M: (209) 305-0215
>
>
> The Save Mart Companies
>
> 1600 Yosemite Blvd., Modesto, CA 95354
>
>
>
> -----Original Message-----
> From: Daniel Carroll <ap...@defiant.coloradomesa.edu>
> Sent: Wednesday, August 30, 2023 10:57 AM
> To: user@guacamole.apache.org
> Subject: Re: TOTP Verification Failed During MFA Enrollment
>
> Hi Delvain,
>
> Have you checked to confirm that your server and TOTP app times are within
> a second of each other (e.g. synced to NTP)?
> If they differ by by ~15 seconds, I would expect about half of the TOTP
> verifications to fail.
> Regards,
>
> - Daniel
>
> -----Original Message-----
> From: Delvain Mbina <De...@savemart.com>
> Sent: Wed Aug 30 2023 11:47:23 MDT
> Subject: Re: TOTP Verification Failed During MFA Enrollment
>
> Hi there,
>
> Does anyone have an idea of what causes this random and persistent
> "Verification Failed" issue?
>
> Best,
>
> Delvain Mbina
> Security Operations Engineer
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
> For additional commands, e-mail: user-help@guacamole.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
> For additional commands, e-mail: user-help@guacamole.apache.org
Re: TOTP Verification Failed During MFA Enrollment
Posted by Victor Krutov <kr...@gmail.com>.
2FA may fail due to the phone time settings too, say, if you switch from
network time assigned to manual and set exactly the same time, OTP will
stop working.
пт, 1 сент. 2023 г. в 15:18, Delvain Mbina <De...@savemart.com>:
> Hi Daniel,
>
> Attached are my current NTP and local time settings. Do you think I should
> change the NTP synchronized flag to "yes"?
>
> Best,
>
> Delvain Mbina
> Security Operations Engineer
>
> M: (209) 305-0215
>
>
> The Save Mart Companies
>
> 1600 Yosemite Blvd., Modesto, CA 95354
>
>
>
> -----Original Message-----
> From: Daniel Carroll <ap...@defiant.coloradomesa.edu>
> Sent: Wednesday, August 30, 2023 10:57 AM
> To: user@guacamole.apache.org
> Subject: Re: TOTP Verification Failed During MFA Enrollment
>
> Hi Delvain,
>
> Have you checked to confirm that your server and TOTP app times are within
> a second of each other (e.g. synced to NTP)?
> If they differ by by ~15 seconds, I would expect about half of the TOTP
> verifications to fail.
> Regards,
>
> - Daniel
>
> -----Original Message-----
> From: Delvain Mbina <De...@savemart.com>
> Sent: Wed Aug 30 2023 11:47:23 MDT
> Subject: Re: TOTP Verification Failed During MFA Enrollment
>
> Hi there,
>
> Does anyone have an idea of what causes this random and persistent
> "Verification Failed" issue?
>
> Best,
>
> Delvain Mbina
> Security Operations Engineer
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
> For additional commands, e-mail: user-help@guacamole.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@guacamole.apache.org
> For additional commands, e-mail: user-help@guacamole.apache.org