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

Re: fallback authentication

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: Ron Peterson <rpeterso(at)mtholyoke(dot)edu>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: fallback authentication
Date: 2004-12-11 19:51:07
Message-ID: 20041211195107.GD2668@wolff.to (view raw or flat)
Thread:
Lists: pgsql-admin
On Fri, Dec 10, 2004 at 20:50:56 -0500,
  Ron Peterson <rpeterso(at)mtholyoke(dot)edu> wrote:
> On Fri, Dec 10, 2004 at 03:20:50PM -0500, Ron Peterson wrote:
> 
> > Sometimes, however, I would like to create an account in PostgreSQL
> > which I do not want to also maintain in LDAP.  Is it possible to
> > configure authentication to fall through to a different method?
> 
> I suppose the right thing to do is either
> 
> * don't be lazy, and update my LDAP maintainance to include the
>   required accounts, or
> 
> * fall through in pam.  Is there anything similar in concept to
>   libpam-pgsql, but which simply authenticates against PostgreSQL's
>   built-in authentication mechanism?

You can put per user exceptions first in your pg_hba.conf file. That way
these people will be handled by those rules, but other users can be
authenticated using pam.

In response to

Responses

pgsql-admin by date

Next:From: Ron PetersonDate: 2004-12-12 03:55:55
Subject: Re: fallback authentication
Previous:From: Bruno Wolff IIIDate: 2004-12-11 19:11:36
Subject: Re: pgcrypto module for WINDOWS

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