Hi,

Its ok to use a second sql backend , not to send the request to a second homeradius ..

Regards
Thomas


Junior Gillespie wrote:

Here's how I did it. Note that there are many ways to do this.

In radiusd.conf

Goto the modules section, and modify the $INCLUDE for sql.conf to look like 
this.

$INCLUDE  ${confdir}/sql1.conf
$INCLUDE  ${confdir}/sql2.conf
# adding as many sql db as needed.

Then also add right below it the following

sql sql1 {
}
sql sql2 {
}
# Must reflect the $INCLUDE from above.

###The Authorize section must have something similar to the following

       group {
         sql1 {
           fail        = 1
           notfound    = 2
           noop        = return
           ok          = return
           updated     = return
           reject      = return
           userlock    = return
           invalid     = return
           handled     = return
         }
         sql2 {
           fail        = 1
           notfound    = 2
           noop        = return
           ok          = return
           updated     = return
           reject      = return
           userlock    = return
           invalid     = return
           handled     = return
         }
       }
## Of course this too will need to reflect the modules section.
## May also want to add it into the accounting section.  This will need to be 
modified regardless.  Will need to modify it to look at sql1 etc.

You must then copy original sql.conf to sql1.conf...sql2.conf...and so on.
Then modify the sql#.conf to meet your needs with db info.  You will need to 
make the following change in the sql#.conf:

sql {
to sql sql1 { # This is mandatory!


# Now restart radiusd with radiusd -X to see any errors you may get.

This should work for you. Let me know if it does or doesn’t.


Junior Gillespie
NOC Engineer
T-SPEED Broadband Communications, Inc. 1-800-4TSpeed
972-458-0909
[EMAIL PROTECTED]
http://www.t-speed.com/
The information contained in this e-mail may be privileged, confidential, and protected from disclosure. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or duplication of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately and delete all copies.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dmitry S. Vlasov
Sent: Monday, February 14, 2005 9:45 AM
To: [email protected]
Subject: radius -> radius


Hello!
How I can create following scheme:
Two freeradius servers, called "A" and "B".

1) When User found but got Reject from server "A", "A" try to proxy this request to "B"
or
2) When User not found on "A", "A" proxy request to "B".


Thank you!




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

Reply via email to