From: Stephen Frost <sfrost@snowman.net>
To: Niels Jespersen <NJN@dst.dk>
Cc: Magnus Hagander <magnus@hagander.net>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: SSPI auth and mixed case usernames
Date: Fri, 30 Aug 2019 10:21:37 -0400
Message-ID: <20190830142137.GE16436@tamriel.snowman.net> (raw)
In-Reply-To: <BBD851BB0A904B35A41C168B882B842F@com.citrix.mail.iOS>
References: <3967181ED595B445B1E39718204FD4BD0122BAD97D@SRVEXC5.dst.local>
<CABUevEzpp+RT9kKRQW+N=O9zrvH4-kvNz1QiOp3fNSL9vPmLBw@mail.gmail.com>
<BBD851BB0A904B35A41C168B882B842F@com.citrix.mail.iOS>
Greetings,
* Niels Jespersen (NJN@dst.dk) wrote:
> Hello Magnus
> Thank you for your prompt reply.
> I’m not sure I understand your last statement. I want to achieve that
> regardless of the case of the entered username is logged into the same
> Postgres user (whose name is created in all lowercase).
> In other words, Windows usernames one day entered as XYz, the next day
> entered as xYz, should logon to Postgres user xyz.
You just have to make sure that the users tell whatever program they're
using to connect to PG (like psql, pgAdmin, whatever) that their PG
username is 'xyz'. If they try to log in as 'XYZ' then that's gonna be
a different PG user.
If you have some other application that's being used to connect to PG
then you could do the lowercase in the app...
Thanks,
Stephen
Attachments:
signature.asc (application/pgp-signature, 818B) download
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: sfrost@snowman.net, NJN@dst.dk, magnus@hagander.net
Subject: Re: SSPI auth and mixed case usernames
In-Reply-To: <20190830142137.GE16436@tamriel.snowman.net>
References: <3967181ED595B445B1E39718204FD4BD0122BAD97D@SRVEXC5.dst.local> <CABUevEzpp+RT9kKRQW+N=O9zrvH4-kvNz1QiOp3fNSL9vPmLBw@mail.gmail.com> <BBD851BB0A904B35A41C168B882B842F@com.citrix.mail.iOS> <20190830142137.GE16436@tamriel.snowman.net>
* 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