Hello.

My password is stored in plaintext in the password column
+----+----------+-----------+----------+---------------+-----+------+---
---+

| id | username | domain    | password | email_address | ha1 | ha1b |
rpid |

+----+----------+-----------+----------+---------------+-----+------+---
---+

|  6 | 1006     | 10.0.4.34 | 5        | [email protected]  |     |      |
NULL |

+----+----------+-----------+----------+---------------+-----+------+---
---+

 I assume that the  setting I've changed in /etc/opensips/opensipsctlrc
from 
  store_plaintext_pw=1
to 
  store_plaintext_pw=0
hasn't been taken into consideration.

How do I activate this setting, what service that reads this config file
do I have to restart so it'll use this changed setting?

thx
Chris

 

From: Christian Cambier 
Sent: dinsdag 20 november 2012 18:01
To: 'OpenSIPS users mailling list'
Subject: SIP/2.0 401 Unauthorized

 

Hello.

Upon registering a UAC I keep on getting a "SIP/2.0 401 Unauthorized" 
The SIP challenge-response is being executed but I assume there's still
an issue with plain/hashed passwords

In the cfg I specify
   modparam("auth_db", "calculate_ha1", 0)

   modparam("auth_db", "password_column", "ha1")


In /etc/opensips/opensipsctlrc I have changed setting 
  store_plaintext_pw=1
to 
  store_plaintext_pw=0

Apart from 
   service opensips restart
do I have to restart anything else or specify another setting somewhere?

thx
Chris

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to