Calling-Station-Id case sensitive
tnt at kalik.net
tnt at kalik.net
Wed Dec 17 00:35:10 CET 2008
You can use perl lc function to make sure attribute is always lower case.
List perl before checkval.
Ivan Kalik
Kalik Informatika ISP
Dana 16/12/2008, "lists at justinawilliams.com"
<lists at justinawilliams.com> piše:
>Is there any way to make the rlm-checkval check not case sensitive
>
>rlm_checkval: Item Name: Calling-Station-Id, Value: 00-21-5C-7B-FF-2D
>rlm_checkval: Value Name: Calling-Station-Id, Value: 00-21-5c-7b-ff-2d
>
>
>
>I have two different types of access points that i have to use right now
>and the cisco puts everything in caps and the proxium puts everything
>lower case.
>
>I am using mysql as my backed database.
>
>mysql> select * from radcheck order by id;
>+----+----------+--------------------+----+-------------------+
>| id | UserName | Attribute | op | Value |
>+----+----------+--------------------+----+-------------------+
>| 37 | dell1 | User-Password | := | dell1 |
>| 39 | dell1 | Calling-Station-Id | := | 00-19-7d-a6-ad-06 |
>| 40 | hp1 | User-Password | := | hp1 |
>| 41 | hp1 | Calling-Station-Id | := | 00-21-5c-7b-ff-2d |
>+----+----------+--------------------+----+-------------------+
>4 rows in set (0.00 sec)
>
>
>-
>List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>
>
More information about the Freeradius-Users
mailing list