Re: Authentication? - Mailing list pgsql-general

From Bjørn T Johansen
Subject Re: Authentication?
Date
Msg-id 20180307161411.6825f466@pennywise-btj.brreg.no
Whole thread Raw
In response to Re: Authentication?  ("David G. Johnston" <david.g.johnston@gmail.com>)
Responses Re: Authentication?  ("David G. Johnston" <david.g.johnston@gmail.com>)
List pgsql-general
On Wed, 7 Mar 2018 07:14:55 -0700
"David G. Johnston" <david.g.johnston@gmail.com> wrote:

> 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:​
>
> ​https://www.postgresql.org/docs/10/static/auth-pg-hba-conf.html​
>
> ​"""
> ​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.

I was hoping I had misunderstood but ok.. :)

BTJ


pgsql-general by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: Authentication?
Next
From: "David G. Johnston"
Date:
Subject: Re: Authentication?