agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
pgsql: Remove radius from initdb authentication methods.
2+ messages / 1 participants
[nested] [flat]

* pgsql: Remove radius from initdb authentication methods.
@ 2026-06-30 23:47  Thomas Munro <tmunro@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Thomas Munro @ 2026-06-30 23:47 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Remove radius from initdb authentication methods.

Commit a1643d40b removed RADIUS authentication, but apparently
overlooked initdb's list of accepted authentication methods.  As a
result, initdb still accepted radius for --auth, --auth-host, and
--auth-local, allowing it to create a pg_hba.conf that the server could
not load.

Remove radius from initdb's local and host authentication method lists.

Backpatch-through: 19
Author: Chao Li <lic@highgo.com>
Discussion: https://postgr.es/m/983F946B-A7CE-4C93-B5F0-665616F72254%40gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a78f7390bf19868cc313482b307d5148ad00aae2

Modified Files
--------------
src/bin/initdb/initdb.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Remove radius from initdb authentication methods.
@ 2026-06-30 23:47  Thomas Munro <tmunro@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Thomas Munro @ 2026-06-30 23:47 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Remove radius from initdb authentication methods.

Commit a1643d40b removed RADIUS authentication, but apparently
overlooked initdb's list of accepted authentication methods.  As a
result, initdb still accepted radius for --auth, --auth-host, and
--auth-local, allowing it to create a pg_hba.conf that the server could
not load.

Remove radius from initdb's local and host authentication method lists.

Backpatch-through: 19
Author: Chao Li <lic@highgo.com>
Discussion: https://postgr.es/m/983F946B-A7CE-4C93-B5F0-665616F72254%40gmail.com

Branch
------
REL_19_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/1f34f12f0c312ae7f31d76fa8dc2d934c43f9b6c

Modified Files
--------------
src/bin/initdb/initdb.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2026-06-30 23:47 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-06-30 23:47 pgsql: Remove radius from initdb authentication methods. Thomas Munro <tmunro@postgresql.org>
2026-06-30 23:47 pgsql: Remove radius from initdb authentication methods. Thomas Munro <tmunro@postgresql.org>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox