<div dir="ltr">Hi,<br><br>You need to modify "users" file of FreeRadius Server. In "users" file, change "Password"  attribute name to "<span style="font-size:12.8px">Cleartext-Password</span>" and it should work fine.</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 18, 2017 at 7:11 PM, Donat Zenichev <span dir="ltr"><<a href="mailto:donat.zenichev@gmail.com" target="_blank">donat.zenichev@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all.<div>Have a problem with radius authorization.</div><div><br></div><div>I'm using auth_radius.so</div><div><br></div><div>modparams, only path to client file:</div><div>modparam("auth_radius", "radius_config", "/etc/radiusclient/<wbr>radiusclient.conf")<br></div><div><br></div><div>Freeradius installed and is working properly, radtest authentication from kamailio host succeed .</div><div><br></div><div>How authorization block looks like:</div><div><br></div><div><div><span class="m_-1464010761372508315gmail-Apple-tab-span" style="white-space:pre-wrap">      </span>if (!is_present_hf("<wbr>Authorization")) {</div><div><span class="m_-1464010761372508315gmail-Apple-tab-span" style="white-space:pre-wrap">         </span>xlog("L_NOTICE", "----- Athorization HF is not found - passing the challenge -----\n");</div><div><br></div><div><span class="m_-1464010761372508315gmail-Apple-tab-span" style="white-space:pre-wrap">                </span>if (nat_uac_test("2")) {</div><div><span class="m_-1464010761372508315gmail-Apple-tab-span" style="white-space:pre-wrap">                  </span>force_rport();</div><div><span class="m_-1464010761372508315gmail-Apple-tab-span" style="white-space:pre-wrap">              </span>}</div><div><br></div><div><span class="m_-1464010761372508315gmail-Apple-tab-span" style="white-space:pre-wrap">          </span>www_challenge("$fd", "1");</div><div><span class="m_-1464010761372508315gmail-Apple-tab-span" style="white-space:pre-wrap">              </span>exit;</div></div><div><br></div><div><br></div><div><div><span class="m_-1464010761372508315gmail-Apple-tab-span" style="white-space:pre-wrap">      </span>if (!radius_www_authorize("$fd","<wbr>$fU")) {</div><div><br></div><div><span class="m_-1464010761372508315gmail-Apple-tab-span" style="white-space:pre-wrap">           </span>if (nat_uac_test("2")) {</div><div><span class="m_-1464010761372508315gmail-Apple-tab-span" style="white-space:pre-wrap">                  </span>force_rport();</div><div><span class="m_-1464010761372508315gmail-Apple-tab-span" style="white-space:pre-wrap">              </span>}</div><div><span class="m_-1464010761372508315gmail-Apple-tab-span" style="white-space:pre-wrap">           </span>xlog("L_NOTICE", "----- Registeration $au@$ar ($fU) from $si:$sp Rejected. Code: $rc -----\n");</div><div><br></div><div><span class="m_-1464010761372508315gmail-Apple-tab-span" style="white-space:pre-wrap">                </span>sl_send_reply("401","<wbr>Unauthorized");</div><div><span class="m_-1464010761372508315gmail-Apple-tab-span" style="white-space:pre-wrap">         </span>exit;</div></div><div><br></div><div>Radius log is filled by rows like:</div><div>Auth: [digest] Cleartext-Password or Digest-HA1 is required for authentication.<br></div><div><br></div><div>Tried to use radius_www_authorize without $fU - didn't change anything.</div><div>Tried to use www_challenge without qop - didn't change anything.<br></div><div><br></div><div>So, this solution is quite simple, but I have a fail while digest authentication.</div><div>Any ideas? </div><span class="HOEnZb"><font color="#888888"><div><br clear="all"><div><br></div>-- <br><div class="m_-1464010761372508315gmail_signature"><div dir="ltr"><span>-- <br></span>BR, Donat Zenichev
<br>Wnet VoIP team
<br>Tel:  +380(44) 5-900-808
<br><a href="http://wnet.ua" target="_blank">http://wnet.ua</a></div></div>
</div></font></span></div>
<br>______________________________<wbr>_________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
<br></blockquote></div><br></div>