How do I Instruct Freeradius to connect to postgreSQL Database on a port other than 5432?
Alan DeKok
aland at deployingradius.com
Wed Sep 12 18:26:28 CEST 2007
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.
More information about the Freeradius-Users
mailing list