Skip to content

merentitis/kampasswd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

kampasswd
=========

A PHP script to be used by kamailio (openSER) subscribers to change their password while using digest authentication with MySQL.

This script works correctly when passwords have been stored to the database as pre-calculated HA1 strings, NOT plain text.
Therefore, you should have disabled HA1 calculation on your kamailio.cfg config file and disable the plain text password column:

#!ifdef WITH_AUTH
modparam("auth_db", "db_url", DBURL)
#modparam("auth_db", "password_column", "password")
modparam("auth_db", "password_column", "ha1")
modparam("auth_db", "calculate_ha1", no)
modparam("auth_db", "load_credentials", "")
modparam("auth_db", "use_domain", MULTIDOMAIN)

About

A PHP script used by kamailio (openSER) subscribers to change their password

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages