Chromad: Get Kerberos files from authpolicyd

Desktop / Chromium - Roman Sorokin [chromium.org] - 9 August 2017 04:33 EDT

The goal is to let Chrome use the user's Kerberos ticket (through GSSAPI) to enable single sign-on to other services that use Active Directory authentication.

Fetches credential cache file and krb5.conf file for the user. Puts them on the user partition. Set environment variables for GSSAPI library.

Bug: 737960 Change-Id: Ie8ea1d0a3d032bf1cc647d579b7c908dd652c787 Reviewed-on: https://chromium-review.googlesource.com/555500

0a61d9e Chromad: Get Kerberos files from authpolicyd
.../authpolicy/auth_policy_credentials_manager.cc | 123 ++++++++++++++++++++-
.../authpolicy/auth_policy_credentials_manager.h | 21 ++++
.../auth_policy_credentials_manager_unittest.cc | 3 +-
.../login/enterprise_enrollment_browsertest.cc | 2 +-
chrome/browser/chromeos/login/login_browsertest.cc | 3 +-
.../active_directory_policy_manager_unittest.cc | 14 +++
chromeos/dbus/auth_policy_client.cc | 56 +++++++---
chromeos/dbus/auth_policy_client.h | 16 +++
chromeos/dbus/fake_auth_policy_client.cc | 52 +++++++--
chromeos/dbus/fake_auth_policy_client.h | 37 ++++++-
10 files changed, 284 insertions(+), 43 deletions(-)

Upstream: git.chromium.org


  • Share