<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"><meta name="Generator" content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EstiloCorreo17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style></head><body lang="ES-CL" link="blue" vlink="purple"><div class="WordSection1"><p class="MsoNormal"><span lang="EN-US">Hello.</span></p><p class="MsoNormal"><span lang="EN-US">We have detected a behavior not specified in the docs.  I ask for support to solve this issue.</span></p>
<p class="MsoNormal"><span lang="EN-US">We are using a Radius system to authorize our clients, so, for REGISTER we use the command</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">radius_www_authorize(“<a href="http://mydomain.com">mydomain.com</a>”)</span></p>
<p class="MsoNormal"><span lang="EN-US">According to the documentation the possible answers are : </span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">Negative result codes may be interpreted as follows:</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">-7 (internal error) - some internal error occurred (see syslog);</span></p><p class="MsoNormal"><span lang="EN-US">-6 (nonce reused) - nonce is used more than once;</span></p>
<p class="MsoNormal"><span lang="EN-US">-5 (no credentials) - credentials were not found in request;</span></p><p class="MsoNormal"><span lang="EN-US">-4 (stale nonce) - stale nonce;</span></p><p class="MsoNormal"><span lang="EN-US">-3 (authorization failed) - RADIUS responded with Access Reject which may be, for example, due to user not found or wrong password;</span></p>
<p class="MsoNormal"><span lang="EN-US">-1 (error) - some error occured during authorization (see syslog);</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">Despite of this, for BadPassword or UserNotExist from the radius answer the radius_www_authorize command return  “-2” as a retcode.</span></p>
<p class="MsoNormal"><span lang="EN-US">So, is the documentation missing something?</span></p><p class="MsoNormal"><span lang="EN-US">Or I’m doing something wrong?</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">Thanks</span></p><p class="MsoNormal"><span lang="EN-US">Ricardo Martinez.-</span></p><p class="MsoNormal"> </p></div></body></html>