Skip to content

Commit 67b94f5

Browse files
committed
Fix cut/paste error that caused all errors from REQUIRE_AUTH_OPTION to say
it was the ldaptls parameter that was wrong...
1 parent f6c916e commit 67b94f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/libpq/hba.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
*
1212
* IDENTIFICATION
13-
* $PostgreSQL: pgsql/src/backend/libpq/hba.c,v 1.177 2009/01/01 17:23:42 momjian Exp $
13+
* $PostgreSQL: pgsql/src/backend/libpq/hba.c,v 1.178 2009/01/02 11:34:03 mha Exp $
1414
*
1515
*-------------------------------------------------------------------------
1616
*/
@@ -587,7 +587,7 @@ check_db(const char *dbname, const char *role, char *param_str)
587587

588588
#define REQUIRE_AUTH_OPTION(methodval, optname, validmethods) do {\
589589
if (parsedline->auth_method != methodval) \
590-
INVALID_AUTH_OPTION("ldaptls", "ldap"); \
590+
INVALID_AUTH_OPTION(optname, validmethods); \
591591
} while (0);
592592

593593
#define MANDATORY_AUTH_ARG(argvar, argname, authname) do {\

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy