12 Sep
2007
12 Sep
'07
12:26 p.m.
justice obrey wrote:
The PostgreSQL database that I want my freeradius-1.1.7 to connect to is running on a port different from the default 5432 and beacause of this, Freeradius is not not able to connect to the database. How do I change my fFreeradius configuration to instruct it to to the postgresql database on a port say 5490? It is the rlm_sql_postgresql driver that fails in doing this connection.
It's all in the debug log: ...
Module: Loaded SQL sql: driver = "rlm_sql_postgresql" sql: server = "localhost" sql: port = ""
It's not documented in postgresql.conf, but it should work. Alan DeKok.