Re: Proposal: BSD Authentication support - Mailing list pgsql-hackers

From Pierre-Emmanuel André
Subject Re: Proposal: BSD Authentication support
Date
Msg-id 20160408104816.GB20623@coredump.pacwan.net
Whole thread Raw
In response to Re: Proposal: BSD Authentication support  (Thomas Munro <thomas.munro@enterprisedb.com>)
List pgsql-hackers
On Fri, Mar 18, 2016 at 06:30:35PM +1300, Thomas Munro wrote:
> On Fri, Mar 18, 2016 at 12:49 PM, Marisa Emerson <mje@insec.sh> wrote:
> > On 18/03/16 03:57, Thomas Munro wrote:
> >>
> >> You used one name in the docs and another in the code:
> >>
> >> +    BSD Authentication on PostgreSQL uses the
> >> <literal>auth-postgres</literal>
> >> +    login type and authenticates with the <literal>postgres</literal>
> >> login
> >>
> >> + retval = auth_userokay(user, NULL, "auth-postgresql", passwd);
> >
> >
> > Woops, fix attached.
> 
> Thanks!
> 
> I'm CCng Pierre-Emmanuel André, maintainer of the OpenBSD postgresql
> port/package, just in case he has any feedback.
> 
> Pierre-Emmanuel, here's the full thread in case you missed it:
> http://www.postgresql.org/message-id/1521c2f9465.e357a543197915.6912077634413325318@insec.sh
> 


Hi,

Sorry for the late answer.
I've tested the patch on @amd64 with the latest PostgreSQL 9.6devel. I can't judge the diff
itself (it looks good but i'm not a PostgreSQL developper) but everything works fine.
It would be a nice feature to have on OpenBSD.

Regards,




pgsql-hackers by date:

Previous
From: Victor Pontis
Date:
Subject: Re: [GENERAL] pg_restore casts check constraints differently
Next
From: Magnus Hagander
Date:
Subject: Re: BUG #13854: SSPI authentication failure: wrong realm name used