Re: GSSAPI doesn't play nice with non-canonical host names

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: GSSAPI doesn't play nice with non-canonical host names
Date: 2008-01-28 16:39:50
Message-ID: 3048.1201538390@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Magnus Hagander <magnus(at)hagander(dot)net> writes:
>>> While I'm complaining: that's got to be one of the least useful error
>>> messages I've ever seen, and it's for a case that's surely going to be
>>> fairly common in practice.

> AFAIK, that one is for Kerberos only. For GSSAPI, we already use the
> gss_display_status function to get the error messages. I think the problem
> here is in the Kerberos library?

Yeah, I had verified by tracing through it that the text was just what
gss_display_status gave us. It could be that it's just plain broken,
but I was sort of hoping that we were using it incorrectly or that
there's some magic flag to set to get better messages out of it.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Gevik Babakhani 2008-01-28 16:40:25 Re: system catalog constraints question
Previous Message Tom Lane 2008-01-28 16:36:02 Re: CLUSTER and synchronized scans and pg_dump et al