Set princ type to NT-SMTP-NAME when parsing
commit961f543a27ce552aab3ffe68c3dd69251d2cb576
authorJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 11 Nov 2016 23:44:32 +0000 (11 17:44 -0600)
committerNicolas Williams <nico@twosigma.com>
Tue, 15 Nov 2016 03:29:47 +0000 (14 21:29 -0600)
tree78c75cf038e2f77729ab1a37ce4e2ed5f62e24bc
parent6a1db3fb1c47405f0270c492139840447b94e00a
Set princ type to NT-SMTP-NAME when parsing

In krb5_parse_name_flags(), if the principal name is not an enterprise
name, is one component in length and contains an '@', set the principal
type to NT-SMTP-NAME as specified by RFC 4120.
lib/krb5/principal.c