Hello Alexis,
Thank you for your answer. I took into account your suggestions. I put 
in the proxy.conf,
realm isp2.com { type = radius
                 authhost = 193.24.35.12:1812 (ip address of my machine)
                 accthost = 193.24.35.12:1813
                 secret = testing123
               }
modules {
        preprocess {
                huntgroups = ${confdir}/huntgroups
                hints = ${confdir}/hints
        # here some other stuff
        }

        realm suffix {
                format = suffix
                delimiter = "@"
        }
}

authorize {
        preprocess
        suffix
        # here some other stuff
}
and the command line is :
radtest [EMAIL PROTECTED] test localhost 0 testing123

but it is not working, the errors are:
   - rlm_realm: no such realm isp2.com
   - [authorize]: module "suffix" returns noop

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<

"Alexis C. Villalon" wrote:
> 
> On Thu, 23 Jan 2003, yacine rebahi wrote:
> 
> > Dear All,
> > I will be very glad if someone can give me more details regarding the
> > use of realm in freeradius-0.8.1.
> > - In the realms and the proxy.conf files, some realms are given. They
> > correspond to some remote servers. When a request is received with
> > @realm, the server looks up in these files and based on the
> > corresponding results, it gives the answer
> > - I am trying to use the test command for example (radtest [EMAIL PROTECTED]
> > test localhost 0 testing123) but the proxy does not recognize this
> > realm.
> > --
> 
> I wish you could give more clues like related snippets of your config files
> and debug output.
> 
> Anyway, we're using FRv0.8.1 both as proxy and home server and it's doing
> well.  You can ignore the realms file and just modify the proxy.conf file to
> your setup.  Here's a shot.
> 
> in proxy.conf (as for your setup)...
> 
> realm isp2.com {
>         type            = radius
>         authhost        = home.server.com:1812
>         accthost        = home.server.com:1813
>         secret          = secret
> }
> 
> and then in radiusd.conf...
> 
> modules {
>         preprocess {
>                 huntgroups = ${confdir}/huntgroups
>                 hints = ${confdir}/hints
>         }
> 
>         realm suffix {
>                 format = suffix
>                 delimiter = "@"
>         }
> }
> 
> authorize {
>         preprocess
>         suffix
> }
> 
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

-- 
Best Regards
Yacine

------------------------------------------------------------
Yacine Rebahi
FOKUS - Institut fuer offene Kommunikationssysteme
    Kaiserin-Augusta-Allee 31, D-10589 Berlin, Germany
Phone   +49 30 - 34 63 - 73 78
Fax     +49 30 - 34 63 - 80 00
e-Mail  [EMAIL PROTECTED]
------------------------------------------------------------

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

Reply via email to