-- DEFAULT User-Name =~ "@.*\.isp\.com$", Proxy-To-Realm = "isp.com" --
In my proxy.conf I have this:
--
realm isp.com {
type = radius
authhost = 1.2.3.4:1645
authhost = 2.3.4.5:1645
authhost = 3.4.5.6:1645
secret = xxxxxx
ldflag = round_robin-- In my clients.conf I have this: --
client 208.251.203.13 {
secret = xxxxxx
shortname = rad2.someone.net-- And this is what I get in the trace file when a request comes through: --
rad_recv: Access-Request packet from host 1.2.3.4:41988, id=78, length=75
Thread 1 assigned request 0
Thread 1 handling request 0, (1 handled so far)
User-Name = "[EMAIL PROTECTED]"
User-Password = "xxxxx"
NAS-IP-Address = 127.0.0.1
NAS-Port = 1
modcall: entering group authorize
modcall[authorize]: module "preprocess" returns ok
rlm_chap: Could not find proper Chap-Password attribute in request
modcall[authorize]: module "chap" returns noop
modcall[authorize]: module "mschap" returns notfound
rlm_realm: Looking up realm eric.isp.com for User-Name = "[EMAIL PROTECTED]"
rlm_realm: No such realm eric.isp.com
modcall[authorize]: module "suffix" returns noop
modcall[authorize]: module "files" returns notfound
modcall: group authorize returns ok
auth: No authenticate method (Auth-Type) configuration found for the request: Rejecting the user
auth: Failed to validate the user.
Login incorrect: [EMAIL PROTECTED] (from client rad2.someone.net port 1)
Delaying request 0 for 1 seconds
Finished request 0
Going to the next request
-- Thanks for your help! --
Alan DeKok wrote:
Robert Haskins <[EMAIL PROTECTED]> wrote:
I am trying to configure freeradius-0.8.1 to accept authentication requests of the form: "user@<somthing>.isp.net" where I don't know in advance what the <something> is going to be. So essentially what I am asking is, is it possible to setup proxy.conf to match on a substring?
No.
But you can do it elsewhere:
DEFAULT User-Name =~ "@.*\.isp\.net$", Proxy-To-Realm = "isp.net" ...
Alan DeKok.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-- Robert D. Haskins WorldNET Internet Services mailto:[EMAIL PROTECTED] http://www.ziplink.net/~rhaskins
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
