public inbox for [email protected]  
help / color / mirror / Atom feed
From: Magnus Hagander <[email protected]>
To: [email protected]
To: Pg Docs <[email protected]>
Subject: Re: Description of Authentication Methods Supported for Map is Misleading
Date: Fri, 6 Dec 2019 14:16:12 +0100
Message-ID: <CABUevExW1eW9zqdiXUFLnyT1Jqb92rRbpywbcaxHcugvx15iMw@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>

On Fri, Dec 6, 2019 at 10:13 AM PG Doc comments form <[email protected]>
wrote:

> The following documentation comment has been logged on the website:
>
> Page: https://www.postgresql.org/docs/10/auth-pg-hba-conf.html
> Description:
>
> "This option is supported for all authentication methods that receive
> external user names."
>
> More properly, the authentication methods supported are:  ident, peer,
> gassapi, sspi, and cert.
>
> LDAP is not supported and attempting to use map with LDAP provides the
> following error:
> 'authentication option ""map"" is only valid for authentication methods
> ident, peer, gssapi, sspi, and cert'
>

This is correct. LDAP authentication does not receive external usernames.
It uses an external service to validate the password, but it gets the
username from the client.

-- 
 Magnus Hagander
 Me: https://www.hagander.net/ <http://www.hagander.net/;
 Work: https://www.redpill-linpro.com/ <http://www.redpill-linpro.com/;


view thread (2+ messages)

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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Description of Authentication Methods Supported for Map is Misleading
  In-Reply-To: <CABUevExW1eW9zqdiXUFLnyT1Jqb92rRbpywbcaxHcugvx15iMw@mail.gmail.com>

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

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