From: Magnus Hagander Date: Fri, 2 Jan 2009 11:34:03 +0000 (+0000) Subject: Fix cut/paste error that caused all errors from REQUIRE_AUTH_OPTION to say X-Git-Tag: REL8_4_BETA1~492 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=67b94f5fb4831f959575941d3ad85658ba0ccb86;p=postgresql Fix cut/paste error that caused all errors from REQUIRE_AUTH_OPTION to say it was the ldaptls parameter that was wrong... --- diff --git a/src/backend/libpq/hba.c b/src/backend/libpq/hba.c index 5e04f524da..45edaa9bb8 100644 --- a/src/backend/libpq/hba.c +++ b/src/backend/libpq/hba.c @@ -10,7 +10,7 @@ * * * 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) #define REQUIRE_AUTH_OPTION(methodval, optname, validmethods) do {\ if (parsedline->auth_method != methodval) \ - INVALID_AUTH_OPTION("ldaptls", "ldap"); \ + INVALID_AUTH_OPTION(optname, validmethods); \ } while (0); #define MANDATORY_AUTH_ARG(argvar, argname, authname) do {\