From: Gémes Géza <geza@kzsdabas.sulinet.hu>
To: pgsql-admin@postgresql.org
Subject: pg_hba.conf multiple auth_metods question
Date: Thu, 22 Feb 2007 19:53:41 +0100
Message-ID: <45DDE6B5.8070900@kzsdabas.sulinet.hu> (raw)
Hi,
I have successfully deployed krb5 or pam (with pam_krb5) authentication
with my clients.
My question is: Can I use both in a failover fashion?
What I try to achieve: Users having kerberos tickets get authenticated
with the krb5 auth_metod, if they don't have the right ticket they get
prompted for their password, and get authenticated using pam.
The relevant part of my pg_hba.conf:
host all all 10.0.0.0/8 krb5
host all all 10.0.0.0/8 pam postgresql
What shall I change to have it working as expected. Currently only the
first line works (whatever I would put first).
Many thanks for your time and patience.
Geza
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: geza@kzsdabas.sulinet.hu
Subject: Re: pg_hba.conf multiple auth_metods question
In-Reply-To: <45DDE6B5.8070900@kzsdabas.sulinet.hu>
References: <45DDE6B5.8070900@kzsdabas.sulinet.hu>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox