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...@lists.freeradius.org 
[mailto:freeradius-users-bounces+francois.mehault=netplus...@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

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

Reply via email to