Re: Multiple auth types for a connection - Mailing list pgsql-admin

From Geoff Tolley
Subject Re: Multiple auth types for a connection
Date
Msg-id 46390CF7.2040200@polimetrix.com
Whole thread Raw
In response to Re: Multiple auth types for a connection  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Multiple auth types for a connection
Next
From: Tom Lane
Date:
Subject: Re: reindexdb hangs