<div>Thanks Mr. Alan Dekok and Mr. Arran Cudbard-Bell for your help. i tried the same and its working gr8.</div> <div> </div> <div> </div> <div>Thanks, i appreciate your help.</div> <div> </div> <div> </div> <div>Nirmal Patel</div> <div>+91-9323704733<BR><B><I></I></B></div> <div><B><I>Arran Cudbard-Bell <A.Cudbard-Bell@sussex.ac.uk></I></B> wrote:</div> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Nirmal wrote:<BR>> can i use two sql database in sql.conf for free radius version 0.9 ?<BR>> <BR>> currently i m using freeradius 0.9 + MySQL 3.23 + PPPoE on linux (NAS)<BR>> <BR>> authentication and accounting is happening in one database.<BR>> <BR>> i have a very large user database and i want to assign roaming profile <BR>> to my users, in that case users will be authenticated from *database1* <BR>> which is having authentication information
(radcheck, <BR>> radgroupcheck,radreply) of all users *and* accounting will be done in <BR>> *database2 *(radacct table).<BR>> <BR>> how to specify two database in sql.conf ? as there is only one line <BR>> *radius_db. :(*<BR>> **<BR>You have two instances of the sql module config in sql.conf<BR><BR>so first default instance is<BR>sql {<BR>directive = whatever<BR>.... config for database1<BR>}<BR>second for accounting<BR>sql sql_accounting {<BR>directive = whatever<BR>.... config for database2<BR>}<BR><BR>You then reference sql_accounting instead of just plain sql in the <BR>accounting sections .<BR><BR>> ** <BR>> i did not find more help in docs of freeradius-1.1.5 !! Please help<BR>> <BR>> Nirmal Patel<BR>> +91-9323704733<BR>><BR>><BR>> */Alan DeKok <ALAND@DEPLOYINGRADIUS.COM>/* wrote:<BR>><BR>> Nirmal wrote:<BR>> > Hi i m using freeradius 0.9<BR>><BR>> Why?<BR>><BR>> > is it possible to select two sql
databases in sql.conf ?<BR>><BR>> Yes.<BR>><BR>> > how ?<BR>><BR>> See the documentation in the recent versions.<BR>><BR>> Alan DeKok.<BR>> --<BR>> http://deployingradius.com - The web site of the book<BR>> http://deployingradius.com/blog/ - The blog<BR>> -<BR>> List info/subscribe/unsubscribe? See<BR>> http://www.freeradius.org/list/users.html<BR>><BR>><BR>> ------------------------------------------------------------------------<BR>> No need to miss a message. Get email on-the-go <BR>> <HTTP: evt="43910/*http://mobile.yahoo.com/mail" us.rd.yahoo.com><BR>> with Yahoo! Mail for Mobile. Get started. <BR>> <HTTP: evt="43910/*http://mobile.yahoo.com/mail" us.rd.yahoo.com><BR>> ------------------------------------------------------------------------<BR>><BR>> - <BR>> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html<BR><BR>- <BR>List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html<BR></BLOCKQUOTE><BR><p>
<hr size=1>It's here! Your new message!<br>Get
<a href="http://us.rd.yahoo.com/evt=49938/*http://tools.search.yahoo.com/toolbar/features/mail/"> new email alerts</a> with the free <a href="
http://us.rd.yahoo.com/evt=49938/*http://tools.search.yahoo.com/toolbar/features/mail/">Yahoo! Toolbar.</a>