Do argument type checking in the XML-RPC interface

Fix error in service principals where the service wasn't being removed before
doing the DNS lookup.
This commit is contained in:
Rob Crittenden
2008-02-29 10:58:07 -05:00
parent cc3b9cddef
commit 79557e6bf2
2 changed files with 154 additions and 60 deletions

View File

@@ -153,6 +153,11 @@ INPUT_ADMINS_IMMUTABLE = gen_error_code(
0x0004,
"The admins group cannot be renamed.")
INPUT_MALFORMED_SERVICE_PRINCIPAL = gen_error_code(
INPUT_CATEGORY,
0x0005,
"The requested service principal is not of the form: service/fully-qualified host name")
#
# Connection errors
#