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
This commit is contained in:
Rob Crittenden
2008-03-28 15:28:28 -04:00
parent 034d9d6753
commit b7924139d8
2 changed files with 7 additions and 0 deletions
+5
View File
@@ -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
#