Hi Rahat,
 
from my point of view you have a Problem with your PostgreSQL configuration.
In fact there is the possibility to connect to PostgreSQL via network or filesystem socket. I've allowed the connection from the network and then put the user radius uses in the allowed users section. After this everything is working fine.
Look for this before you check again in radius.
The configuration file is in $pgdatadir/postgresql.conf
 
Hope this helps.
 
Klaus
 
PS: Try turning debugging on in the DB-Server to see what is happening. PostgreSQL can even log any statement which is executed.
 
----- Original Message -----
Sent: Saturday, July 27, 2002 6:09 PM
Subject: How to integrate Postgresql database with freeradius

Hi there,
 
I am new to freeradius, i am unable to authenticate users from postgresql database.I have created the database "radius", driver for postgresql loads successfully, but when I check the user with radlogin , I get the errors,
 
No connection to server,
query failed,
rejecting user.
 
Kindly help me out.
 
 
 
Rahat A. Khan

Reply via email to