Re: ident auth does not works as usual

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: pan snowave <windxp(at)live(dot)cn>
Cc: "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: ident auth does not works as usual
Date: 2023-08-26 14:43:39
Message-ID: CAKFQuwbvegQoSe_6jw6gtWP4T5BVE0iF2z7HRKXwzPp2AVKvrA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Saturday, August 26, 2023, pan snowave <windxp(at)live(dot)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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message pan snowave 2023-08-27 01:54:25 回复: ident auth does not works as usual
Previous Message Alban Hertroys 2023-08-26 10:38:30 Re: ident auth does not works as usual