Re: Unable to get PostgreSQL 15 with Kerberos (GSS) working

Поиск
Список
Период
Сортировка
От Matthew Dennison
Тема Re: Unable to get PostgreSQL 15 with Kerberos (GSS) working
Дата
Msg-id E65D37C9-D2F2-48FE-9B16-534CB32E25F0@matty-uk.co.uk
обсуждение исходный текст
Ответ на Re: Unable to get PostgreSQL 15 with Kerberos (GSS) working  (Stephen Frost <sfrost@snowman.net>)
Ответы Re: Unable to get PostgreSQL 15 with Kerberos (GSS) working
Список pgsql-general
Sorry, yes I tried that and received the same results.

Sent from my iPhone

On 28 Feb 2024, at 17:11, Stephen Frost <sfrost@snowman.net> wrote:

Greetings,

* Matthew Dennison (mail@matty-uk.co.uk) wrote:
I have subsequence discovered that the psql command running from remote Windows (server/client) and RHEL8 works as expected using GSS.  PGAdmin4 also works via Kerberos (was on my list of things to get working).  It's just locally on the server psql will not work to postgresql running on the same server.

I really don't get it, but have decided I can live without it working on the server.

Perhaps I wasn't clear- it's not going to work if you do:

psql -h localhost

Instead, try doing:

psql -h hostname.mydomain.net -U postgres -d postgres

Basically, Kerberos isn't really set up to work when the host you're
connecting to is named 'localhost' because the name of the host is how
you figure out what ticket to acquire from the KDC.

Thanks,

Stephen
Вложения

В списке pgsql-general по дате отправления:

Предыдущее
От: Sasmit Utkarsh
Дата:
Сообщение: Re: Need Assistance: Command to display procedures does not work
Следующее
От: normandavis1990
Дата:
Сообщение: Moving PostgreSQL servers to a new server