Kerberos connection question - Mailing list pgsql-admin

From xujian
Subject Kerberos connection question
Date
Msg-id BAY181-W52C7524C68398E727A87E7A1570@phx.gbl
Whole thread Raw
List pgsql-admin
Hello,
       I have a question about kerberos connection, I enabled kerberos on server side. 
when I tried to connect to the server with psql , if I use hostname directly in -h, it would be failed.
======================================
psql -d postgres -p 5432 -h hostname.companyname.com
psql: GSSAPI continuation error: Unspecified GSS failure.  Minor code may provide more information
GSSAPI continuation error: Server not found in Kerberos database

I have to add the service account name before the hostname to make it work
psql -d postgres -p 5432 -h serviceaccount.hostname.companyname.com

is there any way to remove the service account name in the -h? Thanks in advance!

James

pgsql-admin by date:

Previous
From: koffi BADOH
Date:
Subject: Re: Dumping multiple tables with pg_admin: I'm wrong
Next
From: "Armand Pirvu (gmail)"
Date:
Subject: counting transactions