Community discussions

MikroTik App
 
prabhatravi
just joined
Topic Author
Posts: 5
Joined: Tue Jan 25, 2022 8:37 am

Need to understand userman radius mac auth with username and password

Thu Jan 27, 2022 4:43 pm

Hi All,

Hope you guys doing well.

I am trying to implement radius client-side code for mac auth with Mikrotik's radius server with user password.
Need little information related to this, which can help me in implementing the same.
How Mirkrotik radius server decrypt chap password radius attribute coming in radius access-request without chap-challenge radius attribute? So, that we can encrypt in a similar way in radius client side.
We tried the following but end up "invalid password" from the radius server.
1. putting client mac address in radius chap password radius attribute.
2. putting md5 hash value of client mac address in radius chap password radius attribute.
3. creating md5 hash from radius message authenticator, id, client mac and putting the same in radius chap password radius attribute.

Please help me understand the same.
Thanks,

Who is online

Users browsing this forum: anav, Bing [Bot], Google [Bot], raiod and 79 guests