From 7fbfdb6fd977bcd3e37263ded46196f965b8c958 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Wed, 10 Jun 1992 22:36:52 +0000 Subject: [PATCH] Added principal type of NT_SRV_HST git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2293 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/os/sn2princ.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/krb5/os/sn2princ.c b/src/lib/krb5/os/sn2princ.c index fe4b243ca..716b127ee 100644 --- a/src/lib/krb5/os/sn2princ.c +++ b/src/lib/krb5/os/sn2princ.c @@ -81,6 +81,8 @@ OLDDECLARG(krb5_principal *,ret_princ) retval = krb5_build_principal(ret_princ, strlen(hrealms[0]), hrealms[0], sname, remote_host, (char *)0); + krb5_princ_type(principal) = KRB5_NT_SRV_HST; + free(remote_host); krb5_free_host_realm(hrealms); return retval; -- 2.26.2