Re: Application trying to use wrong user when logging into the database

Поиск
Список
Период
Сортировка
От Bzzzz
Тема Re: Application trying to use wrong user when logging into the database
Дата
Msg-id 20210328160004.58d5426d@msi.defcon1.lan
обсуждение исходный текст
Ответ на Application trying to use wrong user when logging into the database  (Simon Connah <simon.n.connah@protonmail.com>)
Ответы Re: Application trying to use wrong user when logging into the database  (Simon Connah <simon.n.connah@protonmail.com>)
Список pgsql-novice
On Sun, 28 Mar 2021 13:44:59 +0000
Simon Connah <simon.n.connah@protonmail.com> wrote:

Hi,

>  But instead of using my
> applications role which I created in PostgreSQL it is trying to use my
> Linux user name "simon" and is failing authentication because of it.
> I'm just confused at the moment. At no point in time have I created a
> role called "simon" and I have never tried to connect to any of my
> databases using the role name "simon", so why is it trying to
> authenticate as "simon"?

Read this and check you're not in this case :

https://www.dbrnd.com/2016/12/postgresql-pg_ident-conf-to-map-operating-system-username-and-database-username-external-authentication-password/

Jean-Yves



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

Предыдущее
От: Simon Connah
Дата:
Сообщение: Application trying to use wrong user when logging into the database
Следующее
От: Simon Connah
Дата:
Сообщение: Re: Application trying to use wrong user when logging into the database