From: Bruno Wolff III <bruno@wolff.to>
To: Ron Peterson <rpeterso@mtholyoke.edu>
Cc: pgsql-admin@postgresql.org
Subject: Re: fallback authentication
Date: Sat, 11 Dec 2004 23:43:08 -0600
Message-ID: <20041212054308.GA28684@wolff.to> (raw)
In-Reply-To: <20041212035555.GA17165@mtholyoke.edu>
References: <20041210202050.GA12507@mtholyoke.edu>
<20041211015056.GA13388@mtholyoke.edu>
<20041211195107.GD2668@wolff.to>
<20041212035555.GA17165@mtholyoke.edu>
On Sat, Dec 11, 2004 at 22:55:55 -0500,
Ron Peterson <rpeterso@mtholyoke.edu> wrote:
>
> I have:
>
> host all all 127.0.0.1 255.255.255.255 md5
> host all all 127.0.0.1 255.255.255.255 pam postgresql
> host all all 0.0.0.0 0.0.0.0 reject
>
> I've also tried reversing the first two lines. Either strategy
> individually works, but I'd like lookups which don't work locally to try
> pam (or vice-versa). What am I missing?
You can't use 'all' for the username specification. You need to explicitly
list out the usernames in the first host line. (Which should be the md5
line.)
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: bruno@wolff.to, rpeterso@mtholyoke.edu
Subject: Re: fallback authentication
In-Reply-To: <20041212054308.GA28684@wolff.to>
References: <20041210202050.GA12507@mtholyoke.edu> <20041211015056.GA13388@mtholyoke.edu> <20041211195107.GD2668@wolff.to> <20041212035555.GA17165@mtholyoke.edu> <20041212054308.GA28684@wolff.to>
* 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