i'm sending this atributes
Cleartext-Password==1
CHAP-Password==1
Mikrotik-Rate-Limit==600k/600k
NAS-Identifier=Mikrotik
Calling-Station-Id=192.168.3.210
MT-Group=Mikrotik
NAS-IP-Address=192.168.3.242
Service-Type=Login-User
and on log I have this error
[chap] Cleartext-Password is required for authentication
++[chap] returns
invalid
Failed to authenticate the user.
Login incorrect (rlm_chap: Clear
text password not available): [renato/<CHAP-Password>]
what atributes I need to change?
Alisson wrote:Well.. the RFC's explain how to do CHAP calculations. FreeRADIUS
> hi, I need to use chap-password and chap-challenge to authenticate
> mikrotik on radius
>
> and i'm trying to use some pear extensions to do it...
contains examples of how to do it.
Ask the Pear people why it's wrong.
> but mikrotik use passwords like this
>
> password=1
>
> CHAP-Challenge =
> 0xad2c7efe802ea7bea94e270404eb01ae
> CHAP-Password = 0x000ad48b2d944948e8014118aeb4e56923
>
> and on pear crypt-chap it generates
Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html