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

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: Bernd Lentes <bernd(dot)lentes(at)helmholtz-muenchen(dot)de>
Cc: Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: unrecognized configuration parameter "ldapbinddn" in file "/var/lib/pgsql/data/postgresql.conf"
Date: 2023-11-06 17:27:46
Message-ID: ZUkiEvdaOYjAvY/U@tamriel.snowman.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Greetings,

* Bernd Lentes (bernd(dot)lentes(at)helmholtz-muenchen(dot)de) wrote:
> i'm trying to use LDAP to authenticate Postgres against a Windows AD. On elder versions it succeeded.

You really shouldn't use the 'ldap' auth method in PostgreSQL as it
involves passing around a cleartext password to work.

With Windows AD, you can use Kerberos which is what all of the Microsoft
applications use for authentication too, avoids users having to ever
enter in their password, avoids having users end up saving their domain
password into cliet tools like pgAdmin, and is just overall far, far,
better and much more secure.

Note that in PostgreSQL, the Kerberos auth method is 'gssapi'.

Thanks,

Stephen

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Sbob 2023-11-07 04:15:12 TRIGGER on a FOREIGN Table?
Previous Message Karl O. Pinc 2023-11-06 15:16:55 Re: pgadmin for ubuntu 23.10 (mantic)