Use KRB5_PRINCIPAL_UNPARSE_DISPLAY, this is not ment for machine consumption.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21077 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2007-06-12 22:42:56 +00:00
parent d8e764f7c0
commit a8699b8454

View File

@@ -50,7 +50,8 @@ OM_uint32 _gsskrb5_display_name
GSSAPI_KRB5_INIT (&context);
kret = krb5_unparse_name (context, name, &buf);
kret = krb5_unparse_name_flags (context, name,
KRB5_PRINCIPAL_UNPARSE_DISPLAY, &buf);
if (kret) {
*minor_status = kret;
return GSS_S_FAILURE;