with the KRB5_PRINCIPAL_PARSE_NO_REALM flag. Otherwise we'll wind up
using the default realm (and then ignoring it) which fails if one
isn't configured.
ticket: 6934
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25050
dc483132-0cff-0310-8789-
dd5450dbe970
if (ret != 0)
return ret;
- ret = krb5_parse_name_flags(context, pac_princname, 0, &pac_principal);
+ ret = krb5_parse_name_flags(context, pac_princname,
+ KRB5_PRINCIPAL_PARSE_NO_REALM, &pac_principal);
if (ret != 0) {
free(pac_princname);
return ret;