[SR-Users] ha1 password authentication without plain text password

Daniel-Constantin Mierla miconda at gmail.com
Mon Sep 14 10:46:02 CEST 2015


Hello,

On 13/09/15 20:58, Nabeel wrote:
>
> Hi,
>
> My SIP client only uses the 'ha1' password column from the database to
> authenticate users.  It does not require the 'password' column. 
> However, I am not able to register without having the plain text
> password present in the 'password' column in the database.  I need to
> change this behaviour so that user registration will occur using only
> the ha1 encoded password column. How can I make this change?  I tried
> commenting out and changing the 'password_column' attribute in the
> config but could not get it to work.
>

you have to set the password collumn to point to ha1 and then set
calculate_ha1 parameter to 0.

http://kamailio.org/docs/modules/stable/modules/auth_db.html#auth_db.p.calculate_ha1

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com
Kamailio Advanced Training, Sep 28-30, 2015, in Berlin - http://asipto.com/u/kat

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150914/c90fccc3/attachment.html>


More information about the sr-users mailing list