Re: ident auth does not works as usual - Mailing list pgsql-general

From David G. Johnston
Subject Re: ident auth does not works as usual
Date
Msg-id CAKFQuwbvegQoSe_6jw6gtWP4T5BVE0iF2z7HRKXwzPp2AVKvrA@mail.gmail.com
Whole thread Raw
In response to ident auth does not works as usual  (pan snowave <windxp@LIVE.CN>)
Responses 回复: ident auth does not works as usual  (pan snowave <windxp@live.cn>)
List pgsql-general
On Saturday, August 26, 2023, pan snowave <windxp@live.cn> wrote:
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

You are saying root os user can login as pg role cce but that line of the pg_hba.conf doesn’t permit cce to login.  In short, the mapping is useless.

David J.

pgsql-general by date:

Previous
From: Alban Hertroys
Date:
Subject: Re: ident auth does not works as usual
Next
From: pan snowave
Date:
Subject: 回复: ident auth does not works as usual