RE: radius -> radius

This is a discussion on RE: radius -> radius within the FreeRADIUS Users forums, part of the Networking and Network Related category; Here's how I did it. Note that there are many ways to do this. In radiusd.conf Goto the ...


Go Back   Usenet Forums > Networking and Network Related > FreeRADIUS Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-16-2005
Junior Gillespie
 
Posts: n/a
Default RE: radius -> radius

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 =3D 1
notfound =3D 2
noop =3D return
ok =3D return
updated =3D return
reject =3D return
userlock =3D return
invalid =3D return
handled =3D return
}
sql2 {
fail =3D 1
notfound =3D 2
noop =3D return
ok =3D return
updated =3D return
reject =3D return
userlock =3D return
invalid =3D return
handled =3D 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=20
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=92t.


Junior Gillespie
NOC Engineer
T-SPEED Broadband Communications, Inc.=20
1-800-4TSpeed
972-458-0909
support@t-speed.com
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: freeradius-users-admin@lists.freeradius.org =
[mailto:freeradius-users-admin@lists.freeradius.org] On Behalf Of Dmitry =
S. Vlasov
Sent: Monday, February 14, 2005 9:45 AM
To: freeradius-users@lists.freeradius.org
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!
--=20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3 D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D
=3D Dmitry S. Vlasov
=3D Network Administrator
=3D Quantum Communications, NOC
=3D Saint-Petersburg, Russia
=3D +7 (812) 327-6131 (ext. 243)
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3 D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D


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


---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.857 / Virus Database: 584 - Release Date: 2/10/2005
=20

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.857 / Virus Database: 584 - Release Date: 2/10/2005
=20

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


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:53 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0