At 08:17 PM 4/26/2002 +0200, Victor Sanchez wrote:
>i need to update 2 database with the data of the radius.
>
>y test to put this in the sql file:
>
>accounting_start_query = "INSERT into radacct <A LOT OF DATA> ;INSERT into
><A LOT OF DATA>"
>
>when i use it with update work fine, but in a insert say
>/etc/raddb/sql.conf[124]: Line is not in 'attribute = value' format
>
>any idea to update, and insert in 2 diferent database as the same time ????

Use two instances of the sql module.

sql one {
     foo = bar
     ....
}

sql two {
     foo = baz
     ....
}

authorize {
     one
     two
}

accounting {
     one
     two
}

-Chris
--
    \\\|||///  \          StarNet Inc.      \        Chris Parker
    \ ~   ~ /   \       WX *is* Wireless!    \   Director, Engineering
    | @   @ |    \   http://www.starnetwx.net \      (847) 963-0116
oOo---(_)---oOo--\------------------------------------------------------
                   \ Wholesale Internet Services - http://www.megapop.net



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

Reply via email to