Skip to content
This repository has been archived by the owner on Aug 27, 2022. It is now read-only.
/ lanai Public archive

Commit

Permalink
8250582: Revert Principal Name type to NT-UNKNOWN when requesting TGS…
Browse files Browse the repository at this point in the history
… Kerberos tickets

Reviewed-by: weijun
  • Loading branch information
martinuy committed Jul 25, 2020
1 parent bd00604 commit 3749a30
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ public static Credentials acquireServiceCreds(
String service, Credentials ccreds)
throws KrbException, IOException {
PrincipalName sname = new PrincipalName(service,
PrincipalName.KRB_NT_SRV_HST);
PrincipalName.KRB_NT_UNKNOWN);
return serviceCreds(sname, ccreds);
}

Expand Down

0 comments on commit 3749a30

Please sign in to comment.