Showing results for 
Search instead for 
Did you mean: 

Radius Authentication Failure in PostgreSQL 10

Level 3 Traveller

Radius Authentication Failure in PostgreSQL 10

When I am trying to authenticate the Postgresql with Radius server...I am getting the follwoing message at the command line

root@ykan-vm01:~# psql -h -U Tom Password for user Tom:

psql: FATAL: RADIUS authentication failed for user "Tom" root@ykan-vm01:~#


Where as in the Postgresql Logs it is showing me the below error message

2019-10-28 18:04:19.876 UTC [12377] Tom@Tom LOG: 00000: timeout waiting for RADIUS response from

2019-10-28 18:04:16.888 UTC [12377] Tom@Tom LOCATION: PerformRadiusTransaction, auth.c:3136

2019-10-28 18:04:16.888 UTC [12377] Tom@Tom LOG: 00000: RADIUS response from has incorrect MD5 signature 2019-10-28 17:12:07.959 UTC [9721] Tom@Tom LOCATION: auth_failed, auth.c:328

2019-10-28 17:12:07.959 UTC [9721] Tom@Tom DETAIL: Connection matched pg_hba.conf line 100: "host all all radius radiusservers= radiussecrets=XXXX radiusports=1812"

2019-10-28 17:12:07.959 UTC [9721] Tom@Tom FATAL: 28000: RADIUS authentication failed for user "Tom"


Radtest from the postgresql to the Radius server is showing as its connected and authenticated ..


root@ykan-vm02:~# radtest Tom Test123# 1812 Test123#

Sent Access-Request Id 250 from to length 73

User-Name = "Tom"

User-Password = "XXXX"

NAS-IP-Address =

NAS-Port = 1812

Message-Authenticator = 0x00

Cleartext-Password = "XXXX"

Received Access-Accept Id 250 from to length 78

Framed-Protocol = PPP

Service-Type = Framed-User

Class = 0x39f404da00000137000102000a20001200000000000000000000000001d57f5d518b565e00000000000259c5.


Please can any one guide me is there anything else I need to confgiure at the postgresql level to make radius authentication to work.

EDB Team Member

Re: Radius Authentication Failure in PostgreSQL 10

Hi yudhvir12,


1) Could you please share the value for the Postgresql parameter listen_addressess.

2) Please try to login with another user and check for the error.

3) Reset the password for the Tom user and then try to login.


From the shared Postgresql logs,

There is a timeout error from the RADIUS server. Please check the connectivity between the DB server and the RADIUS server.