On Tuesday 11 September 2007 15:30:09 justice obrey wrote:
All, 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. Thanks for any suggestions.
Below is the debug:
root@dev-radius:~# /opt/freeradius/sbin/radiusd -X ... Module: Loaded SQL sql: driver = "rlm_sql_postgresql" sql: server = "localhost" sql: port = "" sql: login = "postgres"
The debug output shows what variable to use. I've snipped the output to make it a little easier to identify what you're hunting for. Kevin Bonner