pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bjørn T Johansen <btj@havleik.no>
To: David G. Johnston <david.g.johnston@gmail.com>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Authentication?
Date: Wed, 7 Mar 2018 16:14:11 +0100
Message-ID: <20180307161411.6825f466@pennywise-btj.brreg.no> (raw)
In-Reply-To: <CAKFQuwbzo=F7sgmY1Qpj5mVjHUHSWWudE0vTYy8Wm7tVLuBsOA@mail.gmail.com>
References: <20180307141339.37622a41@pennywise-btj.brreg.no>
	<CAKFQuwbzo=F7sgmY1Qpj5mVjHUHSWWudE0vTYy8Wm7tVLuBsOA@mail.gmail.com>

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




view thread (13+ messages)  latest in thread

Message-ID: <20180307161411.6825f466@pennywise-btj.brreg.no>
Permalink:  ../20180307161411.6825f466@pennywise-btj.brreg.no/
Also on:    postgresql.org/message-id/20180307161411.6825f466@pennywise-btj.brreg.no

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: btj@havleik.no, david.g.johnston@gmail.com
  Subject: Re: Authentication?
  In-Reply-To: <20180307161411.6825f466@pennywise-btj.brreg.no>
  References: <20180307141339.37622a41@pennywise-btj.brreg.no> <CAKFQuwbzo=F7sgmY1Qpj5mVjHUHSWWudE0vTYy8Wm7tVLuBsOA@mail.gmail.com> <20180307161411.6825f466@pennywise-btj.brreg.no>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox