diff options
author | Lutz Justen <ljusten@chromium.org> | 2017-04-11 16:45:18 +0200 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-04-17 14:06:20 -0700 |
commit | 00c3a429ab633a8d623c1c15746876b356d91ac6 (patch) | |
tree | 80daaa4fb0d9655ac377614f9126ffda5b2ea62a | |
parent | f425c1c372b0077a67937855f03f1089d0df7970 (diff) | |
download | system_api-00c3a429ab633a8d623c1c15746876b356d91ac6.tar.gz |
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 <ljusten@chromium.org>
Tested-by: Lutz Justen <ljusten@chromium.org>
Reviewed-by: Dan Erat <derat@chromium.org>
Reviewed-by: Roman Sorokin <rsorokin@chromium.org>
-rw-r--r-- | dbus/authpolicy/active_directory_account_data.proto | 14 |
1 files 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; } |