Re: Authentication? - Mailing list pgsql-general

From David G. Johnston
Subject Re: Authentication?
Date
Msg-id CAKFQuwbzo=F7sgmY1Qpj5mVjHUHSWWudE0vTYy8Wm7tVLuBsOA@mail.gmail.com
Whole thread Raw
In response to Authentication?  (Bjørn T Johansen <btj@havleik.no>)
Responses Re: Authentication?  (Bjørn T Johansen <btj@havleik.no>)
List pgsql-general
On Wed, Mar 7, 2018 at 6:13 AM, Bjørn T Johansen <btj@havleik.no> wrote:
Hi.

Is it possible to use one authentication method as default, like LDAP, and if the user is not found, then try to authenticate using
md5/scram-sha-256 ?

​In the "Client Authentication" Chapter:​

​"""
​The first record with a matching connection type, client address, requested database, and user name is used to perform authentication. There is no “fall-through” or “backup”: if one record is chosen and the authentication fails, subsequent records are not considered. If no record matches, access is denied.
"""

David J.

pgsql-general by date:

Previous
From: Łukasz Jarych
Date:
Subject: Re: save query as sql file
Next
From: Bjørn T Johansen
Date:
Subject: Re: Authentication?