From: | Anbazhagan M <gopi(dot)anbumech(at)gmail(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-bugs(at)lists(dot)postgresql(dot)org |
Subject: | Re: BUG #17740: Connecting postgresql 13 with different psql versions |
Date: | 2023-01-09 16:44:18 |
Message-ID: | CA+SbrTcqfnCxX6JT+pzAUOeneD=VetPC1qQot_wyc_NQabp-Zg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
Dear Tom lane,
Is the way in which psql v11 behaved is the expected behaviour?
Any workaround is there for this to make it work as it was when pg 13 was
connected with psql v11?
Can i make the ssl to be on and modify the host to hostssl in scram line of
pg_hba?
On Mon, 9 Jan, 2023, 8:49 pm Tom Lane, <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> PG Bug reporting form <noreply(at)postgresql(dot)org> writes:
> > With following entries in pg_hba.conf, psql v13 is prompting for password
> > for Kerberos connections, whereas psql v11 succeeds connecting without
> any
> > issue.
>
> > local all pgbkp peer map=pgbackrest
> > hostssl all +citi_pg_app_read 0.0.0.0/0 gss map=krb
> > host all all 0.0.0.0/0 scram-sha-256
>
> > [kdc_test_fid(at)icl-actpsql-vm1 /psql13]$ psql -U app_kdc_test_fid -h
> x.x.x -d
> > postgres -p 1524
> > Password for user app_kdc_test_fid:
>
> I suspect the v13 libpq is trying GSSAPI encryption before SSL encryption,
> so it falls through the hostssl line and ends up at the catchall.
>
> regards, tom lane
>
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2023-01-09 16:50:04 | Re: BUG #17740: Connecting postgresql 13 with different psql versions |
Previous Message | Alex Richman | 2023-01-09 16:00:15 | Re: Logical Replica ReorderBuffer Size Accounting Issues |