In release 1.0 you have an extra option "ignore_null" which will tell 
freeradius not to match against the NULL domain if a realm match fails.

Otherwise if you don't need the NULL domain you can remove it.

Regards,
Simon.
---

On Thursday 12 August 2004 06:32, Rohaizam Abu Bakar wrote:
> Hi ,
>
> Using freeradius 0.9.3 with FB 4.9 OS
>
> Try sending request using "bacangtesting.com/bacang" and  in radiusd.conf
> already configure 2 realm order i.e "realmslash" and "suffix" But since i
> put the "suffix" above "realmslash"... It will search only at "suffix" and
> once not found.. it will straight go to realm "NULL"
>
> Once I change the order ("realmslash" above "suffix") in radiusd.conf ..
> then it''s working..
>
> Why the realm module do not search for 2nd line???
>
>
> i) Debug LOG
>
> #######################################################
> 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
>     rlm_realm: No '@' in User-Name = "bacangtesting.com/bacang", looking
> up realm NULL
>     rlm_realm: Found realm "NULL"
>     rlm_realm: Adding Stripped-User-Name = "bacangtesting.com/bacang"
>     rlm_realm: Proxying request from user bacangtesting.com/bacang to
> realm NULL
>     rlm_realm: Adding Realm = "NULL"
>     rlm_realm: Authentication realm is LOCAL.
> ################################################################3
>
> ii) radiusd.conf
>
> ##################################################
>
>         realm realmslash {
>                 format = prefix
>                 delimiter = "/"
>         }
>         realm suffix {
>                 format = suffix
>                 delimiter = "@"
>         }
>
>
>
> preacct {
> .
> .
> .
>
>         suffix
>         realmslash
> .
> .
> .
> }
>
> authorize {
> .
> .
>         suffix
>         realmslash
> .
> .
> .}
> ###################################
>
> iii) proxy.conf
>
>
> #######################################3
>
> realm bacangtesting.com {
>         type        = radius
>         authhost    = LOCAL
>         accthost    = LOCAL
> }
>
> ###################################################
>
> --haizam


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

Reply via email to