checkval module

François Mehault Francois.Mehault at netplus.fr
Wed Jun 3 15:54:46 CEST 2009


Hi

I think you have to do like this :

checkval checkNasPortId {

                item-name = NAS-Port-Id
                check-name = NAS-Port-Id

                data-type = string
                notfound-reject = yes
        }


checkval checkNasPortType {

                item-name = NAS-Port-Type
                check-name = NAS-Port-Type

                data-type = string
                notfound-reject = yes
        }

and in your /site-available/default you load checkNasPortId & checkNasPortType instead of checkval

#checkval
checkNasPortId
checkNasPortType

I hope I help you

François

De : freeradius-users-bounces+francois.mehault=netplus.fr at lists.freeradius.org [mailto:freeradius-users-bounces+francois.mehault=netplus.fr at lists.freeradius.org] De la part de Amr el-Saeed
Envoyé : mercredi 3 juin 2009 15:36
À : FreeRadius users mailing list
Objet : checkval module

Hi every one

I am using freeradius 1.1.7
i am configuring checkval to check for Nas-Port-Type , i need to make it checks for Nas-Port-Id also .

this is the radius.conf checkval sections

checkval {
                item-name = NAS-Port-Id
                check-name = NAS-Port-Id

                item-name = NAS-Port-Type
                check-name = NAS-Port-Type

                data-type = string
                notfound-reject = yes
        }


but actually it process the first entry only  which is NAS-Port-Id and ignore the second one which is NAS-Port-Type .
Is that possible  to  make  the radius to check both items  ??


thanks
Amr

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20090603/891a77aa/attachment.html>


More information about the Freeradius-Users mailing list