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
This commit is contained in:
Rob Crittenden
2008-03-17 14:09:44 -04:00
parent c3fedca013
commit e54a16ae1c
2 changed files with 11 additions and 3 deletions

View File

@@ -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
#