GSSAPI/SSPI and mismatched user names

Поиск
Список
Период
Сортировка
От Brian Crowell
Тема GSSAPI/SSPI and mismatched user names
Дата
Msg-id CAAQkdDrPN+2OUCxxZRBxg7Od_KZCHb-dKRJxkNPO3i5P5k-ZZg@mail.gmail.com
обсуждение исходный текст
Ответы Re: GSSAPI/SSPI and mismatched user names  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-general
I'm going to file this as a bug as well, but I guess I'm hoping to catch some developers here for discussion.

I'm working with the Npgsql group on getting integrated security to "just work" in the same way SQL Server's does. I wrote a workaround for one issue, only to find out that I need more workarounds, and I finally realized that this a problem with the way Postgres handles GSSAPI/SSPI logins. You can read my full description here:


The short version is that Postgres requires two user names when using GSSAPI/SSPI: one from the startup packet, and one from the Kerberos ticket, and if these don't match exactly, the login fails. It's generally impossible to determine the correct user name to send in the startup packet.

I think Postgres should either not require or ignore the user name in the startup packet for these two login types. What do you think?

—Brian

В списке pgsql-general по дате отправления:

Предыдущее
От: Francisco Olarte
Дата:
Сообщение: Re: Why does PostgreSQL ftruncate before unlink?
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: GSSAPI/SSPI and mismatched user names