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)
 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
    credentials contains also "@domain" (some user agents append
    the domain to the username parameter), then the server will use
    the domain to the username parameter), then the server will use
    the HA1 values from the column specified in the
    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
    doesn't contain a domain, the server will use the HA1 values
    from the column given in the "password_column"parameter.
    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"
    calculated from the column specified in the "password_column"
    parameter.
    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>
 	<section>
 		<title><varname>calculate_ha1</varname> (integer)</title>
 		<title><varname>calculate_ha1</varname> (integer)</title>
 		<para>
 		<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>
 		<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
 		contains also <quote>@domain</quote> (some user agents append the
 		domain to the username parameter), then the server will use the HA1
 		domain to the username parameter), then the server will use the HA1
 		values from the column specified in the 
 		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.
 		column given in the <quote>password_column</quote>parameter.
 		</para>
 		</para>
 		<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>
 		from the column specified in the <quote>password_column</quote>
 		parameter.
 		parameter.
 		</para>
 		</para>