Skip to content

Commit

Permalink
auth_db: Update docs on "password_column"
Browse files Browse the repository at this point in the history
(cherry picked from commit b57c53d)
  • Loading branch information
liviuchircu committed Sep 15, 2022
1 parent 570c0aa commit 1ddbcf3
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions modules/auth_db/doc/auth_db_admin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -261,12 +261,13 @@ modparam("auth_db", "domain_column", "domain")
<section id="param_password_column" xreflabel="password_column">
<title><varname>password_column</varname> (string)</title>
<para>
This is the name of the column in a 'SUBSCRIBER' like table holding
the passwords. Passwords can be
either stored as plain text or pre-calculated HA1 strings. HA1 strings
are MD5 hashes of username, password and realm. HA1 strings are more
safe because the server doesn't need to know plaintext passwords and
they cannot be obtained from HA1 strings.
This is the name of the column in a <emphasis>"subscriber"</emphasis>
like table holding MD5 HA1 hash strings or plaintext passwords. An MD5 HA1
hash is an MD5 hash of username, password and realm. Storing hashes in the
DB (as opposed to passwords directly) is much more secure, because the
server does not need to know plaintext passwords and because it is
computationally infeasible for an attacker to reverse-obtain a password
from an HA1 string.
</para>
<para>
Default value is <quote>ha1</quote>.
Expand Down

0 comments on commit 1ddbcf3

Please sign in to comment.