pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron Peterson <rpeterso@mtholyoke.edu>
To: pgsql-admin@postgresql.org
Subject: fallback authentication
Date: Fri, 10 Dec 2004 15:20:50 -0500
Message-ID: <20041210202050.GA12507@mtholyoke.edu> (raw)

I've configured PostgreSQL (8.0.0beta5) to do ldap authenticatation via
pam for connections to localhost.  My hba.conf looks like:

host    all         all         127.0.0.1         255.255.255.255   pam

My pam.d/postgresql file looks like:

auth     required     pam_ldap.so
account  required     pam_ldap.so

This all works great.

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?

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



view thread (7+ messages)  latest in thread

Message-ID: <20041210202050.GA12507@mtholyoke.edu>
Permalink:  ../20041210202050.GA12507@mtholyoke.edu/
Also on:    postgresql.org/message-id/20041210202050.GA12507@mtholyoke.edu

 · 

reply

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: rpeterso@mtholyoke.edu
  Subject: Re: fallback authentication
  In-Reply-To: <20041210202050.GA12507@mtholyoke.edu>
  References: <20041210202050.GA12507@mtholyoke.edu>

* 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