From 67b94f5fb4831f959575941d3ad85658ba0ccb86 Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Fri, 2 Jan 2009 11:34:03 +0000 Subject: [PATCH] Fix cut/paste error that caused all errors from REQUIRE_AUTH_OPTION to say it was the ldaptls parameter that was wrong... --- src/backend/libpq/hba.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 {\ -- 2.40.0