agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
From: Thomas Munro <tmunro@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove radius from initdb authentication methods.
Date: Tue, 30 Jun 2026 23:47:30 +0000
Message-ID: <E1weiAs-000ptz-1Q@gemulon.postgresql.org> (raw)

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(-)



view thread (2+ messages)  latest in thread

Message-ID: <E1weiAs-000ptz-1Q@gemulon.postgresql.org>
Permalink:  ../E1weiAs-000ptz-1Q@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1weiAs-000ptz-1Q@gemulon.postgresql.org

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: tmunro@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Remove radius from initdb authentication methods.
  In-Reply-To: <E1weiAs-000ptz-1Q@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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