Database-based authentication is performed by the module AUTH_DB.
Other types of authentication such as radius and diameter can be performed using AUTH_RADIUS
and AUTH_DIAMETER
respectively. AUTH_DB
works together with database modules such as MySQL and PostgreSQL. AUTH_DB h
as some parameters that are not explicitly declared in the script. Let's see the default parameters for the AUTH_DB
module:
Parameter |
Default |
Description |
---|---|---|
db_url |
"mysql://openserro:openserro@localhost/openser" |
URL of the database |
user_column |
"username" |
Name of the column holding domains of users |
domain_column |
"domain" |
Name of the column holding domains of users |
password column |
"ha1" |
Name of the column holding passwords |
password_column2 |
"ha1b" |
Name of the column holding pre-calculated HA1 strings that were calculated including the domain in the username. |
calculate_ha1 |
0 (server assumes that ha1 strings are already calculated in the database) |
Tell the server whether it should expect... |