pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedpg_hba.conf multiple auth_metods question
2+ messages / 2 participants
[nested] [flat]
* pg_hba.conf multiple auth_metods question
@ 2007-02-22 18:53 Gémes Géza <geza@kzsdabas.sulinet.hu>
0 siblings, 1 reply; 2+ messages in thread
From: Gémes Géza @ 2007-02-22 18:53 UTC (permalink / raw)
To: pgsql-admin
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
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: pg_hba.conf multiple auth_metods question
@ 2007-02-23 07:27 Peter Eisentraut <peter_e@gmx.net>
parent: Gémes Géza <geza@kzsdabas.sulinet.hu>
0 siblings, 0 replies; 2+ messages in thread
From: Peter Eisentraut @ 2007-02-23 07:27 UTC (permalink / raw)
To: pgsql-admin; +Cc: Gémes Géza <geza@kzsdabas.sulinet.hu>
Gémes Géza wrote:
> 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?
Not in PostgreSQL, but you could probably hook Kerberos into PAM.
--
Peter Eisentraut
http://developer.postgresql.org/~petere/
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2007-02-23 07:27 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-02-22 18:53 pg_hba.conf multiple auth_metods question Gémes Géza <geza@kzsdabas.sulinet.hu>
2007-02-23 07:27 ` Peter Eisentraut <peter_e@gmx.net>
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