Browse Source

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

Henning Westerholt 16 years ago
parent
commit
91d2ed7e55
2 changed files with 9 additions and 8 deletions
  1. 5 4
      modules_k/auth_db/README
  2. 4 4
      modules_k/auth_db/doc/auth_db_admin.xml

+ 5 - 4
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.
 

+ 4 - 4
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>