From e54a16ae1ce45af4c250dbbbb13893b9a8dc2190 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Mon, 17 Mar 2008 14:09:44 -0400 Subject: Allow the realm to be included in the name passed to add_service_principal() This is more kerberos-like and it doesn't hurt anything, we just won't allow realms other than our own to be used. 437566 --- 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 767344b1..256c8789 100644 --- a/ipa-python/ipaerror.py +++ b/ipa-python/ipaerror.py @@ -158,6 +158,11 @@ INPUT_MALFORMED_SERVICE_PRINCIPAL = gen_error_code( 0x0005, "The requested service principal is not of the form: service/fully-qualified host name") +INPUT_REALM_MISMATCH = gen_error_code( + INPUT_CATEGORY, + 0x0006, + "The realm for the principal does not match the realm for this IPA server.") + # # Connection errors # -- cgit