Re: ident auth does not works as usual

2023-08-28 Thread David G. Johnston
On Mon, Aug 28, 2023 at 7:34 AM pan snowave wrote: > But when i connect to psserver by using os user root > /usr/local/pgsql/bin/psql -p5432 -d db1 -h127.0.0.1 > If you want to login as the cce role add " -U cce " to your command line (or one of the various other ways you can specify a db

Re: ident auth does not works as usual

2023-08-27 Thread David G. Johnston
On Sunday, August 27, 2023, pan snowave wrote: > Hi > > "Show your psql command that is failing." > > [root@~ pg]# /usr/local/pgsql/bin/psql -p5432 -d db1 -h127.0.0.1 > psql: error: connection to server at "127.0.0.1", port 5432 failed: FATAL: > Ident authentication failed for user "root"

Re: ident auth does not works as usual

2023-08-26 Thread David G. Johnston
On Saturday, August 26, 2023, pan snowave wrote: > Well , describe as follows: > > pg_pba.conf > hostall root 127.0.0.1/32 ident > map=test > hostall all 127.0.0.1/32trust > > > pg_indent.conf > > test rootcce >

Re: ident auth does not works as usual

2023-08-26 Thread Alban Hertroys
> On 26 Aug 2023, at 11:31, pan snowave wrote: (…) > pg_indent.conf > > test rootcce If that is indeed the name of the file, that would explain your problem. No doubt that it should be named pg_ident.conf instead, without the ’n'. Alban Hertroys -- If you can't see the forest for the