Re: Password authorization - Mailing list pgsql-admin

From Daulat
Subject Re: Password authorization
Date
Msg-id CALfOM6LJ99-6R+kswd_tF6uQTk-MAzj4HjdCC5FQ5=HMkFbRDQ@mail.gmail.com
Whole thread Raw
In response to Re: Password authorization  (Laurenz Albe <laurenz.albe@cybertec.at>)
Responses Re: Password authorization  (Gavan Schneider <list.pg.gavan@pendari.org>)
List pgsql-admin
Thanks for your advice. 
Yes, you are right, I am planning for password complexity rules and to force users to change their password.

Will there be any performance impact using LDAP for postgres connection? 

Also, please do suggest the following, which one will be the best option.

1)      Have the application authenticate via standard Postgres Authentication

2)      Have other users authenticated via LDAP ?

 

Or could we have ALL users authenticate via LDAP to Postgres ? even the application.


Thanks,



On Thu, Jan 20, 2022 at 7:55 PM Laurenz Albe <laurenz.albe@cybertec.at> wrote:
On Thu, 2022-01-20 at 15:26 +0530, Daulat wrote:
> Do we have any facility for password authorisation in Postgres same as in Oracle?
> In Oracle, a user can change their password based upon the profile setting. What about in Postgres ? 
>
> Is there any alternative in postgres to manage the user password authorisation? 
> What about LDAP with respect to this approach?
> Please suggest.

It is not quite clear what you mean, but I assume you want password complexity rules,
and you want to force users to change their password after a while.

You cannot do any of that with passwords in the database; the best you can
do is set an expiration time for the user's ability to log in.

With requirements as this, you should look into external password
authentication like Kerberos or LDAP - you'll have to look at that server's
documentation for more.

Yours,
Laurenz Albe
--
Cybertec | https://www.cybertec-postgresql.com

pgsql-admin by date:

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