[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gss_display_name escaping space?
On Tue, 12 Jun 2007 15:25:06 -0700
Love Hörnquist Åstrand <lha@kth.se> wrote:
>
> 12 jun 2007 kl. 14.58 skrev Michael B Allen:
>
> > On Tue, 12 Jun 2007 14:23:13 -0700
> > "Henry B. Hotz" <hotz@jpl.nasa.gov> wrote:
> >
> >> Ar you sure this is an error?
> >>
> >> As long as putting the returned display name back into gssapi gets
> >> you the right internal representation I think it's standards
> >> conforming.
> >
> > No and yes.
> >
> > No, it seems it is not a bug according to the spec.
> >
> > However, IMO, it is a bug to insert a backslash into a string that is
> > supposed to be used for display purposes.
> >
>
> So having krb5_parse_name(krb5_unparse_name(p)) != p is bad, programs
> should eat their own format. That said, see the new newly commited
> lib/krb5/principal.c the test case for it (test_principal.c).
>
> You should be able to pull over principal.c to 0.7.2 without too much
> effort
> with some parts of krb5.h
Excellent. Thanks.
Mike