how to generate chap-password chap-challenge on radius
Alisson
alissonfer at gmail.com
Tue Feb 2 18:22:52 CET 2010
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?
2010/2/2 Alan DeKok <aland at deployingradius.com>
> Alisson wrote:
> > 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...
>
> Well.. the RFC's explain how to do CHAP calculations. FreeRADIUS
> contains examples of how to do it.
>
> > but mikrotik use passwords like this
> >
> > password=1
> >
> > CHAP-Challenge =
> > 0xad2c7efe802ea7bea94e270404eb01ae
> > CHAP-Password = 0x000ad48b2d944948e8014118aeb4e56923
> >
> > and on pear crypt-chap it generates
>
> Ask the Pear people why it's wrong.
>
> Alan DeKok.
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>
--
Att.
Alisson F. Gonçalves
Sistemas de Informação - UFGD
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20100202/b58ced5d/attachment.html>
More information about the Freeradius-Users
mailing list