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

2008-01-30 Thread Tom Lane
Magnus Hagander [EMAIL PROTECTED] 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

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

2008-01-28 Thread Magnus Hagander
On Sun, Jan 27, 2008 at 09:51:48PM -0500, Tom Lane wrote: Stephen Frost [EMAIL PROTECTED] writes: * Tom Lane ([EMAIL PROTECTED]) wrote: Whilst trying to reproduce bug #3902 I noticed that the code doesn't work with an abbreviated host name: Testing w/ 8.3RC2, everything seems to be

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

2008-01-28 Thread Magnus Hagander
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

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

2008-01-28 Thread Tom Lane
Magnus Hagander [EMAIL PROTECTED] 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

[HACKERS] GSSAPI doesn't play nice with non-canonical host names

2008-01-27 Thread Tom Lane
Whilst trying to reproduce bug #3902 I noticed that the code doesn't work with an abbreviated host name: $ psql -l -h rh2.sss.pgh.pa.us List of databases ... everything's fine ... $ psql -l -h rh2 psql: GSSAPI continuation error: Unspecified GSS failure. Minor code

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

2008-01-27 Thread Stephen Frost
* Tom Lane ([EMAIL PROTECTED]) wrote: Whilst trying to reproduce bug #3902 I noticed that the code doesn't work with an abbreviated host name: $ psql -l -h rh2.sss.pgh.pa.us List of databases ... everything's fine ... $ psql -l -h rh2 psql: GSSAPI

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

2008-01-27 Thread Tom Lane
Stephen Frost [EMAIL PROTECTED] writes: * Tom Lane ([EMAIL PROTECTED]) wrote: Whilst trying to reproduce bug #3902 I noticed that the code doesn't work with an abbreviated host name: Testing w/ 8.3RC2, everything seems to be working fine here: Okay, that probably means there's something