Re: Multiple auth types for a connection

Поиск
Список
Период
Сортировка
От Geoff Tolley
Тема Re: Multiple auth types for a connection
Дата
Msg-id 46390CF7.2040200@polimetrix.com
обсуждение исходный текст
Ответ на Re: Multiple auth types for a connection  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-admin
Tom Lane wrote:
> Rob Cherry <postgresadmin@lxrb.com> writes:
>> Does anyone know if it is possible to overload auth types like this such
>> that if pam fails password would be tried?
>
> No, it's not, as per the Fine Manual:

Provided that you don't care about the security and performance
implications of SSL vs non-SSL connectivity, wouldn't it be possible to
have something like:

hostnossl    all         all         0.0.0.0/0             krb5
hostssl      all         all         0.0.0.0/0             md5

... and then have sslmode set to prefer or allow on the client side?

Cheers,
Geoff

В списке pgsql-admin по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Multiple auth types for a connection
Следующее
От: Tom Lane
Дата:
Сообщение: Re: reindexdb hangs