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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Brian Crowell <brian(at)fluggo(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #9337: SSPI/GSSAPI with mismatched user names
Date: 2014-02-24 19:10:48
Message-ID: 6076.1393269048@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Brian Crowell <brian(at)fluggo(dot)com> writes:
> 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?

Why exactly doesn't Npgsql know what the Kerberos principal name is?
How did it obtain the ticket without knowing that?

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Brian Crowell 2014-02-24 19:15:25 Re: BUG #9337: SSPI/GSSAPI with mismatched user names
Previous Message Stephen Frost 2014-02-24 19:01:59 Re: BUG #9337: SSPI/GSSAPI with mismatched user names