pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Bernd Lentes <bernd.lentes@helmholtz-muenchen.de>
To: Pgsql-admin <pgsql-admin@lists.postgresql.org>
Subject: Re: unrecognized configuration parameter "ldapbinddn" in file "/var/lib/pgsql/data/postgresql.conf"
Date: Thu, 02 Nov 2023 21:37:23 +0100
Message-ID: <c24aeecbfe49b3106fa538cabfe34a100cf3081f.camel@cybertec.at> (raw)
In-Reply-To: <PR3PR04MB7340275A4B83BB8BFD48F37BD6A6A@PR3PR04MB7340.eurprd04.prod.outlook.com>
References: <PR3PR04MB7340275A4B83BB8BFD48F37BD6A6A@PR3PR04MB7340.eurprd04.prod.outlook.com>

On Thu, 2023-11-02 at 19:56 +0000, Bernd Lentes wrote:
> i'm trying to use LDAP to authenticate Postgres against a Windows AD. On elder versions it succeeded.

Possible ...

> Now I'm running postgresql-15-150500.8.19.noarch on a SLES 15 SP5 system.
> I can't start the db server because it doesn't know the respective configuration parameters:
> 
> LOG:  unrecognized configuration parameter "ldapbinddn" in file "/var/lib/pgsql/data/postgresql.conf" line 106
> [...]
> FATAL:  configuration file "/var/lib/pgsql/data/postgresql.conf" contains errors

... but in those older versions you couldn't have had the parameter in "postgresql.conf".

They belong in "pg_hba.conf"; see the documentation:
https://www.postgresql.org/docs/current/auth-ldap.html

Yours,
Laurenz Albe





view thread (6+ messages)  latest in thread

Message-ID: <c24aeecbfe49b3106fa538cabfe34a100cf3081f.camel@cybertec.at>
Permalink:  ../c24aeecbfe49b3106fa538cabfe34a100cf3081f.camel@cybertec.at/
Also on:    postgresql.org/message-id/c24aeecbfe49b3106fa538cabfe34a100cf3081f.camel@cybertec.at

 · 

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: pgsql-admin@postgresql.org
  Cc: laurenz.albe@cybertec.at, bernd.lentes@helmholtz-muenchen.de, pgsql-admin@lists.postgresql.org
  Subject: Re: unrecognized configuration parameter "ldapbinddn" in file "/var/lib/pgsql/data/postgresql.conf"
  In-Reply-To: <c24aeecbfe49b3106fa538cabfe34a100cf3081f.camel@cybertec.at>

* 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