"Michel van Dop" <[EMAIL PROTECTED]> wrote:
> So i leave the default config in radiusd.conf include the file sql.conf
> and put this in my radiusd.conf:
> 
> $INCLUDE  ${confdir}/sql.conf
> 
>   modules {

  Once again, the include for sql.conf MUST BE INSIDE of the "modules"
section.  It's there in the default config.  Why do you expect it to
work when you move it outside?

>     sql sql1 {
>       driver = "rlm_sql_mysql
>       server="myfirstserver.example"
>       # Insert the rest of config of sql.conf in here

  Why?  Just copy "sql.conf" to "sql1.conf" and "sql2.conf".  Edit
THOSE files to start off with "sql sql1 {" and "sql sql2 {" instead of
just "sql {".  Then, $INCLUDE both of the files in radiusd.conf, in
the SAME PLACE that the normal sql.conf file is included.

  Alan DeKok.


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to