Re: BUG #9337: SSPI/GSSAPI with mismatched user names - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #9337: SSPI/GSSAPI with mismatched user names
Date
Msg-id 6076.1393269048@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #9337: SSPI/GSSAPI with mismatched user names  (Brian Crowell <brian@fluggo.com>)
Responses Re: BUG #9337: SSPI/GSSAPI with mismatched user names
List pgsql-bugs
Brian Crowell <brian@fluggo.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@REALM.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

pgsql-bugs by date:

Previous
From: Stephen Frost
Date:
Subject: Re: BUG #9337: SSPI/GSSAPI with mismatched user names
Next
From: Brian Crowell
Date:
Subject: Re: BUG #9337: SSPI/GSSAPI with mismatched user names