[SOLVED] Re: pgAdmin 4 + python wheel + kerberos - Mailing list pgadmin-support

From Peter
Subject [SOLVED] Re: pgAdmin 4 + python wheel + kerberos
Date
Msg-id 20200115090657.GA60569@gate.oper.dinoex.org
Whole thread Raw
In response to Re: pgAdmin 4 + python wheel + kerberos  (Peter <pmc@citylink.dinoex.sub.org>)
Responses Re: [SOLVED] Re: pgAdmin 4 + python wheel + kerberos  (Stephen Frost <sfrost@snowman.net>)
List pgadmin-support
On Sun, Jan 12, 2020 at 05:58:56PM +0100, Peter wrote:
! Stephen Frost (sfrost@snowman.net) wrote:
! 
! ! That said, reminding myself that pgAdmin4 can be run under Apache, it
! ! should be possible to have an Apache system set up with mod_auth_kerb
! ! (to handle the incoming Kerberos authentication and the credential
! ! delegation) and have pgAdmin4 pick up on the user as having been
! ! authenticated via Kerberos thanks to environment variables provided by
! ! Apache and, further, be able to connect to a downstream PostgreSQL
! ! database using the delegated credentials thanks to mod_auth_kerb setting
! ! up the KRB5CCACHE environment variable.
! ! [...]

! So, since this quoted article is from quite a time back, may I kindly
! ask for an update on the status of this matter, how it may have
! proceeded in the meantime and what is currently considered best
! practices in such a case of pure Krb5 operations? 

No answer, well then, it seems nobody interested whatsoever in this
matter. :(

Anyway, I made it working, so it works now. Multiuser, multithreading,
freestanding process behind a rig.

Difficult part was to get it safe. As there can be many users using the
pgadmin4 simultaneously with different credentials and connecting as
different roles to different postgres servers at the same time, care
must be taken that they will only use their own creds for that.

rgds,
PMc



pgadmin-support by date:

Previous
From: Fahar Abbas
Date:
Subject: Re: Unable to create a server
Next
From: Stephen Frost
Date:
Subject: Re: [SOLVED] Re: pgAdmin 4 + python wheel + kerberos