use server name for referral decision
This commit is contained in:
@@ -898,7 +898,7 @@ get_cred_kdc_referral(krb5_context context,
|
||||
int loop = 0;
|
||||
int ok_as_delegate = 1;
|
||||
|
||||
if (in_creds->client->name.name_string.len < 2 && !flags.b.canonicalize) {
|
||||
if (in_creds->server->name.name_string.len < 2 && !flags.b.canonicalize) {
|
||||
krb5_set_error_message(context, KRB5KDC_ERR_PATH_NOT_ACCEPTED,
|
||||
N_("Name too short to do referals, skipping", ""));
|
||||
return KRB5KDC_ERR_PATH_NOT_ACCEPTED;
|
||||
|
Reference in New Issue
Block a user