From: pan snowave <windxp@LIVE.CN>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: ident auth does not works as usual
Date: Sat, 26 Aug 2023 09:31:42 +0000
Message-ID: <OS3P286MB1933B415C59DC5C600DC0983D3E2A@OS3P286MB1933.JPNP286.PROD.OUTLOOK.COM> (raw)
Well , describe as follows:
pg_pba.conf
host all root 127.0.0.1/32 ident map=test
host all all 127.0.0.1/32 trust
pg_indent.conf
test root cce
and login pg via root user , it doesnt work
error info is
2023-08-26 16:56:29.484 CST [18349] LOG: no match in usermap "test" for user "root" authenticated as "root"
2023-08-26 16:56:29.484 CST [18349] FATAL: Ident authentication failed for user "root"
2023-08-26 16:56:29.484 CST [18349] DETAIL: Connection matched pg_hba.conf line 91: "host all root 127.0.0.1/32 ident map=test"
i checked config file many times, and could not find any reason of this error.
pls help me.
thanks.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: windxp@LIVE.CN
Subject: Re: ident auth does not works as usual
In-Reply-To: <OS3P286MB1933B415C59DC5C600DC0983D3E2A@OS3P286MB1933.JPNP286.PROD.OUTLOOK.COM>
References: <OS3P286MB1933B415C59DC5C600DC0983D3E2A@OS3P286MB1933.JPNP286.PROD.OUTLOOK.COM>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox