Re: BUG #9337: SSPI/GSSAPI with mismatched user names

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: Brian Crowell <brian(at)fluggo(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #9337: SSPI/GSSAPI with mismatched user names
Date: 2014-02-24 18:56:53
Message-ID: 20140224185653.GN2921@tamriel.snowman.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

* Brian Crowell (brian(at)fluggo(dot)com) wrote:
> Right now, I'm seeing log entries like this:
>
> 2014-02-24 11:30:40 CST LOG: provided user name (Brian) and
> authenticated user name (BCrowell(at)REALM(dot)COM) do not match
>
> But the Kerberos ticket is perfectly valid, and matches a Postgres
> user. In this case, the program attempting to log in is incapable of
> determining the correct Postgres user name to send (see Npgsql bug for
> the dirty details), so why not just accept the Kerberos principal
> name?

This is what the mapping logic in pg_ident was written to address...

Thanks,

Stephen

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Magnus Hagander 2014-02-24 18:58:51 Re: BUG #9337: SSPI/GSSAPI with mismatched user names
Previous Message Brian Crowell 2014-02-24 18:55:45 Re: BUG #9337: SSPI/GSSAPI with mismatched user names