Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-admin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group