<p dir="ltr">Hi razvan,</p>
<p dir="ltr">By default, the opensips script from menuconfig already has 'calculate_ha1' set to 'yes' (and 'password_column' set to 'password'). Do you mean set 'calculate_ha1' to '0'? Then should the 'password_column' remain 'password', or should it point to the 'ha1' column? If the column remains 'password', 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, "Răzvan Crainea" <<a href="mailto:razvan@opensips.org">razvan@opensips.org</a>> 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'm not able to register without
having the plain text password present in the 'password' column
in db. How can I make OpenSIPS register using only the ha1
hashed value? I tried commenting out and changing the
'password_column' attribute in config but it didn't work.</p>
<div class="gmail_quote">On 12 Sep 2015 12:40, "Nabeel" <<a href="mailto:nabeelshikder@gmail.com" target="_blank"><a href="mailto:nabeelshikder@gmail.com" target="_blank">nabeelshikder@gmail.com</a></a>>
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 'ha1' password field
from database to authenticate users and ignores the
'password' 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>