pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: xujian <jamesxu@outlook.com>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Kerberos connection question
Date: Fri, 4 Sep 2015 15:23:54 -0400
Message-ID: <BAY181-W52C7524C68398E727A87E7A1570@phx.gbl> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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.compsql: GSSAPI continuation error: Unspecified GSS failure.  Minor code may provide more informationGSSAPI continuation error: Server not found in Kerberos database
I have to add the service account name before the hostname to make it workpsql -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
 		 	   		  

Message-ID: <BAY181-W52C7524C68398E727A87E7A1570@phx.gbl>
Permalink:  ../BAY181-W52C7524C68398E727A87E7A1570@phx.gbl/
Also on:    postgresql.org/message-id/BAY181-W52C7524C68398E727A87E7A1570@phx.gbl

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: jamesxu@outlook.com
  Subject: Re: Kerberos connection question
  In-Reply-To: <BAY181-W52C7524C68398E727A87E7A1570@phx.gbl>
  References: <BAY181-W52C7524C68398E727A87E7A1570@phx.gbl>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox