Re: GSSAPI doesn't play nice with non-canonical host names - Mailing list pgsql-hackers

From Tom Lane
Subject Re: GSSAPI doesn't play nice with non-canonical host names
Date
Msg-id 24324.1201732027@sss.pgh.pa.us
Whole thread Raw
In response to Re: GSSAPI doesn't play nice with non-canonical host names  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes:
> On Sun, Jan 27, 2008 at 09:32:54PM -0500, Stephen Frost wrote:
>>> 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.  Can't we persuade GSSAPI to produce
>>> something more user-friendly?  At least convert "7" to "Server not
>>> found in Kerberos database"?
>> 
>> I agree, and have found it to be very frustrating while working w/
>> Kerberos in general.  I *think* there's a library which can convert
>> those error-codes (libcomm-err?), but I've not really looked into it
>> yet.

> 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 found it:
https://bugzilla.redhat.com/show_bug.cgi?id=430983

The best fix is not entirely clear, but in any case it's not our bug.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Will PostgreSQL get ported to CUDA?
Next
From: Decibel!
Date:
Subject: Re: [PATCHES] Better default_statistics_target