Search Postgresql Archives

Bug in user pg_ident.conf mapping code?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey,

So, I've gotten this on 9.3.4 after having a complaint from a user with a hyphen in his name, but I dug further.

This is at the top of my pg_hba.conf file:

local    all    all    peer map=local

And this is my pg_ident.conf:

local    dude-guy   dudeguy
local    /(.*)$     \1

I've reloaded configs, and even went as far as to restart the database. Yet the errors I get in the logs say this:

2014-04-02 10:39:59 CDT|LOG: no match in usermap "local" for user "dude-guy" authenticated as "dude-guy" 2014-04-02 10:39:59 CDT|FATAL: Peer authentication failed for user "dude-guy" 2014-04-02 10:39:59 CDT|DETAIL: Connection matched pg_hba.conf line 84: "local all all peer map=local"

What's going on, here? Shouldn't it be checking for peer auth before applying the mapping? Am I missing something?

--
Shaun Thomas
OptionsHouse | 141 W. Jackson Blvd. | Suite 500 | Chicago IL, 60604
312-676-8870
sthomas@xxxxxxxxxxxxxxxx

______________________________________________

See http://www.peak6.com/email_disclaimer/ for terms and conditions related to this email


--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux