From: Theodore Tso Date: Wed, 10 Jun 1992 22:36:52 +0000 (+0000) Subject: Added principal type of NT_SRV_HST X-Git-Tag: krb5-1.0-beta2~169 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7fbfdb6fd977bcd3e37263ded46196f965b8c958;p=krb5.git Added principal type of NT_SRV_HST git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2293 dc483132-0cff-0310-8789-dd5450dbe970 --- 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;