checkval module for calling-station-id & nasidentifier
Hi Friends, is it possible to use checkval module for Calling-Station-Id & nasidentifier simultaneously ? i.e. i am already using calling-Station-Id attribute for MAC authentication but i also need to use nas-identifier, to restrict a user to specific NAS. Can i do the following? *nano /etc/freeradius/modules/checkval* checkval Calling-Station-Id { item-name = Calling-Station-Id check-name = Calling-Station-Id data-type = string notfound-reject = no } checkval nasidentifier { item-name = NAS-Identifier check-name = NAS-Identifier data-type = string notfound-reject = no } Thanks / --RM
On Jan 20, 2015, at 6:37 AM, Russell Mike <radius.sir@gmail.com> wrote:
is it possible to use checkval module for Calling-Station-Id & nasidentifier simultaneously ? i.e. i am already using calling-Station-Id attribute for MAC authentication but i also need to use nas-identifier, to restrict a user to specific NAS. Can i do the following?
Yes, that should work. But if you just do the checks in unlang, that will be simpler and more flexible. Alan DeKok.
Dear Alan De. Million thanks for developing such wonderful stuff for us. Understood !! Thanks / --RM On Tue, Jan 20, 2015 at 3:17 PM, Alan DeKok <aland@deployingradius.com> wrote:
On Jan 20, 2015, at 6:37 AM, Russell Mike <radius.sir@gmail.com> wrote:
is it possible to use checkval module for Calling-Station-Id & nasidentifier simultaneously ? i.e. i am already using calling-Station-Id attribute for MAC authentication but i also need to use nas-identifier, to restrict a user to specific NAS. Can i do the following?
Yes, that should work. But if you just do the checks in unlang, that will be simpler and more flexible.
Alan DeKok.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (2)
-
Alan DeKok -
Russell Mike