]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Remove radius from initdb authentication methods.
authorThomas Munro <tmunro@postgresql.org>
Tue, 30 Jun 2026 23:25:37 +0000 (11:25 +1200)
committerThomas Munro <tmunro@postgresql.org>
Tue, 30 Jun 2026 23:45:16 +0000 (11:45 +1200)
commita78f7390bf19868cc313482b307d5148ad00aae2
tree399b0bf54da2defead1bfcf28fdb39b7654f3466
parent1de468099d27f44c1998c9c2251cd2aefcfab524
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
src/bin/initdb/initdb.c