Обсуждение: problems with authentication

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

problems with authentication

От
"Chris Hoover"
Дата:
Once again, I am in need of some assistance.

I have been handed a postgresql 7.2.1 db running on an AIX platform that
is suddenly having authentication errors.  We are not sure what has
happened, but starting last Friday we started having the following in
the log files.

Password is stored MD5 encrypted.  'password' and 'crypt' auth methods
cannot be used.
FATAL 1:  Password authentication failed for user "<user-name>"

Can anyone direct me on what/where to look for fixing this issue?  I am
not familiar with this version of Postgresql or with it running on AIX.

thanks for any help.

Chris



Re: problems with authentication

От
Tom Lane
Дата:
"Chris Hoover" <revoohc@sermonaudio.com> writes:
> I have been handed a postgresql 7.2.1 db running on an AIX platform that
> is suddenly having authentication errors.  We are not sure what has
> happened, but starting last Friday we started having the following in
> the log files.

> Password is stored MD5 encrypted.  'password' and 'crypt' auth methods
> cannot be used.
> FATAL 1:  Password authentication failed for user "<user-name>"

Sounds like you started storing some passwords MD5-encrypted ;-)

This doesn't "just happen".  Either you issued CREATE/ALTER USER WITH
ENCRYPTED PASSWORD, or you set password_encryption to ON so that that
would be the default behavior.

> Can anyone direct me on what/where to look for fixing this issue?  I am
> not familiar with this version of Postgresql or with it running on AIX.

On this point I think it's the same as later versions.

            regards, tom lane