Re: [GENERAL] Auth problem in pg_hdba.conf

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>
Cc: Uros Gruber <uros(at)sir-mag(dot)com>, PostgreSQL odbc list <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: [GENERAL] Auth problem in pg_hdba.conf
Date: 2002-04-27 23:26:18
Message-ID: 200204272326.g3RNQIl25772@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-odbc

Hiroshi Inoue wrote:
> > > >> Hi!
> > > >>
> > > >> I wan't to use md5 passwords so i set in pg_hba.conf
> > > >>
> > > >>
> > > >> host all 0.0.0.0 0.0.0.0 md5
> > > >>
> > > >> Then i add some users with PGAdminII and when i check in
> > > >> pg_shadow there were md5 hashes like this
> > > >>
> > > >> md5053b5de16e........................
> > > >>
> > > >> When i try to connect with that user it failed with error
> > > >> wrong password.
>
> Just a confirmation.
> Did you use the original password not the above md5053b5de... ?

Also, is the user using CREATE/ALTER USER to set the password rather
than updating pg_shadow. If they are updating pg_shadow, I assume they
are prepending 'md5' to the string.

Also, does md5 work from psql?

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ron Snyder 2002-04-28 00:01:19 How to track down inconsistent performance?
Previous Message Hiroshi Inoue 2002-04-27 23:05:02 Re: [GENERAL] Auth problem in pg_hdba.conf

Browse pgsql-odbc by date

  From Date Subject
Next Message Dave Page 2002-04-28 19:50:53 Re: [GENERAL] Auth problem in pg_hdba.conf
Previous Message Hiroshi Inoue 2002-04-27 23:05:02 Re: [GENERAL] Auth problem in pg_hdba.conf