Offline AD token authentication error |
|||||
Issue descriptionVersion of Google Chrome (Wrench-> About Google Chrome): 65.0.3325.184 Able to sign in with AD credentials on AD joined machine but if I switch from network with AD server to a public wifi network, then sign out and sign back in I get a sign-in error message: failed to get authentication token.
,
May 22 2018
Let's not show the popup when the server is not available.
,
May 22 2018
In SambaInterface::GetUserStatus, we should try to access the server and return an appropriate error if we can't access the server.
,
May 22 2018
,
May 31 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/platform2/+/6fe5cb2ce235ac8e622d65957e31c0dc415f2722 commit 6fe5cb2ce235ac8e622d65957e31c0dc415f2722 Author: Lutz Justen <ljusten@chromium.org> Date: Thu May 31 03:38:50 2018 authpolicy: Ping server if TGT is not valid Currently, if the TGT is not valid as the user enters a session (e.g. after an offline login), Chrome shows a popup that the user has to log out and back in to get a new TGT. However, if the Active Directory server is unavailable, this fails and Chrome shows the popup again. This CL fixes this issue by pinging the server in GetUserStatus() if the TGT is not valid. If the ping fails, GetUserStatus() returns ERROR_NETWORK_PROBLEM and Chrome ignores the result and tries again an hour later. Also reworded some comments that seemed to indicate that AuthenticateUser() was never called, even though it was (and failed). BUG= chromium:844662 TEST=On an AD enrolled device, log in while offline. Chrome should NOT show the popup on login. Change-Id: I07920dcfcb6bcf5a05ec6d4de29bf57e4efedc1a Reviewed-on: https://chromium-review.googlesource.com/1072470 Commit-Ready: Lutz Justen <ljusten@chromium.org> Tested-by: Lutz Justen <ljusten@chromium.org> Reviewed-by: Roman Sorokin <rsorokin@chromium.org> [modify] https://crrev.com/6fe5cb2ce235ac8e622d65957e31c0dc415f2722/authpolicy/authpolicy.gyp [modify] https://crrev.com/6fe5cb2ce235ac8e622d65957e31c0dc415f2722/authpolicy/authpolicy_unittest.cc [modify] https://crrev.com/6fe5cb2ce235ac8e622d65957e31c0dc415f2722/authpolicy/stub_common.h [modify] https://crrev.com/6fe5cb2ce235ac8e622d65957e31c0dc415f2722/authpolicy/samba_interface.cc [modify] https://crrev.com/6fe5cb2ce235ac8e622d65957e31c0dc415f2722/authpolicy/samba_interface.h [modify] https://crrev.com/6fe5cb2ce235ac8e622d65957e31c0dc415f2722/authpolicy/stub_common.cc [modify] https://crrev.com/6fe5cb2ce235ac8e622d65957e31c0dc415f2722/authpolicy/stub_net_main.cc
,
Jun 9 2018
,
Jun 20 2018
Verified fixed, on an AD enrolled device, log in while offline - Chrome does NOT show the "relog" popup on login. Chrome OS: 10798.0.0 Chrome: 69.0.3464.0 Device: Robo |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by ljusten@chromium.org
, May 21 2018Owner: aghuie@chromium.org