Re: Password authorization

Поиск
Список
Период
Сортировка
От Daulat
Тема Re: Password authorization
Дата
Msg-id CALfOM6LJ99-6R+kswd_tF6uQTk-MAzj4HjdCC5FQ5=HMkFbRDQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Password authorization  (Laurenz Albe <laurenz.albe@cybertec.at>)
Ответы Re: Password authorization  (Gavan Schneider <list.pg.gavan@pendari.org>)
Список 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 по дате отправления:

Предыдущее
От: Laurenz Albe
Дата:
Сообщение: Re: Password authorization
Следующее
От: Wells Oliver
Дата:
Сообщение: Gauging progress of COPY?