Commit 67b94f5f authored by Magnus Hagander's avatar Magnus Hagander

Fix cut/paste error that caused all errors from REQUIRE_AUTH_OPTION to say

it was the ldaptls parameter that was wrong...
parent f6c916ee
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/libpq/hba.c,v 1.177 2009/01/01 17:23:42 momjian Exp $ * $PostgreSQL: pgsql/src/backend/libpq/hba.c,v 1.178 2009/01/02 11:34:03 mha Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -587,7 +587,7 @@ check_db(const char *dbname, const char *role, char *param_str) ...@@ -587,7 +587,7 @@ check_db(const char *dbname, const char *role, char *param_str)
#define REQUIRE_AUTH_OPTION(methodval, optname, validmethods) do {\ #define REQUIRE_AUTH_OPTION(methodval, optname, validmethods) do {\
if (parsedline->auth_method != methodval) \ if (parsedline->auth_method != methodval) \
INVALID_AUTH_OPTION("ldaptls", "ldap"); \ INVALID_AUTH_OPTION(optname, validmethods); \
} while (0); } while (0);
#define MANDATORY_AUTH_ARG(argvar, argname, authname) do {\ #define MANDATORY_AUTH_ARG(argvar, argname, authname) do {\
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment