From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: passwordcheck: Log cracklib diagnostics |
Date: | 2020-08-28 06:25:34 |
Message-ID: | E1kBXpO-0001yc-Tp@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
passwordcheck: Log cracklib diagnostics
When calling cracklib to check the password, the diagnostic from
cracklib was thrown away. This would hide essential information such
as no dictionary being installed. Change this to show the cracklib
error message using errdetail_log().
Reviewed-by: Daniel Gustafsson <daniel(at)yesql(dot)se>
Reviewed-by: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
Discussion: https://www.postgresql.org/message-id/flat/f7266133-618a-0adc-52ef-f43c78806b0e%402ndquadrant.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/924123a87f40c12063a2bb2500805447cddc02a3
Modified Files
--------------
contrib/passwordcheck/passwordcheck.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2020-08-28 07:57:31 | pgsql: doc: Rework tables for built-in operator classes of index AMs |
Previous Message | Tom Lane | 2020-08-27 21:36:47 | pgsql: Fix code for re-finding scan position in a multicolumn GIN index |