For anyone else trying to do this, in radiusd.conf I put:
#################################################
authorize {
preprocess
suffix
sqlauth # use *this* sql config for authorization
files
}
authenticate {
sqlauth # use the same sql config for authentication
}
accounting {
acct_unique
detail
sqlacct # but use a *different* sql config for accounting
radutmp
}
#################################################
then in sql.conf I have:
sql sqlauth {
driver = "rlm_sql_mysql"
server = "localhost"
login = "foo"
password = "bar"
radius_db = "authdatabasename"
..... etc
}
sql sqlacct {
driver = "rlm_sql_mysql"
server = "localhost"
login = "foo"
password = "bar"
radius_db = "acctdatabasename"
..... etc
}
#################################################
Thanks for all the responses
:)
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html