pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Glyn Astill <glynastill@yahoo.co.uk>
To: Tom Lane <tgl@sss.pgh.pa.us>
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 17:39:45 +0100 (BST)
Message-ID: <1311784785.5983.YahooMailNeo@web26004.mail.ukl.yahoo.com> (raw)
In-Reply-To: <10638.1311784321@sss.pgh.pa.us>
References: <1311784043.24356.YahooMailNeo@web26002.mail.ukl.yahoo.com>
	<10638.1311784321@sss.pgh.pa.us>

> From: Tom Lane <tgl@sss.pgh.pa.us>

>G lyn 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
>

Well that's all new to me, surely this is a bug?

How can I specifically catch superusers?




view thread (6+ messages)  latest in thread

Message-ID: <1311784785.5983.YahooMailNeo@web26004.mail.ukl.yahoo.com>
Permalink:  ../1311784785.5983.YahooMailNeo@web26004.mail.ukl.yahoo.com/
Also on:    postgresql.org/message-id/1311784785.5983.YahooMailNeo@web26004.mail.ukl.yahoo.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: glynastill@yahoo.co.uk, tgl@sss.pgh.pa.us
  Subject: Re: Adding line to pg_hba.conf for a specific group makes superuser authentication fail in 9.0?
  In-Reply-To: <1311784785.5983.YahooMailNeo@web26004.mail.ukl.yahoo.com>

* 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