Обсуждение: Kerberos connection question

Поиск
Список
Период
Сортировка

Kerberos connection question

От
xujian
Дата:
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