From: | Daulat <daulat(dot)dba(at)gmail(dot)com> |
---|---|
To: | Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at> |
Cc: | pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Password authorization |
Date: | 2022-01-20 16:24:29 |
Message-ID: | CALfOM6LJ99-6R+kswd_tF6uQTk-MAzj4HjdCC5FQ5=HMkFbRDQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(dot)albe(at)cybertec(dot)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
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Wells Oliver | 2022-01-20 18:00:33 | Gauging progress of COPY? |
Previous Message | Laurenz Albe | 2022-01-20 14:25:24 | Re: Password authorization |