From 00c3a429ab633a8d623c1c15746876b356d91ac6 Mon Sep 17 00:00:00 2001 From: Lutz Justen Date: Tue, 11 Apr 2017 16:45:18 +0200 Subject: authpolicy: Add SAM account name to account info protobuf The SAM account name is reported back to Chrome, where it is going to be used to update the user's logon name displayed in Chrome (part before @). Note that the user's logon name might change in Active Directory. CQ-DEPEND=CL:474032 BUG=chromium:710452 TEST=Compiled, ran tests. Change-Id: I74a42b5c2f5631e282533f29a4a6402e9f6b9978 Reviewed-on: https://chromium-review.googlesource.com/474866 Commit-Ready: Lutz Justen Tested-by: Lutz Justen Reviewed-by: Dan Erat Reviewed-by: Roman Sorokin --- dbus/authpolicy/active_directory_account_data.proto | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/dbus/authpolicy/active_directory_account_data.proto b/dbus/authpolicy/active_directory_account_data.proto index 063865f..27d0c66 100644 --- a/dbus/authpolicy/active_directory_account_data.proto +++ b/dbus/authpolicy/active_directory_account_data.proto @@ -12,12 +12,16 @@ package authpolicy; // AuthenticateUser call. Contains information about authenticated user fetched // from Active Directory server. message ActiveDirectoryAccountData { - // Unique id of the user account. Active Directory Object GUID is used. + // Unique id of the user account. Taken from the objectGUID property of the + // Active Directory user account information. optional string account_id = 1; - // Display name of the user. |displayName| key of the Active Directory user - // account information is used. + // Display name of the user. Taken from the displayName property of the Active + // account information. optional string display_name = 2; - // Given name of the user. AKA first name. |givenName| key of the Active - // Directory user account information is used. + // Given name of the user. AKA first name. Taken from givenName property of + // the Active Directory user account information. optional string given_name = 3; + // Logon name of the user (without @realm). Taken from the sAMAccountName + // property of the Active Directory user account information. + optional string sam_account_name = 4; } -- cgit v1.2.3