Re: Password authorization - Mailing list pgsql-admin

From Stephen Frost
Subject Re: Password authorization
Date
Msg-id 20220121195007.GI10577@tamriel.snowman.net
Whole thread Raw
In response to Password authorization  (Daulat <daulat.dba@gmail.com>)
List pgsql-admin
Greetings,

* Daulat (daulat.dba@gmail.com) wrote:
> Is there any alternative in postgres to manage the user password
> authorisation?
> What about LDAP with respect to this approach?

PostgreSQL supports GSSAPI / Kerberos, which is a much better approach
in Active Directory and other environments where Kerberos is deployed.

Using LDAP exposes the user's password to the database server and
therefore isn't secure and should be strongly discouraged.

You can certainly have applications authenticate to PostgreSQL using
Kerberos too with very little overhead (unlike PG's LDAP authentication
option, which makes a synchronous call out to the LDAP server on each
and every login).

Thanks,

Stephen

Attachment

pgsql-admin by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: Password authorization
Next
From: Stephen Frost
Date:
Subject: Re: Gauging progress of COPY?