Re: fallback authentication

From: Ron Peterson <rpeterso(at)mtholyoke(dot)edu>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: fallback authentication
Date: 2004-12-13 03:36:18
Message-ID: 20041213033618.GA22117@mtholyoke.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Sat, Dec 11, 2004 at 11:43:08PM -0600, Bruno Wolff III wrote:
> On Sat, Dec 11, 2004 at 22:55:55 -0500,
> Ron Peterson <rpeterso(at)mtholyoke(dot)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.)

Thanks. Exactly what I was hoping for.

--
Ron Peterson
Network & Systems Manager
Mount Holyoke College
http://www.mtholyoke.edu/~rpeterso

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Iain 2004-12-13 06:24:51 Tyan Thunder MB for postgres server
Previous Message Dmitry Morozovsky 2004-12-12 18:11:44 Re: fallback authentication