pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Allan Jensen <pglist@winge-jensen.dk>
To: pgsql-general@lists.postgresql.org
Subject: GSSAPI: logging principal
Date: Wed, 9 Oct 2019 10:49:34 +0200
Message-ID: <20191009104934.5b0d31ec@fujitsu.winge-jensen.dk> (raw)

Hi,

I have GSSAPI-login and user mapping to postgres working fine.

Whenever i login to postgres I get a line like the following in the
logfile:

connection authorized: user=testrole database=testdb SSL enabled
(protocol=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384, bits=256,
compression=off)

What bothers me, is that i can't see what kerberos prinicpal was used
during authentication.

I have fiddled around with log-settings to no avail.

Is there any way to make postgres log the principal?

--
Regards,
Allan





view thread (2+ messages)  latest in thread

Message-ID: <20191009104934.5b0d31ec@fujitsu.winge-jensen.dk>
Permalink:  ../20191009104934.5b0d31ec@fujitsu.winge-jensen.dk/
Also on:    postgresql.org/message-id/20191009104934.5b0d31ec@fujitsu.winge-jensen.dk

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: pglist@winge-jensen.dk
  Subject: Re: GSSAPI: logging principal
  In-Reply-To: <20191009104934.5b0d31ec@fujitsu.winge-jensen.dk>
  References: <20191009104934.5b0d31ec@fujitsu.winge-jensen.dk>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox