summaryrefslogtreecommitdiffstats
path: root/ipa-python
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2008-04-25 17:01:31 -0400
committerRob Crittenden <rcritten@redhat.com>2008-05-08 12:57:31 -0400
commit24f43bc8467f1ded94aec03e00f05138de563ee8 (patch)
treeabc77263aee9eec101deb49dc4f68a8454619c6f /ipa-python
parent2bb64e404c9d96532b5619b5801532d96f4ebb1f (diff)
downloadfreeipa-24f43bc8467f1ded94aec03e00f05138de563ee8.tar.gz
freeipa-24f43bc8467f1ded94aec03e00f05138de563ee8.tar.xz
freeipa-24f43bc8467f1ded94aec03e00f05138de563ee8.zip
Don't allow the IPA server service principals to be removed.
440282
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 4f641f98..925f510f 100644
--- a/ipa-python/ipaerror.py
+++ b/ipa-python/ipaerror.py
@@ -178,6 +178,11 @@ INPUT_ADMIN_REQUIRED_IN_ADMINS = gen_error_code(
0x0009,
"The admin user cannot be removed from the admins group.")
+INPUT_SERVICE_PRINCIPAL_REQUIRED = gen_error_code(
+ INPUT_CATEGORY,
+ 0x000A,
+ "You cannot remove IPA server service principals.")
+
#
# Connection errors
#