Re: [Patch] Using Windows groups for SSPI authentication

From: Russell Foster <russell(dot)foster(dot)coding(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [Patch] Using Windows groups for SSPI authentication
Date: 2020-10-13 19:02:16
Message-ID: CA+VXQbJ9Rqm25mZMNgrDusD_uZbo59S4hW14y+zLOwtUBmnnOQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Going to take a guess at what you mean by:

I do object to using syntax that makes random assumptions about what a
user name can or can't be.

Are you referring to the "+" syntax in the ident file? I chose that because
somewhere else (hba?) using the same syntax for groups. The quotes are just
there to make the group name case sensitive.

On Tue, Oct 13, 2020 at 1:15 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> Russell Foster <russell(dot)foster(dot)coding(at)gmail(dot)com> writes:
> > I have some code that I've been using that supports adding and
> > authenticating Windows groups via the pg_ident file. This is useful for
> > sysadmins as it lets them control database access outside the database
> > using Windows groups. It has a new
> > indicator (+), that signifies the identifier is a Windows group, as in
> the
> > following example:
>
> > # MAPNAME SYSTEM-USERNAME PG-USERNAME
> > "Users" "+User group" postgres
>
> While I don't object to adding functionality to access Windows groups,
> I do object to using syntax that makes random assumptions about what a
> user name can or can't be.
>
> There was a prior discussion of this in the context of some other patch
> that had a similar idea. [ digs in archives... ] Ah, here it is:
>
>
> https://www.postgresql.org/message-id/flat/4ba3ad54-bb32-98c6-033a-ccca7058fc2f%402ndquadrant.com
>
> It doesn't look like we arrived at any firm consensus about what to
> do instead, but maybe you can find some ideas there.
>
> regards, tom lane
>

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Benoit Marchant 2020-10-13 19:05:43 Using pgadmin with AWS RDS https based Data API
Previous Message Bruce Momjian 2020-10-13 18:12:53 Re: setLastTid() and currtid()