Module: sip-router
Branch: master
Commit: 91d2ed7e550aee380a03333abff557cb427bf03d
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=91d2ed7e550aee380a03333abff557cb427bf03d

Author: Henning Westerholt <[email protected]>
Committer: Henning Westerholt <[email protected]>
Date:   Wed Aug 19 16:37:10 2009 +0200

auth_db(k): fix error in auth_db documentation for calc_ha1 (port from r5910)

---

 modules_k/auth_db/README                |    9 +++++----
 modules_k/auth_db/doc/auth_db_admin.xml |    8 ++++----
 2 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/modules_k/auth_db/README b/modules_k/auth_db/README
index 65772c6..79f79f3 100644
--- a/modules_k/auth_db/README
+++ b/modules_k/auth_db/README
@@ -168,10 +168,11 @@ modparam("auth_db", "password_column_2", "ha1_2")
 
 1.3.6. calculate_ha1 (integer)
 
-   This parameter tells the server whether it should use plaintext
-   passwords or a pre-calculated HA1 string for authentification.
+   This parameter tells the server whether it should use a
+   pre-calculated HA1 string or plaintext passwords for
+   authentification.
 
-   If the parameter is set to 1 and the username parameter of
+   If the parameter is set to 0 and the username parameter of
    credentials contains also "@domain" (some user agents append
    the domain to the username parameter), then the server will use
    the HA1 values from the column specified in the
@@ -179,7 +180,7 @@ modparam("auth_db", "password_column_2", "ha1_2")
    doesn't contain a domain, the server will use the HA1 values
    from the column given in the "password_column"parameter.
 
-   If the parameter is set to 0 then the HA1 value will be
+   If the parameter is set to 1 then the HA1 value will be
    calculated from the column specified in the "password_column"
    parameter.
 
diff --git a/modules_k/auth_db/doc/auth_db_admin.xml 
b/modules_k/auth_db/doc/auth_db_admin.xml
index 2609bce..71180ca 100644
--- a/modules_k/auth_db/doc/auth_db_admin.xml
+++ b/modules_k/auth_db/doc/auth_db_admin.xml
@@ -164,11 +164,11 @@ modparam("auth_db", "password_column_2", "ha1_2")
        <section>
                <title><varname>calculate_ha1</varname> (integer)</title>
                <para>
-               This parameter tells the server whether it should use plaintext 
-               passwords or a pre-calculated HA1 string for authentification.
+               This parameter tells the server whether it should use a 
pre-calculated
+               HA1 string or plaintext passwords for authentification.
                </para>
                <para>
-               If the parameter is set to 1 and the username parameter of 
credentials
+               If the parameter is set to 0 and the username parameter of 
credentials
                contains also <quote>@domain</quote> (some user agents append 
the
                domain to the username parameter), then the server will use the 
HA1
                values from the column specified in the 
@@ -177,7 +177,7 @@ modparam("auth_db", "password_column_2", "ha1_2")
                column given in the <quote>password_column</quote>parameter.
                </para>
                <para>
-               If the parameter is set to 0 then the HA1 value will be 
calculated
+               If the parameter is set to 1 then the HA1 value will be 
calculated
                from the column specified in the <quote>password_column</quote>
                parameter.
                </para>


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to