Freeradius, PostgreSQL and One-Time-Password backends
Ivan Kalik
tnt at kalik.net
Wed Jun 24 13:16:22 CEST 2009
>
> You don't. Use unlang.
>
>> Let´s say every user-record contains information in the table
>> Authentication-Server (Safeword or Portwise).
>
> update control {
> Proxy-To-Realm := %{sql:"SELECT...FROM Authentication-Server
> WHERE...}
> }
>
> Can you please provide me a more precise example of unlang
Like the one above? All you need to do is complete the SQL statement - all
the unlang is there.
> with the above
> configuration with
> server-ip and secret?
Those go into proxy.conf. Name of that realm will be pulled from the
database.
>
> And does this configuration go into the sites-available/default file?
Yes, authorize section.
Ivan Kalik
Kalik Informatika ISP
More information about the Freeradius-Users
mailing list