i'm sending this atributes<br><br>Cleartext-Password==1<br>CHAP-Password==1<br>Mikrotik-Rate-Limit==600k/600k<br>NAS-Identifier=Mikrotik<br>Calling-Station-Id=192.168.3.210<br>MT-Group=Mikrotik<br>NAS-IP-Address=192.168.3.242<br>
Service-Type=Login-User<br><br>and on log I have this error <br><br>[chap] Cleartext-Password is required for authentication<br>++[chap] returns 
invalid<br>Failed to authenticate the user.<br>Login incorrect (rlm_chap: Clear 
text password not available): [renato/<CHAP-Password>] <br><br>what atributes I need to change?<br><br><div class="gmail_quote">2010/2/2 Alan DeKok <span dir="ltr"><<a href="mailto:aland@deployingradius.com">aland@deployingradius.com</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">Alisson wrote:<br>
> hi, I need to use chap-password and chap-challenge to authenticate<br>
> mikrotik on radius<br>
><br>
> and i'm trying to use some pear extensions to do it...<br>
<br>
</div>  Well.. the RFC's explain how to do CHAP calculations.  FreeRADIUS<br>
contains examples of how to do it.<br>
<div class="im"><br>
> but mikrotik use passwords like this<br>
><br>
> password=1<br>
><br>
> CHAP-Challenge =<br>
> 0xad2c7efe802ea7bea94e270404eb01ae<br>
> CHAP-Password = 0x000ad48b2d944948e8014118aeb4e56923<br>
><br>
> and on pear crypt-chap it generates<br>
<br>
</div>  Ask the Pear people why it's wrong.<br>
<font color="#888888"><br>
  Alan DeKok.<br>
-<br>
List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/list/users.html</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Att.<br>Alisson F. Gonçalves<br>Sistemas de Informação - UFGD<br>