Re: Change authentication error message (patch)

Поиск
Список
Период
Сортировка
Искать
От
Markus Wanner
Тема
Re: Change authentication error message (patch)
Дата
Msg-id
51C027A7.8020001@bluegap.ch
Ответ на
Список
Дерево обсуждения
Change authentication error message (patch) "Joshua D. Drake" <jd@commandprompt.com>
Re: Change authentication error message (patch) Markus Wanner <markus@bluegap.ch>
Re: Change authentication error message (patch) "Joshua D. Drake" <jd@commandprompt.com>
Re: Change authentication error message (patch) Markus Wanner <markus@bluegap.ch>
Re: Change authentication error message (patch) "Joshua D. Drake" <jd@commandprompt.com>
Re: Change authentication error message (patch) Bruce Momjian <bruce@momjian.us>
Re: Change authentication error message (patch) Tom Lane <tgl@sss.pgh.pa.us>
Re: Change authentication error message (patch) Bruce Momjian <bruce@momjian.us>
Re: Change authentication error message (patch) Tom Lane <tgl@sss.pgh.pa.us>
Re: Change authentication error message (patch) Bruce Momjian <bruce@momjian.us>
Re: Change authentication error message (patch) Tom Lane <tgl@sss.pgh.pa.us>
Re: Change authentication error message (patch) Jeff Janes <jeff.janes@gmail.com>
Re: Change authentication error message (patch) Markus Wanner <markus@bluegap.ch>
Re: Change authentication error message (patch) Marko Tiikkaja <marko@joh.to>
Re: Change authentication error message (patch) Markus Wanner <markus@bluegap.ch>
On 06/16/2013 06:02 PM, Joshua D. Drake wrote:
> Instead of pushing extra info to the logs I decided that we could
> without giving away extra details per policy. I wrote the error message
> in a way that tells the most obvious problems, without admitting to any
> of them. Please see attached:

+1 for solving this with a bit of word-smithing.

However, the proposed wording doesn't sound like a full sentence to my
ears, because a password or username cannot fail per-se.

How about:
"password authentication failed or account expired for user \"%s\""

It's a bit longer, but sounds more like a full sentence, no?

Regards

Markus Wanner


В списке pgsql-hackers по дате отправления
От: D'Arcy J.M. Cain
Дата:
От: Andres Freund
Дата:
FAQ