Re: [BUGS] Re: BUG #13854: SSPI authentication failure: wrong realm name used

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: [BUGS] Re: BUG #13854: SSPI authentication failure: wrong realm name used
Дата
Msg-id 20160329214032.GA925857@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: BUG #13854: SSPI authentication failure: wrong realm name used  (Christian Ullrich <chris@chrullrich.net>)
Ответы Re: [BUGS] Re: BUG #13854: SSPI authentication failure: wrong realm name used  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
So, it seems that ClientAuthentication() expects to raise ereport(FATAL)
in case of authentication failures.  But what's the code path that
causes that to happen if a ereport(ERROR) happens in there?  Because all
that code is pretty careful to not do ereport(ERROR) directly and
instead return STATUS_ERROR which makes ClientAuthentication do the
FATAL report.  If this doesn't matter, then isn't this whole code overly
complicated for no reason?

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Christian Ullrich
Дата:
Сообщение: Re: BUG #13854: SSPI authentication failure: wrong realm name used
Следующее
От: Alvaro Herrera
Дата:
Сообщение: standby_schedule