i'm using ldap+freeradius and mikrotik as my AAA system.
hotspot user is authenticated via ldap server. my users are separated by groups in ldap and i control quota per group and ... in freeradius user file like this:
Code: Select all
DEFAULT Ldap-Group == "stu", Simultaneous-Use := 2, FUM-Total-Bytes := '9126805504', FUM-Reset-Type := 'daily', Mikrotik-Group:='student', Auth-Type := Accept
. so it means i can choose which "User Profile" my user should belong to. ( I picked it right? )HotSpot default profile for HotSpot users
i use "Mikrotik-Group" field in freeradius to send name of "User Profile", and log shows this value is send by freeradius:
unfortunately mikrotik log (/system logging add topics=radius,debug action=memory) does not show any output about received value and my user does not added in student "User Profile" (all users added to the default user profile), so i can not apply rate limit for specific users.(8) reset_time: $RAD_CHECK{'Mikrotik-Group'} = &control:Mikrotik-Group -> 'student'
(8) reset_time: $RAD_CONFIG{'Mikrotik-Group'} = &control:Mikrotik-Group -> 'student'
(8) reset_time: &control:Mikrotik-Group = $RAD_CHECK{'Mikrotik-Group'} -> 'student'
BTW: neither Mikrotik-Rate-Limit attribute works correctly .
i'm using mikrotik version 5.26 and freeradius 3.0.16
best regards.