Re: GSSAPI Authentication for pgadmin4 macOS client

From: Sean McDaniel <sean(dot)m(dot)mcdaniel(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Neil <neil(at)fairwindsoft(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: GSSAPI Authentication for pgadmin4 macOS client
Date: 2020-10-27 19:37:00
Message-ID: CAML5wTWEtCVSeuScOzErmwVXFfPgGGE64pEx-usW5wEyNBWzNA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thanks Tom and Neil.

What you've said makes sense. The pgadmin4 pibpq doesn't support GSSAPI.

I followed your suggestions and symlinked libpq.5.dylib under
/Applications/pgAdmin 4.app/Contents/Frameworks to the homebrew library
/usr/lib/libpq.5.6.dylib, but unfortunately pgadmin4 now fails on launch
with the error "The pgadmin4 server could not be contacted." Do the other
libraries 'libcrypto.1.1.dylib' and 'libssl.1.1.dylib' need symlinked as
well? They don't appear to have exact library matches under /usr/lib.

Also, might a future macOS version of pgadmin4 support GSSAPI?

Thank you,

Sean

On Tue, Oct 27, 2020 at 1:39 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> Neil <neil(at)fairwindsoft(dot)com> writes:
> > On Oct 27, 2020, at 12:23 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> >> A quick look through our source code finds that error string only in
> >> libpq; it indicates that libpq was built without GSSAPI support.
>
> > On my Mac pgadmin4 seems to use its own libpq.
> > You can find it at: /Applications/pgAdmin\
> 4.app/Contents/Frameworks/libpq.5.dylib
>
> Ah, so Sean could try replacing that with a symlink to his libpq
> from homebrew.
>
> regards, tom lane
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2020-10-27 19:45:03 Re: GSSAPI Authentication for pgadmin4 macOS client
Previous Message Atul Kumar 2020-10-27 18:40:19 High CPU utilization