It is finding realm NULL and not DEFAULT and I set the Autz-type
so it is processed as  local sql, but as you can see in the debug
the Autz-type does not get set.  I am trying to cover all the bases
here with the settings. I want the user to be processed in the local
sql database. 




Users file:

DEFAULT Realm =="NULL", Autz-Type:=sql
DEFAULT  Autz-Type:=sql


Proxy.conf

realm DEFAULT {
        type = radius
        authhost = Local
        secret = sss
}


rad_recv: Access-Request packet from host 10.0.0.53:1467, id=1,
length=57
        User-Name = "ron"
        User-Password = "temp"
        Calling-Station-Id = "00022D22223C"
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: Found realm "NULL"
    rlm_realm: Proxying request from user ron to realm NULL
    rlm_realm: Adding Realm = "NULL"
    rlm_realm: Authentication realm is LOCAL.
  modcall[authorize]: module "suffix" returns noop
    rlm_realm: Request already proxied.  Ignoring.
  modcall[authorize]: module "realmslash" returns noop
    rlm_realm: Request already proxied.  Ignoring.
  modcall[authorize]: module "backslash" returns noop
    rlm_realm: Request already proxied.  Ignoring.
  modcall[authorize]: module "realmpercent" returns noop
    users: Matched DEFAULT at 15
  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
modcall: entering group Autz-Type
radius_xlat:  ''
  modcall[authorize]: module "sql" returns fail
modcall: group Autz-Type returns fail
Finished request 0
Going to the next request
--- Walking the entire request list ---
Waking up in 6 seconds...
--- Walking the entire request list ---
Cleaning up request 0 ID 1 with timestamp 3f6b81b4
Nothing to do.  Sleeping until we see a request.






> -----Original Message-----
> From: Alan DeKok [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 19, 2003 2:31 PM
> To: [EMAIL PROTECTED]
> Subject: Re: defaulting a user's Realm
> 
> "Ron Wahler" <[EMAIL PROTECTED]> wrote:
> > What would the syntax look like to assign the DEFAULT Realm to Site
?
> >
> > realm DEFAULT {
> 
>   Yes.  That sets the realm to "DEFAULT"
> 
> > This does not seem to work. I need to be able to assign the realm to
> > A value like "Site".
> 
>   Hmm... why not just use DEFAULT?  You'd have duplicate entries
> "DEFAULT" and "Site", but that shouldn't be too bad...
> 
>   Alan DeKok.
> 
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html

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

Reply via email to