Chromad: UserAvatarImage and WallpaperImage not working |
|||
Issue descriptionThe two user policies don't work for Active Directory managed devices.
,
Mar 14 2018
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/a42f032712f98c56cd1d914ac9360276cd2e0539 commit a42f032712f98c56cd1d914ac9360276cd2e0539 Author: Lutz Justen <ljusten@chromium.org> Date: Wed Mar 14 14:55:18 2018 Fix UserAvatarImage and WallpaperImage for Chromad Both are 'external'-type policies, i.e. the images are not included in the policy, but downloaded separately. However, the mechanisms to download external user policies were not hooked up. This CL wires them up. Interestingly, DeviceWallpaperImage works fine. BUG= chromium:819561 TEST=out/Release/unit_tests --gtest_filter=ActiveDirectoryPolicyManagerTest.* Set UserAvatarImage and WallpaperImage on Windows Server and verified that it applies on a domain joined Chromebook. Change-Id: I8670a3e1ba0edcee31ed5753be92b021e9553bb0 Reviewed-on: https://chromium-review.googlesource.com/952903 Commit-Queue: Lutz Justen <ljusten@chromium.org> Reviewed-by: Maksim Ivanov <emaxx@chromium.org> Reviewed-by: Xiyuan Xia <xiyuan@chromium.org> Cr-Commit-Position: refs/heads/master@{#543084} [modify] https://crrev.com/a42f032712f98c56cd1d914ac9360276cd2e0539/chrome/browser/chromeos/login/users/chrome_user_manager_impl.cc [modify] https://crrev.com/a42f032712f98c56cd1d914ac9360276cd2e0539/chrome/browser/chromeos/policy/active_directory_policy_manager.cc [modify] https://crrev.com/a42f032712f98c56cd1d914ac9360276cd2e0539/chrome/browser/chromeos/policy/active_directory_policy_manager.h [modify] https://crrev.com/a42f032712f98c56cd1d914ac9360276cd2e0539/chrome/browser/chromeos/policy/active_directory_policy_manager_unittest.cc [modify] https://crrev.com/a42f032712f98c56cd1d914ac9360276cd2e0539/chrome/browser/chromeos/policy/cloud_external_data_policy_observer.cc [modify] https://crrev.com/a42f032712f98c56cd1d914ac9360276cd2e0539/chrome/browser/chromeos/policy/cloud_external_data_policy_observer.h [modify] https://crrev.com/a42f032712f98c56cd1d914ac9360276cd2e0539/chrome/browser/chromeos/policy/user_policy_manager_factory_chromeos.cc
,
Mar 19 2018
Also fixes the NativePrintersBulkConfiguration policy.
,
Apr 17 2018
Hi Lutz, When attempted to verify this bug, I have set UserAvatarImage and WallpaperImage policies on Windows Server (see attached screenshots), but they were not applied (policies.json and debug-logs attached). And looks like DeviceWallpaperImage also doesn't work. Could you please take a look? Chrome OS: 10575.4.0 Chrome: 67.0.3396.8 Device: Paine
,
Apr 18 2018
The URL is not sufficient. You have to put in JSON including the URL and a SHA256 hash (32 characters).
{"hash": "<SHA256 hash of image>", "url": "https://example.com/wallpaper.jpg"}
,
Apr 24 2018
Thanks, Lutz! I was able to configure UserAvatarImage and WallpaperImage policies (JSON attached), no issues. Chrome OS: 10575.12.0 Chrome: 67.0.3396.16 Device: Santa |
|||
►
Sign in to add a comment |
|||
Comment 1 by ljusten@chromium.org
, Mar 7 2018