From b7924139d895c7ebe019fbfc9c85fed3baae642e Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Fri, 28 Mar 2008 15:28:28 -0400 Subject: Don't allow the admin user to be removed using the XML-RPC Interface. If a site really wants it gone then can delete it via LDAP. 439281 --- ipa-python/ipaerror.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ipa-python') diff --git a/ipa-python/ipaerror.py b/ipa-python/ipaerror.py index 256c8789..9b9cefcc 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 # -- cgit