summaryrefslogtreecommitdiffstats
path: root/ipa-python
diff options
context:
space:
mode:
Diffstat (limited to 'ipa-python')
-rw-r--r--ipa-python/ipaerror.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/ipa-python/ipaerror.py b/ipa-python/ipaerror.py
index 256c87891..9b9cefccf 100644
--- a/ipa-python/ipaerror.py
+++ b/ipa-python/ipaerror.py
@@ -163,6 +163,11 @@ INPUT_REALM_MISMATCH = gen_error_code(
0x0006,
"The realm for the principal does not match the realm for this IPA server.")
+INPUT_ADMIN_REQUIRED = gen_error_code(
+ INPUT_CATEGORY,
+ 0x0007,
+ "The admin user cannot be deleted.")
+
#
# Connection errors
#