Is it legal to use both a SQL database and a flat file for users simultaneously, or do you have to choose one or the other? If this is possible, does it require any change in configuration?
Lemaster, Rob wrote:
Is it legal to use both a SQL database and a flat file for users simultaneously, or do you have to choose one or the other? If this is possible, does it require any change in configuration?
SQL and "flat file" (rlm_passwd) are just modules, and freeradius doesn't care how many you use. Neither are in the default config, so you will need config changes, but there *are* examples of usage in the config files.
Lemaster, Rob wrote:
Is it legal to use both a SQL database and a flat file for users simultaneously, or do you have to choose one or the other? If this is possible, does it require any change in configuration?
You can look up some users in LDAP, others in SQL, others in flat files, others via Perl. And you can configure that differently per client. The flexibility of the server can be a little daunting. It's best to start with what you have, (which users in which DB), and then to create policies that direct packets to the appropriate configuration. Alan DeKok.
participants (3)
-
Alan DeKok -
Lemaster, Rob -
Phil Mayers