From: | Christoph Moench-Tegeder <cmt(at)burggraben(dot)net> |
---|---|
To: | Ted To <ted(at)theo(dot)to> |
Cc: | pgsql-general(at)lists(dot)postgresql(dot)org |
Subject: | Re: Ident authentication failed |
Date: | 2020-03-26 20:33:51 |
Message-ID: | 20200326203351.GA2460@elch.exwg.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
## Ted To (ted(at)theo(dot)to):
> Thank you -- I added two lines to the hba file to allow for ident
> authentication, restarted postgres and still the same errors.
You probably don't want "ident" authentication - that's the thing
with "identd" (see RfC 1413), which even 20 years ago was only used
in connection with IRC, but not really for "authentication".
You'd rather want "scram-sha-256" as the authentication method (hoping
that whatever-go-uses can do that - come on, we got that in version 10),
or (if that's not possible) "md5". See
https://www.postgresql.org/docs/12/auth-methods.html and
https://www.postgresql.org/docs/12/auth-pg-hba-conf.html .
Note that "password_encryption" has to match that authentication method
from pg_hba.conf, that's described in
https://www.postgresql.org/docs/12/auth-password.html .
Regards,
Christoph
--
Spare Space
From | Date | Subject | |
---|---|---|---|
Next Message | Ted To | 2020-03-26 20:54:09 | Re: Ident authentication failed |
Previous Message | Adrian Klaver | 2020-03-26 20:24:05 | Re: Ident authentication failed |