[SOLVED] Re: pgAdmin 4 + python wheel + kerberos

From: Peter <pmc(at)citylink(dot)dinoex(dot)sub(dot)org>
To: pgadmin-support(at)lists(dot)postgresql(dot)org
Cc: sfrost(at)snowman(dot)net, Blake(dot)Duffey(at)noblis(dot)org, khushboo(dot)vashi(at)enterprisedb(dot)com
Subject: [SOLVED] Re: pgAdmin 4 + python wheel + kerberos
Date: 2020-01-15 09:06:57
Message-ID: 20200115090657.GA60569@gate.oper.dinoex.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

On Sun, Jan 12, 2020 at 05:58:56PM +0100, Peter wrote:
! Stephen Frost (sfrost(at)snowman(dot)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

In response to

Responses

Browse pgadmin-support by date

  From Date Subject
Next Message Stephen Frost 2020-01-15 15:02:26 Re: [SOLVED] Re: pgAdmin 4 + python wheel + kerberos
Previous Message Fahar Abbas 2020-01-14 12:22:42 Re: Unable to create a server