<p dir="ltr">Hi razvan,</p>
<p dir="ltr">By default, the opensips script from menuconfig already has &#39;calculate_ha1&#39; set to &#39;yes&#39; (and &#39;password_column&#39; set to &#39;password&#39;).  Do you mean set &#39;calculate_ha1&#39; to &#39;0&#39;?  Then should the &#39;password_column&#39; remain &#39;password&#39;, or should it point to the &#39;ha1&#39; column?  If the column remains &#39;password&#39;, should this column contain the encoded ha1 password? </p>
<p dir="ltr">Please clarify.</p>
<div class="gmail_quote">On 14 Sep 2015 08:04, &quot;Răzvan Crainea&quot; &lt;<a href="mailto:razvan@opensips.org">razvan@opensips.org</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <tt>Hi, Nabeel!<br>
      <br>
      By default, OpenSIPS uses the password column to authenticate
      users. If you want to use HA1 authentication, you should set the
      calculate_ha1 parameter[1].<br>
      <br>
      [1]
      <a href="http://www.opensips.org/html/docs/modules/2.1.x/auth_db#id293468" target="_blank">http://www.opensips.org/html/docs/modules/2.1.x/auth_db#id293468</a><br>
      <br>
      Best regards,<br>
    </tt>
    <pre cols="72">Răzvan Crainea
OpenSIPS Solutions
<a href="http://www.opensips-solutions.com" target="_blank">www.opensips-solutions.com</a></pre>
    <div>On 09/13/2015 10:25 AM, Nabeel wrote:<br>
    </div>
    <blockquote type="cite">
      <p dir="ltr">Just tested this and I&#39;m not able to register without
        having the plain text password present in the &#39;password&#39; column
        in db.  How can I make OpenSIPS register using only the ha1
        hashed value? I tried commenting out and changing the
        &#39;password_column&#39; attribute in config but it didn&#39;t work.</p>
      <div class="gmail_quote">On 12 Sep 2015 12:40, &quot;Nabeel&quot; &lt;<a href="mailto:nabeelshikder@gmail.com" target="_blank"><a href="mailto:nabeelshikder@gmail.com" target="_blank">nabeelshikder@gmail.com</a></a>&gt;
        wrote:<br type="attribution">
        <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <p dir="ltr">Hi,</p>
          <p dir="ltr">My SIP client only uses the &#39;ha1&#39; password field
            from database to authenticate users and ignores the
            &#39;password&#39; field totally.  Will OpenSIPS allow such
            authentication to complete and register the user by using
            only the ha1 hashed password?</p>
        </blockquote>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </div>

<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div>