From: Tom Lane <tgl@sss.pgh.pa.us>
To: Glyn Astill <glynastill@yahoo.co.uk>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: Adding line to pg_hba.conf for a specific group makes superuser authentication fail in 9.0?
Date: Wed, 27 Jul 2011 12:32:01 -0400
Message-ID: <10638.1311784321@sss.pgh.pa.us> (raw)
In-Reply-To: <1311784043.24356.YahooMailNeo@web26002.mail.ukl.yahoo.com>
References: <1311784043.24356.YahooMailNeo@web26002.mail.ukl.yahoo.com>
Glyn Astill <glynastill@yahoo.co.uk> writes:
> I'm having what's hopefully a fairly trivial issue here with pg_hba.conf in 9.0.4; when I add in the following line
> host all +ad_users 10.10.0.0/16 ldap <ldap details>
> If I try to log in with a superuser account from the 10.10.0.0/16 network it appears to try to authenticate it against that entry via ldap.
> This didn't happen in 8.4.8, what could I be missing?
Well, a superuser is automatically considered a member of any group,
so a match to that line would be expected IMO. If you don't want that,
you need some more-specific line ahead of it to catch superusers.
regards, tom lane
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, glynastill@yahoo.co.uk
Subject: Re: Adding line to pg_hba.conf for a specific group makes superuser authentication fail in 9.0?
In-Reply-To: <10638.1311784321@sss.pgh.pa.us>
* 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