Skip to content

Commit 31753ef

Browse files
committedJul 25, 2020
8250582: Revert Principal Name type to NT-UNKNOWN when requesting TGS Kerberos tickets
Reviewed-by: weijun
1 parent 6c2ff17 commit 31753ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/java.security.jgss/share/classes/sun/security/krb5/internal/CredentialsUtil.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ public static Credentials acquireServiceCreds(
165165
String service, Credentials ccreds)
166166
throws KrbException, IOException {
167167
PrincipalName sname = new PrincipalName(service,
168-
PrincipalName.KRB_NT_SRV_HST);
168+
PrincipalName.KRB_NT_UNKNOWN);
169169
return serviceCreds(sname, ccreds);
170170
}
171171

0 commit comments

Comments
 (0)
Please sign in to comment.