aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLutz Justen <ljusten@chromium.org>2018-07-18 16:55:58 +0200
committerchrome-bot <chrome-bot@chromium.org>2018-07-19 06:12:26 -0700
commit78d910462f762d6abfdfc6d3d3ada185a47be2c1 (patch)
treea9f5e4c1d6d06898680dfcec58e547c1c052457e
parentec1037793be74c602f3edfea04c574286315351e (diff)
downloadsystem_api-78d910462f762d6abfdfc6d3d3ada185a47be2c1.tar.gz
authpolicy: Add ERROR_OU_CONSTRAINT_VIOLATION
The error is use to improve the error message in Chrome when an unprivileged user tries to join a device with a machine name that already exists elsewhere. BUG=chromium:864997 TEST=Tested on device Change-Id: I6c407cd04fb60712b00f2653d12f204c4758982b Reviewed-on: https://chromium-review.googlesource.com/1141955 Commit-Ready: Lutz Justen <ljusten@chromium.org> Tested-by: Lutz Justen <ljusten@chromium.org> Reviewed-by: Roman Sorokin <rsorokin@chromium.org>
-rw-r--r--dbus/authpolicy/active_directory_info.proto4
1 files changed, 3 insertions, 1 deletions
diff --git a/dbus/authpolicy/active_directory_info.proto b/dbus/authpolicy/active_directory_info.proto
index aa85c12..97f3c91 100644
--- a/dbus/authpolicy/active_directory_info.proto
+++ b/dbus/authpolicy/active_directory_info.proto
@@ -97,8 +97,10 @@ enum ErrorType {
ERROR_KDC_DOES_NOT_SUPPORT_ENCRYPTION_TYPE = 36;
// Kpasswd exited with unspecified error.
ERROR_KPASSWD_FAILED = 37;
+ // Setting computer organizational unit failed with constraint violation.
+ ERROR_OU_CONSTRAINT_VIOLATION = 38;
// Should be the last.
- ERROR_COUNT = 38;
+ ERROR_COUNT = 39;
}
// Message sent to Chrome by authpolicyd as a response of a successful