From: Niels Jespersen <NJN@dst.dk>
To: Stephen Frost <sfrost@snowman.net>
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 15:06:22 +0000
Message-ID: <C7FE68F4C6F44DF09ED6DE79080A0A2F@com.citrix.mail.iOS> (raw)
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>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<div>
<div style="">
<div dir="auto">
<div dir="auto">
<div id="x_signature-div-AAF3C509-54F0-4EB8-9EA5-8FABFE13AF66" dir="auto">Ok, yes. It’s s server for analytics running R. So users speecify their oen connection string. My initial thought was to leave out username in the connection string, but I think now to
specify username in lowercase. </div>
<div id="x_signature-div-AAF3C509-54F0-4EB8-9EA5-8FABFE13AF66" dir="auto"><br>
</div>
<div id="x_signature-div-AAF3C509-54F0-4EB8-9EA5-8FABFE13AF66" dir="auto">Thank you, and Magnus also. </div>
<div id="x_signature-div-AAF3C509-54F0-4EB8-9EA5-8FABFE13AF66" dir="auto"><br>
</div>
<div id="x_signature-div-AAF3C509-54F0-4EB8-9EA5-8FABFE13AF66" dir="auto">Niels <br>
<br>
</div>
</div>
</div>
</div>
<hr>
<div dir="auto" style=""><br>
<b>Fra:</b> Stephen Frost <sfrost@snowman.net><br>
<b>Dato:</b> 30. august 2019 kl. 16.21.39 CEST<br>
<b>Til:</b> Niels Jespersen <NJN@dst.dk><br>
<b>Cc:</b> Magnus Hagander <magnus@hagander.net>, pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org><br>
<b>Emne:</b> Re: SSPI auth and mixed case usernames<br>
</div>
<br>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Greetings,<br>
<br>
* Niels Jespersen (NJN@dst.dk) wrote:<br>
> Hello Magnus<br>
> Thank you for your prompt reply. <br>
> I’m not sure I understand your last statement. I want to achieve that<br>
> regardless of the case of the entered username is logged into the same<br>
> Postgres user (whose name is created in all lowercase).<br>
> In other words, Windows usernames one day entered as XYz, the next day<br>
> entered as xYz, should logon to Postgres user xyz.<br>
<br>
You just have to make sure that the users tell whatever program they're<br>
using to connect to PG (like psql, pgAdmin, whatever) that their PG<br>
username is 'xyz'. If they try to log in as 'XYZ' then that's gonna be<br>
a different PG user.<br>
<br>
If you have some other application that's being used to connect to PG<br>
then you could do the lowercase in the app...<br>
<br>
Thanks,<br>
<br>
Stephen<br>
</div>
</span></font>
</body>
</html>
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: NJN@dst.dk, sfrost@snowman.net, magnus@hagander.net
Subject: Re: SSPI auth and mixed case usernames
In-Reply-To: <C7FE68F4C6F44DF09ED6DE79080A0A2F@com.citrix.mail.iOS>
References: <3967181ED595B445B1E39718204FD4BD0122BAD97D@SRVEXC5.dst.local> <CABUevEzpp+RT9kKRQW+N=O9zrvH4-kvNz1QiOp3fNSL9vPmLBw@mail.gmail.com> <BBD851BB0A904B35A41C168B882B842F@com.citrix.mail.iOS> <20190830142137.GE16436@tamriel.snowman.net> <C7FE68F4C6F44DF09ED6DE79080A0A2F@com.citrix.mail.iOS>
* 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