We have had this working with earlier version of FreeRadius. When A User-Name does not have a Realm we want to default it’s realm.
In the users file we have the following lines:
DEFAULT Realm == "Site", Autz-Type := Site, Auth-Type := Site, PostAuth-Type := Site-postauth
DEFAULT Proxy-To-Realm:="Site"
The expected behavior would be to default the user’s Realm to Site and send the request through the proxy module again. This seems to have stopped working with the latest release. At the end Of the users file the Server just stops processing the request.
Here’s some of the debug. Anyone else having this problem? Thanks, Ron.
rad_recv: Access-Request packet from host 10.0.0.53:2370, id=35, length=57 User-Name = "ron" User-Password = "ronpassword" Calling-Station-Id = "999999999999" modcall: entering group authorize modcall[authorize]: module "preprocess" returns ok modcall[authorize]: module "chap" returns noop modcall[authorize]: module "mschap" returns noop rlm_realm: No '@' in User-Name = "ron", looking up realm NULL rlm_realm: No such realm "NULL" modcall[authorize]: module "suffix" returns noop rlm_realm: No '/' in User-Name = "ron", looking up realm NULL rlm_realm: No such realm "NULL" modcall[authorize]: module "realmslash" returns noop rlm_realm: No '\' in User-Name = "ron", looking up realm NULL rlm_realm: No such realm "NULL" modcall[authorize]: module "backslash" returns noop rlm_realm: No '%' in User-Name = "ron", looking up realm NULL rlm_realm: No such realm "NULL" modcall[authorize]: module "realmpercent" returns noop users: Matched DEFAULT at 21 modcall[authorize]: module "files" returns ok rlm_eap: No EAP-Message, not doing EAP modcall[authorize]: module "eap" returns noop modcall: group authorize returns ok Finished request 0 Going to the next request --- Walking the entire request list --- Waking up in 6 seconds... |
- RE: defaulting a user's Realm Ron Wahler
- RE: defaulting a user's Realm Ron Wahler
- Re: defaulting a user's Realm Alan DeKok
- RE: defaulting a user's Realm Ron Wahler
- Re: defaulting a user's Realm Alan DeKok
- RE: defaulting a user's Realm Ron Wahler
- Re: defaulting a user's Realm Alan DeKok
- RE: defaulting a user's Realm Ron Wahler
- Re: defaulting a user's Realm Alan DeKok
- RE: defaulting a user's Realm Ron Wahler
- Re: defaulting a user's Realm Alan DeKok