On Mon, 31 Mar 2003, Brian Leung wrote:

> Hi Kostas,
> i don't understand what's checkval module?
> can u give a sample to me?
> assume i want to restrict uid=john to use NAS-IP-Address 192.168.0.1?
> what should i add into the ldif file?
> Thank you. please help

radiusCheckItem:  NAS-IP-Address := "192.168.0.1"

        checkval nas-check{
                item-name = "NAS-IP-Address"
                check-name = "NAS-IP-Address"
                data-type = "ipaddr"
        }

The checkval module is available in the latest CVS

>
> Brian
>
> ----- Original Message -----
> From: "Kostas Kalevras" <[EMAIL PROTECTED]>
> To: "freeradius" <[EMAIL PROTECTED]>
> Sent: Monday, March 31, 2003 10:20 PM
> Subject: Re: radiusCheckItem and radiusReplyItem
>
>
> > On Mon, 31 Mar 2003, Brian Leung wrote:
> >
> > > hi all,
> > > did anyone know how to use the
> > > radiusCheckItem and radiusReplyItem in the user's ldif file?
> > >
> > > If i want to restrict user who just can use nas 192.168.0.1, i should
> use
> > > radiusCheckItem:  NAS-IP-Address == "202.14.68.50"
> > > am i correct? should i do anything in radiusd.conf?
> > > Thank you
> >
> > Use the := operator and use the checkval module.
> >
> > >
> > > Brian
> > >
> >
> > --
> > Kostas Kalevras Network Operations Center
> > [EMAIL PROTECTED] National Technical University of Athens, Greece
> > Work Phone: +30 210 7721861
> > 'Go back to the shadow' Gandalf
> >
> > -
> > List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
> >
>
>

--
Kostas Kalevras         Network Operations Center
[EMAIL PROTECTED]       National Technical University of Athens, Greece
Work Phone:             +30 210 7721861
'Go back to the shadow' Gandalf

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

Reply via email to