Re: unrecognized configuration parameter "ldapbinddn" in file "/var/lib/pgsql/data/postgresql.conf" - Mailing list pgsql-admin

From Laurenz Albe
Subject Re: unrecognized configuration parameter "ldapbinddn" in file "/var/lib/pgsql/data/postgresql.conf"
Date
Msg-id c24aeecbfe49b3106fa538cabfe34a100cf3081f.camel@cybertec.at
Whole thread Raw
In response to unrecognized configuration parameter "ldapbinddn" in file "/var/lib/pgsql/data/postgresql.conf"  (Bernd Lentes <bernd.lentes@helmholtz-muenchen.de>)
Responses RE: unrecognized configuration parameter "ldapbinddn" in file "/var/lib/pgsql/data/postgresql.conf"
List pgsql-admin
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



pgsql-admin by date:

Previous
From: "Capobianco, Tony"
Date:
Subject: RE: unrecognized configuration parameter "ldapbinddn" in file "/var/lib/pgsql/data/postgresql.conf"
Next
From: Bernd Lentes
Date:
Subject: RE: unrecognized configuration parameter "ldapbinddn" in file "/var/lib/pgsql/data/postgresql.conf"