freeradius wont let realms based auth

Andres Pazos andy at ferengi.com.ar
Thu Nov 10 23:16:38 CET 2005


hi, im new to the mailing list. i'd be really thanked if someone could help me with the following issue:

im trying to use freeradius with sql and mysql realm based (i.e.: sql when realm=dhcp and mysql when realm=wireless).

i've red acct-type and tried to do the same. is that correct?, should i use acct-type?, what should i use instead?. Nevertheless, i'll add the debug of radtest, radiusd and radiusd.conf.
 
radtest:
root at andy:/var/log# radtest andy at wireless andy localhost 1812 testing123
Sending Access-Request of id 177 to 127.0.0.1:1812
        User-Name = "andy at wireless"
        User-Password = "andy"
        NAS-IP-Address = andy
        NAS-Port = 1812
rad_recv: Access-Reject packet from host 127.0.0.1:1812, id=177, length=20

radiusd -X:

rad_recv: Access-Request packet from host 127.0.0.1:32812, id=177, length=65
        User-Name = "andy at wireless"
        User-Password = "andy"
        NAS-IP-Address = 255.255.255.255
        NAS-Port = 1812
  Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 0
  modcall[authorize]: module "preprocess" returns ok for request 0
  modcall[authorize]: module "chap" returns noop for request 0
  modcall[authorize]: module "mschap" returns noop for request 0
    rlm_realm: Looking up realm "wireless" for User-Name = "andy at wireless"
    rlm_realm: Found realm "wireless"
    rlm_realm: Proxying request from user andy to realm wireless
    rlm_realm: Adding Realm = "wireless"
    rlm_realm: auth_port is not set.  Proxy cancelled.
  modcall[authorize]: module "suffix" returns noop for request 0
    users: Matched entry DEFAULT at line 212
  modcall[authorize]: module "files" returns ok for request 0
modcall: group authorize returns ok for request 0
auth: No authenticate method (Auth-Type) configuration found for the request: Rejecting the user
auth: Failed to validate the user.
Delaying request 0 for 1 seconds
Finished request 0
Going to the next request
--- Walking the entire request list ---
Waking up in 1 seconds...
--- Walking the entire request list ---
Waking up in 1 seconds...
--- Walking the entire request list ---
Sending Access-Reject of id 177 to 127.0.0.1:32812
Waking up in 4 seconds...


thanks in advance!.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: radiusd.conf
Type: application/octet-stream
Size: 4756 bytes
Desc: radiusd.conf
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20051110/1244ec29/attachment.obj>


More information about the Freeradius-Users mailing list